Home
last modified time | relevance | path

Searched refs:tmp_len (Results 1 – 11 of 11) sorted by relevance

/PHP-5.3/ext/standard/
H A Dftp_fopen_wrapper.c138 int result, use_ssl, use_ssl_on_data = 0, tmp_len; in php_ftp_fopen_connect() local
249 PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s") in php_ftp_fopen_connect()
612 size_t tmp_len; in php_ftp_dirstream_read() local
640 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); in php_ftp_dirstream_read()
641 memcpy(ent->d_name, basename, tmp_len); in php_ftp_dirstream_read()
642 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read()
646 tmp_len--; in php_ftp_dirstream_read()
647 while (tmp_len >= 0 && in php_ftp_dirstream_read()
648 (ent->d_name[tmp_len] == '\n' || ent->d_name[tmp_len] == '\r' || in php_ftp_dirstream_read()
649 ent->d_name[tmp_len] == '\t' || ent->d_name[tmp_len] == ' ')) { in php_ftp_dirstream_read()
[all …]
H A Dvar.c362 int key_len, tmp_len; in php_array_element_export() local
364 tmp_str = php_str_to_str_ex(key, key_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len, 0, NULL); in php_array_element_export()
369 smart_str_appendl(buf, tmp_str, tmp_len); in php_array_element_export()
425 int tmp_len, tmp_len2; in php_var_export_ex() local
444 tmp_len = spprintf(&tmp_str, 0,"%.*H", (int) EG(precision), Z_DVAL_PP(struc)); in php_var_export_ex()
445 smart_str_appendl(buf, tmp_str, tmp_len); in php_var_export_ex()
449 …tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC); in php_var_export_ex()
450 …tmp_str2 = php_str_to_str_ex(tmp_str, tmp_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len2, 0, NULL); in php_var_export_ex()
H A Dstring.c2226 zval **tmp_str = NULL, **tmp_from = NULL, **tmp_repl = NULL, **tmp_len= NULL; local
2406 if (SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(len), (void **) &tmp_len, &pos_len)) {
2407 if(Z_TYPE_PP(tmp_len) != IS_LONG) {
2408 zval dummy = **tmp_len;
2413 l = Z_LVAL_PP(tmp_len);
/PHP-5.3/ext/pdo_pgsql/
H A Dpgsql_statement.c496 size_t tmp_len; in pgsql_stmt_get_col() local
539 char *tmp_ptr = PQunescapeBytea(*ptr, &tmp_len); in pgsql_stmt_get_col()
545 if (!tmp_len) { in pgsql_stmt_get_col()
551 *ptr = estrndup(tmp_ptr, tmp_len); in pgsql_stmt_get_col()
553 *len = tmp_len; in pgsql_stmt_get_col()
H A Dpgsql_driver.c312 size_t tmp_len; in pgsql_handle_quoter() local
318 escaped = PQescapeByteaConn(H->server, unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter()
320 escaped = PQescapeBytea(unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter()
322 *quotedlen = (int)tmp_len + 1; in pgsql_handle_quoter()
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c61 size_t tmp_len = 0; in ps_fetch_from_1_to_8_bytes() local
82 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes()
90 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes()
111 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval); in ps_fetch_from_1_to_8_bytes()
119 if (tmp_len) { in ps_fetch_from_1_to_8_bytes()
123 ZVAL_UTF8_STRINGL(zv, tmp, tmp_len, ZSTR_DUPLICATE); in ps_fetch_from_1_to_8_bytes()
128 ZVAL_STRINGL(zv, tmp, tmp_len, 1); in ps_fetch_from_1_to_8_bytes()
H A Dmysqlnd_wireprotocol.c718 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE, ret; in php_mysqlnd_cmd_write() local
720 tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer; in php_mysqlnd_cmd_write()
731 ret = conn->net->m.send(conn, (char *)tmp, tmp_len - MYSQLND_HEADER_SIZE TSRMLS_CC); in php_mysqlnd_cmd_write()
/PHP-5.3/ext/phar/
H A Dphar_internal.h620 int tmp_len; in phar_set_inode() local
622 tmp_len = entry->filename_len + entry->phar->fname_len; in phar_set_inode()
625 entry->inode = (unsigned short)zend_get_hash_value(tmp, tmp_len); in phar_set_inode()
H A Dphar.c667 php_uint32 manifest_len, manifest_count, manifest_flags, manifest_index, tmp_len, sig_flags; local
980 PHAR_GET_32(buffer, tmp_len);
982 if (buffer + tmp_len > endbuffer) {
986 if (manifest_len < 10 + tmp_len) {
991 if (tmp_len) {
993 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len)))
995 buffer[tmp_len] = '\0';
1010 alias_len = tmp_len;
1012 buffer += tmp_len;
1025 if (manifest_count > ((manifest_len - 10 - tmp_len) / (5 * 4 + 1))) {
/PHP-5.3/ext/pdo_mysql/
H A Dmysql_driver.c467 unsigned int tmp_len; local
469 if (mysqlnd_stat(H->server, &tmp, &tmp_len) == PASS) {
470 ZVAL_STRINGL(return_value, tmp, tmp_len, 0);
/PHP-5.3/ext/reflection/
H A Dphp_reflection.c2445 int name_len, tmp_len; in ZEND_METHOD() local
2457 tmp_len = tmp - name_str; in ZEND_METHOD()
2458 ZVAL_STRINGL(classname, name_str, tmp_len, 1); in ZEND_METHOD()
2459 name_len = name_len - (tmp_len + 2); in ZEND_METHOD()

Completed in 77 milliseconds