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

/PHP_5_4/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_5_4/ext/pdo_pgsql/
H A Dpgsql_statement.c496 size_t tmp_len; local
539 char *tmp_ptr = (char *)PQunescapeBytea((unsigned char *)*ptr, &tmp_len);
545 if (!tmp_len) {
551 *ptr = estrndup(tmp_ptr, tmp_len);
553 *len = tmp_len;
H A Dpgsql_driver.c312 size_t tmp_len; local
318 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len);
320 escaped = PQescapeBytea((unsigned char *)unquoted, (size_t)unquotedlen, &tmp_len);
322 *quotedlen = (int)tmp_len + 1;
/PHP_5_4/ext/phar/
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) {
990 /* tmp_len = 0 says alias length is 0, which means the alias is not stored in the phar */
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;
[all...]
H A Dphar_internal.h620 int tmp_len; local
622 tmp_len = entry->filename_len + entry->phar->fname_len;
625 entry->inode = (unsigned short)zend_get_hash_value(tmp, tmp_len);
/PHP_5_4/ext/reflection/
H A Dphp_reflection.c2672 int name_len, tmp_len; local
2684 tmp_len = tmp - name_str;
2685 ZVAL_STRINGL(classname, name_str, tmp_len, 1);
2686 name_len = name_len - (tmp_len + 2);
/PHP_5_4/ext/standard/
H A Dftp_fopen_wrapper.c138 int result, use_ssl, use_ssl_on_data = 0, tmp_len; local
247 tmp_len = php_raw_url_decode(resource->user, strlen(resource->user));
249 PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s")
264 tmp_len = php_raw_url_decode(resource->pass, strlen(resource->pass));
266 PHP_FTP_CNTRL_CHK(resource->pass, tmp_len, "Invalid password %s")
611 size_t tmp_len; local
625 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) {
629 php_basename(ent->d_name, tmp_len, NULL, 0, &basename, &basename_len TSRMLS_CC);
639 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1);
640 memcpy(ent->d_name, basename, tmp_len);
[all...]
H A Dvar.c359 int key_len, tmp_len; local
361 tmp_str = php_str_to_str_ex(key, key_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len, 0, NULL);
366 smart_str_appendl(buf, tmp_str, tmp_len);
420 int tmp_len, tmp_len2; local
439 tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc));
440 smart_str_appendl(buf, tmp_str, tmp_len);
444 tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC);
445 tmp_str2 = php_str_to_str_ex(tmp_str, tmp_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len2, 0, NULL);
H A Dstring.c2312 zval **tmp_str = NULL, **tmp_from = NULL, **tmp_repl = NULL, **tmp_len= NULL; local
2498 if (SUCCESS == zend_hash_get_current_data_ex(Z_ARRVAL_PP(len), (void **) &tmp_len, &pos_len)) {
2499 if(Z_TYPE_PP(tmp_len) != IS_LONG) {
2500 zval dummy = **tmp_len;
2505 l = Z_LVAL_PP(tmp_len);
/PHP_5_4/ext/mysqlnd/
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) {
123 ZVAL_UTF8_STRINGL(zv, tmp, tmp_len, ZSTR_DUPLICATE);
128 ZVAL_STRINGL(zv, tmp, tmp_len, 1);
H A Dmysqlnd_wireprotocol.c937 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; local
939 tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer;
950 sent = net->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC);
/PHP_5_4/ext/pgsql/
H A Dpgsql.c772 size_t tmp_len; local
811 tmp_len = strspn(str, "\\");
812 if (tmp_len != len) {

Completed in 59 milliseconds