Home
last modified time | relevance | path

Searched refs:len (Results 401 – 425 of 496) sorted by relevance

1...<<11121314151617181920

/PHP-5.5/Zend/
H A Dbench.php342 $len = strlen($str);
343 print "$len\n";
H A Dzend_variables.c123 zvalue->value.str.val = (char *) estrndup_rel(zvalue->value.str.val, zvalue->value.str.len); in _zval_copy_ctor_func()
H A Dzend_ini_scanner.c136 #define zend_ini_copy_value(retval, str, len) { \ argument
137 Z_STRVAL_P(retval) = zend_strndup(str, len); \
138 Z_STRLEN_P(retval) = len; \
142 #define RETURN_TOKEN(type, str, len) { \ argument
143 zend_ini_copy_value(ini_lval, str, len); \
163 static void yy_scan_buffer(char *str, unsigned int len TSRMLS_DC) in yy_scan_buffer()
167 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
252 int len = strlen(str); in zend_ini_prepare_string_for_scanning() local
258 yy_scan_buffer(str, len TSRMLS_CC); in zend_ini_prepare_string_for_scanning()
266 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) in zend_ini_escape_string() argument
[all …]
H A Dzend_language_parser.y1234 unsigned int len = 0, toklen = 0, yystr_len; variable
1258 len = LANG_SCNG(yy_leng) > 30 ? 30 : LANG_SCNG(yy_leng);
1260 len = (end - str) > 30 ? 30 : (end - str);
1263 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1);
1265 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str);
1268 return len + (toklen ? toklen + 1 : 0) + 2;
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxml_to_xmlrpc.c123 XMLRPC_SetValueString(current_val, el->text.str, el->text.len); in xml_element_to_XMLRPC_REQUEST_worker()
142 base64_decode_xmlrpc(&buf, el->text.str, el->text.len); in xml_element_to_XMLRPC_REQUEST_worker()
H A Dxml_to_soap.c346 XMLRPC_SetValueString(xCurrent, el->text.str, el->text.len); in xml_element_to_SOAP_REQUEST_worker()
366 base64_decode_xmlrpc(&buf, el->text.str, el->text.len); in xml_element_to_SOAP_REQUEST_worker()
/PHP-5.5/ext/hash/
H A Dhash_whirlpool.c275 …SH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *context, const unsigned char *input, size_t len) in PHP_WHIRLPOOLUpdate() argument
277 php_hash_uint64 sourceBits = len * 8; in PHP_WHIRLPOOLUpdate()
H A Dhash_ripemd.c190 static void RIPEMDDecode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) in RIPEMDDecode() argument
194 for (i = 0, j = 0; j < len; i++, j += 4) in RIPEMDDecode()
607 static void RIPEMDEncode(unsigned char *output, php_hash_uint32 *input, unsigned int len) in RIPEMDEncode() argument
611 for (i = 0, j = 0; j < len; i++, j += 4) { in RIPEMDEncode()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c66 int len; in _pdo_pgsql_escape_credentials() local
69 return php_addcslashes(str, strlen(str), &len, 0, "\\'", sizeof("\\'") TSRMLS_CC); in _pdo_pgsql_escape_credentials()
357 static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, unsigned int *len TSRMLS_DC) in pdo_pgsql_last_insert_id()
366 *len = spprintf(&id, 0, "%ld", (long) H->pgoid); in pdo_pgsql_last_insert_id()
377 *len = PQgetlength(res, 0, 0); in pdo_pgsql_last_insert_id()
/PHP-5.5/ext/curl/
H A Dinterface.c172 if (strlen(str) != len) { in php_curl_option_str()
183 copystr = estrndup(str, len); in php_curl_option_str()
206 if (!(uri = php_url_parse_ex(url, len))) { in php_curl_option_url()
220 return php_curl_option_str(ch, CURLOPT_URL, url, len, 0 TSRMLS_CC); in php_curl_option_url()
1888 int len; in create_certinfo() local
1895 len = strlen(s); in create_certinfo()
1902 split_certinfo(&slist->data[len+1], hash); in create_certinfo()
1905 add_assoc_string(certhash, s, &slist->data[len+1], 1); in create_certinfo()
2951 if (ch->handlers->write->buf.len > 0) { in _php_curl_cleanup_handle()
2986 if (ch->handlers->write->buf.len > 0) { in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/phar/
H A Dphar_object.c2881 long len = -1; in PHP_METHOD() local
2904 if (len > 0) { in PHP_METHOD()
2905 len = -len; in PHP_METHOD()
2907 len = -1; in PHP_METHOD()
3902 size_t len; in PHP_METHOD() local
3971 if (len != php_stream_read(fp, buf, len)) { in PHP_METHOD()
3990 buf[len] = '\0'; in PHP_METHOD()
3991 RETURN_STRINGL(buf, len, 0); in PHP_METHOD()
4115 int len; in phar_extract_file() local
4166 if (len >= MAXPATHLEN) { in phar_extract_file()
[all …]
/PHP-5.5/ext/session/
H A Dmod_mm.c73 static inline php_uint32 ps_sd_hash(const char *data, int len) in ps_sd_hash() argument
76 const char *e = data + len; in ps_sd_hash()
/PHP-5.5/ext/oci8/
H A Dphp_oci8_int.h417 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, oraub8 len, ub1 piece, dvoid **changed_b…
419 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, ub4 len, ub1 piece);
H A Doci8_lob.c161 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, oraub8 len, ub1 piece, dvoid **changed_b… in php_oci_lob_callback() argument
163 sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, ub4 len, ub1 piece) in php_oci_lob_callback()
166 ub4 lenp = (ub4) len; in php_oci_lob_callback()
/PHP-5.5/sapi/apache2handler/
H A Dphp_functions.c391 if ((tmp1.len - 1) >= 0) { in PHP_MINFO_FUNCTION()
392 tmp1.c[tmp1.len - 1] = '\0'; in PHP_MINFO_FUNCTION()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c831 unsigned int len = Z_STRLEN_P(data); in mysqlnd_stmt_execute_store_params() local
833 *p = php_mysqlnd_net_store_length(*p, len); in mysqlnd_stmt_execute_store_params()
834 memcpy(*p, Z_STRVAL_P(data), len); in mysqlnd_stmt_execute_store_params()
835 (*p) += len; in mysqlnd_stmt_execute_store_params()
H A Dmysqlnd_net.c461 return buffer->len? FALSE:TRUE; in php_mysqlnd_read_buffer_is_empty()
470 if (buffer->len >= count) { in php_mysqlnd_read_buffer_read()
473 buffer->len -= count; in php_mysqlnd_read_buffer_read()
483 return buffer->len; in php_mysqlnd_read_buffer_bytes_left()
514 ret->size = ret->len = count; in mysqlnd_create_read_buffer()
/PHP-5.5/sapi/cli/
H A Dphp_http_parser.c326 size_t len) in php_http_parser_execute() argument
347 if (len == 0) { in php_http_parser_execute()
371 for (p=data, pe=data+len; p != pe; p++) { in php_http_parser_execute()
1564 return len; in php_http_parser_execute()
/PHP-5.5/ext/soap/
H A Dsoap.c906 int len; in PHP_METHOD() local
945 RETURN_STRINGL(str, len, 0); in PHP_METHOD()
4533 int len = strlen(function_name); local
4534 char *str = estrndup(function_name,len);
4535 php_strtolower(str,len);
4714 smart_str_appendl(buf, spaces.c, spaces.len);
4776 int len; local
4778 len = strlen((*ext)->val);
4780 len = end-(*ext)->val;
4782 if (len == 0) {
[all …]
/PHP-5.5/ext/openssl/
H A Dopenssl.c2262 int len; in php_openssl_make_REQ() local
2268 len = strlen(type); in php_openssl_make_REQ()
2272 len -= sizeof("_default") - 1; in php_openssl_make_REQ()
2276 if (len > 200) { in php_openssl_make_REQ()
2277 len = 200; in php_openssl_make_REQ()
2279 memcpy(buffer, type, len); in php_openssl_make_REQ()
2280 buffer[len] = '\0'; in php_openssl_make_REQ()
5105 int len; in PHP_FUNCTION() local
5120 if (len >= 0) { in PHP_FUNCTION()
5121 data[len] = 0; in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/standard/
H A Dimage.c204 unsigned long len=64, szlength; in php_handle_swc() local
209 b = ecalloc (1, len + 1); in php_handle_swc()
217 if (uncompress(b, &len, a, sizeof(a)) != Z_OK) { in php_handle_swc()
243 memcpy(b, buf, len); in php_handle_swc()
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c2478 int len; local
2578 len = strlen(buf);
2580 if (len && buf[len-1] == ' ') {
2581 buf[len-1] = 0;
2582 len--;
2585 Z_STRLEN_P(return_value) = len;
2586 Z_STRVAL_P(return_value) = estrndup(buf, len);
/PHP-5.5/main/
H A Dphp_streams.h441 …opy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, size_t *len STREAMS_DC TSRMLS_D…
442 …stream_copy_to_stream_ex(src, dest, maxlen, len) _php_stream_copy_to_stream_ex((src), (dest), (max… argument
/PHP-5.5/ext/date/lib/
H A Dparse_date.re152 unsigned int line, len;
446 int len = 0;
455 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
457 ++len;
489 int len = 0;
498 …while (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_lengt…
500 ++len;
814 s->len = 0;
1724 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti…
1728 char *e = s + len - 1;
[all …]
/PHP-5.5/ext/pgsql/
H A Dphp_pgsql.h277 size_t len; member

Completed in 127 milliseconds

1...<<11121314151617181920