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

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c62 size_t tmp_len = 0; local
83 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval);
91 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval);
112 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval);
120 if (tmp_len) {
121 ZVAL_STRINGL(zv, tmp, tmp_len);
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);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c218 unsigned int tmp_len; local
263 tmp_len = 32 + (2 * (*len)); /* FIXME: We allocate more than we need here */
264 tmp_ptr = emalloc(tmp_len);
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c335 size_t tmp_len; local
340 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, unquotedlen, &tmp_len);
341 *quotedlen = tmp_len + 1;
H A Dpgsql_statement.c501 size_t tmp_len; local
544 char *tmp_ptr = (char *)PQunescapeBytea((unsigned char *)*ptr, &tmp_len);
550 if (!tmp_len) {
556 *ptr = estrndup(tmp_ptr, tmp_len);
558 *len = tmp_len;
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c807 size_t tmp_len; local
845 tmp_len = strspn(str, "\\");
846 if (tmp_len != len) {
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c3032 size_t name_len, tmp_len; local
3046 tmp_len = tmp - name_str;
3047 ZVAL_STRINGL(classname, name_str, tmp_len);
3048 name_len = name_len - (tmp_len + 2);
/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 = (int)php_raw_url_decode(resource->user, (int)strlen(resource->user));
250 PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s")
265 tmp_len = (int)php_raw_url_decode(resource->pass, (int)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);
632 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1);
633 memcpy(ent->d_name, ZSTR_VAL(basename), tmp_len);
[all...]
H A Dstring.c2435 zval *tmp_str = NULL, *tmp_from = NULL, *tmp_repl = NULL, *tmp_len= NULL; local
2590 tmp_len = &Z_ARRVAL_P(len)->arData[len_idx].val;
2591 if (Z_TYPE_P(tmp_len) != IS_UNDEF) {
2597 l = zval_get_long(tmp_len);
/PHP_TRUNK/ext/phar/
H A Dphar.c657 php_uint32 manifest_len, manifest_count, manifest_flags, manifest_index, tmp_len, sig_flags; local
971 PHAR_GET_32(buffer, tmp_len);
973 if (buffer + tmp_len > endbuffer) {
977 if (manifest_len < 10 + tmp_len) {
981 /* tmp_len = 0 says alias length is 0, which means the alias is not stored in the phar */
982 if (tmp_len) {
984 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len)))
986 buffer[tmp_len] = '\0';
1001 alias_len = tmp_len;
[all...]
H A Dphar_internal.h531 int tmp_len; local
534 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
535 len = MIN(entry->phar->fname_len, tmp_len);
537 len = MIN(tmp_len - len, entry->filename_len);
539 entry->inode = (unsigned short)zend_hash_func(tmp, tmp_len);
H A Dphar_object.c3393 int tmp_len = 0; local
3435 tmp_len = (int)newfile_len;
3436 if (phar_path_check(&newfile, &tmp_len, &pcr_error) > pcr_is_ok) {
3441 newfile_len = tmp_len;

Completed in 58 milliseconds