Home
last modified time | relevance | path

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

/PHP-5.5/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()
611 size_t tmp_len; in php_ftp_dirstream_read() local
639 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); in php_ftp_dirstream_read()
640 memcpy(ent->d_name, basename, tmp_len); in php_ftp_dirstream_read()
641 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read()
645 tmp_len--; in php_ftp_dirstream_read()
646 while (tmp_len >= 0 && in php_ftp_dirstream_read()
647 (ent->d_name[tmp_len] == '\n' || ent->d_name[tmp_len] == '\r' || in php_ftp_dirstream_read()
648 ent->d_name[tmp_len] == '\t' || ent->d_name[tmp_len] == ' ')) { in php_ftp_dirstream_read()
[all …]
H A Dvar.c359 int key_len, tmp_len; in php_array_element_export() local
361 tmp_str = php_str_to_str_ex(key, key_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len, 0, NULL); in php_array_element_export()
366 smart_str_appendl(buf, tmp_str, tmp_len); in php_array_element_export()
420 int tmp_len, tmp_len2; in php_var_export_ex() local
439 tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc)); in php_var_export_ex()
440 smart_str_appendl(buf, tmp_str, tmp_len); in php_var_export_ex()
444 …tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC); in php_var_export_ex()
445 …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.c2326 zval **tmp_str = NULL, **tmp_from = NULL, **tmp_repl = NULL, **tmp_len= NULL; local
2512 if (SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(len), (void **) &tmp_len, &pos_len)) {
2513 if(Z_TYPE_PP(tmp_len) != IS_LONG) {
2514 zval dummy = **tmp_len;
2519 l = Z_LVAL_PP(tmp_len);
/PHP-5.5/ext/pdo_dblib/
H A Ddblib_stmt.c223 unsigned int tmp_len; in pdo_dblib_stmt_get_col() local
269 tmp_len = 32 + (2 * (*len)); /* FIXME: We allocate more than we need here */ in pdo_dblib_stmt_get_col()
270 tmp_ptr = emalloc(tmp_len); in pdo_dblib_stmt_get_col()
/PHP-5.5/ext/phar/
H A Dphar_internal.h563 int tmp_len; in phar_set_inode() local
566 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
568 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
571 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
574 entry->inode = (unsigned short)zend_get_hash_value(tmp, tmp_len); in phar_set_inode()
H A Dphar.c655 php_uint32 manifest_len, manifest_count, manifest_flags, manifest_index, tmp_len, sig_flags; local
969 PHAR_GET_32(buffer, tmp_len);
971 if (buffer + tmp_len > endbuffer) {
975 if (manifest_len < 10 + tmp_len) {
980 if (tmp_len) {
982 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len)))
984 buffer[tmp_len] = '\0';
999 alias_len = tmp_len;
1001 buffer += tmp_len;
1014 if (manifest_count > ((manifest_len - 10 - tmp_len) / (5 * 4 + 1))) {
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c497 size_t tmp_len; in pgsql_stmt_get_col() local
540 char *tmp_ptr = (char *)PQunescapeBytea((unsigned char *)*ptr, &tmp_len); in pgsql_stmt_get_col()
546 if (!tmp_len) { in pgsql_stmt_get_col()
552 *ptr = estrndup(tmp_ptr, tmp_len); in pgsql_stmt_get_col()
554 *len = tmp_len; in pgsql_stmt_get_col()
H A Dpgsql_driver.c324 size_t tmp_len; in pgsql_handle_quoter() local
330 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len); in pgsql_handle_quoter()
332 escaped = PQescapeBytea((unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len); in pgsql_handle_quoter()
334 *quotedlen = (int)tmp_len + 1; in pgsql_handle_quoter()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c62 size_t tmp_len = 0; in ps_fetch_from_1_to_8_bytes() local
83 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes()
91 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes()
112 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval); in ps_fetch_from_1_to_8_bytes()
120 if (tmp_len) { in ps_fetch_from_1_to_8_bytes()
121 ZVAL_STRINGL(zv, tmp, tmp_len, 1); in ps_fetch_from_1_to_8_bytes()
H A Dmysqlnd_wireprotocol.c1001 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; in php_mysqlnd_cmd_write() local
1003 tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer; in php_mysqlnd_cmd_write()
1014 …sent = net->data->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info… in php_mysqlnd_cmd_write()
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_driver.c439 unsigned int tmp_len; local
441 if (mysqlnd_stat(H->server, &tmp, &tmp_len) == PASS) {
442 ZVAL_STRINGL(return_value, tmp, tmp_len, 0);
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c2675 int name_len, tmp_len; in ZEND_METHOD() local
2687 tmp_len = tmp - name_str; in ZEND_METHOD()
2688 ZVAL_STRINGL(classname, name_str, tmp_len, 1); in ZEND_METHOD()
2689 name_len = name_len - (tmp_len + 2); in ZEND_METHOD()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c772 size_t tmp_len;
811 tmp_len = strspn(str, "\\");
812 if (tmp_len != len) {

Completed in 141 milliseconds