Searched refs:tmp_len (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c1039 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; local
1041 tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer;
1052 sent = net->data->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC);
H A Dmysqlnd_ps_codec.c61 size_t tmp_len = 0; local
82 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval);
90 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval);
111 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval);
119 if (tmp_len) {
120 ZVAL_STRINGL(zv, tmp, tmp_len);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c223 unsigned int tmp_len; local
269 tmp_len = 32 + (2 * (*len)); /* FIXME: We allocate more than we need here */
270 tmp_ptr = emalloc(tmp_len);
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c505 size_t tmp_len; local
548 char *tmp_ptr = (char *)PQunescapeBytea((unsigned char *)*ptr, &tmp_len);
554 if (!tmp_len) {
560 *ptr = estrndup(tmp_ptr, tmp_len);
562 *len = tmp_len;
H A Dpgsql_driver.c323 size_t tmp_len; local
328 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len);
329 *quotedlen = (int)tmp_len + 1;
/PHP_TRUNK/ext/phar/
H A Dphar.c670 php_uint32 manifest_len, manifest_count, manifest_flags, manifest_index, tmp_len, sig_flags; local
983 PHAR_GET_32(buffer, tmp_len);
985 if (buffer + tmp_len > endbuffer) {
989 if (manifest_len < 10 + tmp_len) {
993 /* tmp_len = 0 says alias length is 0, which means the alias is not stored in the phar */
994 if (tmp_len) {
996 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len)))
998 buffer[tmp_len] = '\0';
1013 alias_len = tmp_len;
[all...]
H A Dphar_internal.h528 int tmp_len; local
530 tmp_len = entry->filename_len + entry->phar->fname_len;
533 entry->inode = (unsigned short)zend_hash_func(tmp, tmp_len);
H A Dphar_object.c3382 int tmp_len = 0; local
3424 tmp_len = (int)newfile_len;
3425 if (phar_path_check(&newfile, &tmp_len, &pcr_error) > pcr_is_ok) {
3430 newfile_len = tmp_len;
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c139 int result, use_ssl, use_ssl_on_data = 0, tmp_len; local
248 tmp_len = php_raw_url_decode(resource->user, strlen(resource->user));
250 PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s")
265 tmp_len = php_raw_url_decode(resource->pass, strlen(resource->pass));
267 PHP_FTP_CNTRL_CHK(resource->pass, tmp_len, "Invalid password %s")
613 size_t tmp_len; local
626 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) {
630 basename = php_basename(ent->d_name, tmp_len, NULL, 0 TSRMLS_CC);
632 tmp_len = MIN(sizeof(ent->d_name), basename->len - 1);
633 memcpy(ent->d_name, basename->val, tmp_len);
[all...]
H A Dstring.c2310 zval *tmp_str = NULL, *tmp_from = NULL, *tmp_repl = NULL, *tmp_len= NULL; local
2480 if (NULL != (tmp_len = zend_hash_get_current_data_ex(Z_ARRVAL_P(len), &pos_len))) {
2481 l = zval_get_long(tmp_len);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2669 size_t name_len, tmp_len; local
2681 tmp_len = tmp - name_str;
2682 ZVAL_STRINGL(classname, name_str, tmp_len);
2683 name_len = name_len - (tmp_len + 2);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c803 size_t tmp_len; local
842 tmp_len = strspn(str, "\\");
843 if (tmp_len != len) {

Completed in 57 milliseconds