Home
last modified time | relevance | path

Searched refs:len (Results 226 – 250 of 535) sorted by relevance

12345678910>>...22

/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_lexer.h27 unsigned int len; member
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch167 len = (ms->c.len = 10) * sizeof(*ms->c.li);
190 - if (map->len)
297 - ssize_t len;
298 + size_t len;
611 - if (read(fd, map->p, map->len) != (ssize_t)map->len) {
747 - if (write(fd, map->magic[i], len) != (ssize_t)len) {
883 - if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
1860 - int len;
1895 + int len;
2085 len = (ms->c.len += 20) * sizeof(*ms->c.li);
[all …]
/PHP-5.6/ext/phar/
H A Dzip.c64 len -= read + 4; in phar_zip_process_extra()
84 } while (len); in phar_zip_process_extra()
951 entry->metadata_str.len = 0; in phar_zip_changed_apply()
1229 if (len < 0) { in phar_zip_flush()
1238 if (len == -1) { in phar_zip_flush()
1239 len = PHP_STREAM_COPY_ALL; in phar_zip_flush()
1241 len = -len; in phar_zip_flush()
1246 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { in phar_zip_flush()
1257 tmp = estrndup(user_stub, len); in phar_zip_flush()
1271 len = pos - user_stub + 18; in phar_zip_flush()
[all …]
/PHP-5.6/ext/opcache/Optimizer/
H A Dblock_pass.c403 from_block->len += to->len; in del_source()
572 if (block->len == 1) { in strip_nop()
581 block->len--; in strip_nop()
590 int len = 0; in strip_nop() local
600 len = opline - src; in strip_nop()
605 new_end += len; in strip_nop()
629 block->len--; in zend_optimize_block()
1220 cur_block->len--; in assemble_code_blocks()
1331 if (!block->len) { in zend_jmp_optimization()
1350 block->len--; in zend_jmp_optimization()
[all …]
/PHP-5.6/ext/standard/
H A Dlink_win32.c129 size_t len; in PHP_FUNCTION() local
158 len = php_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
160 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
H A Dversioning.c36 int len = strlen(version); in php_canonicalize_version() local
37 char *buf = safe_emalloc(len, 2, 1), *q, lp, lq; in php_canonicalize_version()
40 if (len == 0) { in php_canonicalize_version()
H A Dvar.c514 PHPWRITE(buf.c, buf.len); in php_var_export()
536 RETVAL_STRINGL(buf.c, buf.len, 1); in PHP_FUNCTION()
538 PHPWRITE(buf.c, buf.len); in PHP_FUNCTION()
550 register int len; in php_add_var_hash() local
556 len = id + sizeof(id) - 1 - p; in php_add_var_hash()
559 len = id + sizeof(id) - 1 - p; in php_add_var_hash()
562 if (var_old && zend_hash_find(var_hash, p, len, var_old) == SUCCESS) { in php_add_var_hash()
577 zend_hash_add(var_hash, p, len, &var_no, sizeof(var_no), NULL); in php_add_var_hash()
596 smart_str_append_long(buf, len); in php_var_serialize_string()
598 smart_str_appendl(buf, str, len); in php_var_serialize_string()
[all …]
H A Dpassword.c60 static php_password_algo php_password_determine_algo(const char *hash, const size_t len) in php_password_determine_algo() argument
62 if (len > 3 && hash[0] == '$' && hash[1] == '2' && hash[2] == 'y' && len == 60) { in php_password_determine_algo()
69 static int php_password_salt_is_alphabet(const char *str, const size_t len) /* {{{ */ in php_password_salt_is_alphabet() argument
73 for (i = 0; i < len; i++) { in php_password_salt_is_alphabet()
/PHP-5.6/ext/gd/libgd/
H A Dxbm.c162 int len; in gdCtxPrintf() local
166 len = vspprintf(&buf, 0, format, args); in gdCtxPrintf()
168 out->putBuf(out, buf, len); in gdCtxPrintf()
H A Dgd_io_dp.c58 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len);
227 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len) in dynamicGetbuf() argument
237 if (remain >= len) { in dynamicGetbuf()
238 rlen = len; in dynamicGetbuf()
/PHP-5.6/ext/dba/
H A Ddba.c208 size_t len; local
227 return len;
230 int len; local
236 len = Z_STRLEN(tmp);
239 return len;
1008 int len = 0; in PHP_FUNCTION() local
1037 RETURN_STRINGL(val, len, 0); in PHP_FUNCTION()
1079 int len; in PHP_FUNCTION() local
1092 RETURN_STRINGL(fkey, len, 0); in PHP_FUNCTION()
1103 int len; in PHP_FUNCTION() local
[all …]
/PHP-5.6/ext/zip/
H A Dphp_zip.c169 int n, len, ret; in php_zip_extract_file() local
257 if (!len) { in php_zip_extract_file()
761 ZEND_ARG_INFO(0, len)
839 int len = 0; in php_zip_property_reader() local
1397 long len = 0; in PHP_NAMED_FUNCTION() local
1408 if (len <= 0) { in PHP_NAMED_FUNCTION()
1409 len = 1024; in PHP_NAMED_FUNCTION()
1660 int zep, syp, len; in ZIPARCHIVE_METHOD() local
2744 long len = 0; in php_zip_get_from() local
2771 if (len < 1) { in php_zip_get_from()
[all …]
/PHP-5.6/ext/hash/
H A Dphp_hash_joaat.h32 static php_hash_uint32 joaat_buf(void *buf, size_t len, php_hash_uint32 hval);
H A Dphp_hash_adler32.h31 …_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len);
H A Dphp_hash_tiger.h35 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len);
/PHP-5.6/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h45 unsigned int len; member
/PHP-5.6/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 int len; /* length of string/buf */ member
/PHP-5.6/ext/zip/lib/
H A Dzip_file_get_external_attributes.c40 zip_uint32_t len; in zip_file_get_external_attributes() local
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_status.c387 size_t len; in fpm_status_handle_request() local
416 len = 0; in fpm_status_handle_request()
421 …ntities_ex((unsigned char *)proc.query_string, strlen(proc.query_string), &len, 1, ENT_HTML_IGNORE… in fpm_status_handle_request()
461 if (len > 0 && query_string) { in fpm_status_handle_request()
/PHP-5.6/ext/opcache/
H A Dzend_accelerator_util_funcs.h41 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len);
/PHP-5.6/Zend/
H A Dzend_builtin_functions.c118 ZEND_ARG_INFO(0, len)
517 long len; in ZEND_FUNCTION() local
523 if (len < 0) { in ZEND_FUNCTION()
555 long len; in ZEND_FUNCTION() local
561 if (len < 0) { in ZEND_FUNCTION()
1244 int len; in ZEND_FUNCTION() local
1254 len--; in ZEND_FUNCTION()
1287 int len; in ZEND_FUNCTION() local
1297 len--; in ZEND_FUNCTION()
1330 int len; in ZEND_FUNCTION() local
[all …]
/PHP-5.6/main/
H A Dspprintf.c157 memset(xbuf->c + xbuf->len, ch, (count)); \
158 xbuf->len += (count); \
720 *(va_arg(ap, int *)) = xbuf->len; in xbuf_format_converter()
823 if (max_len && xbuf.len > max_len) { in vspprintf()
824 xbuf.len = max_len; in vspprintf()
830 return xbuf.len; in vspprintf()
H A Doutput.c239 if (len > UINT_MAX) { in php_output_write_unbuffered()
242 (unsigned long) len, (unsigned long) (len % UINT_MAX)); in php_output_write_unbuffered()
249 return sapi_module.ub_write(str, len TSRMLS_CC); in php_output_write_unbuffered()
251 return php_output_direct(str, len); in php_output_write_unbuffered()
260 if (len > UINT_MAX) { in php_output_write()
263 (unsigned long) len, (unsigned long) (len % UINT_MAX)); in php_output_write()
270 php_output_op(PHP_OUTPUT_HANDLER_WRITE, str, len TSRMLS_CC); in php_output_write()
271 return (int) len; in php_output_write()
273 return php_output_direct(str, len); in php_output_write()
1073 context.in.used = len; in php_output_op()
[all …]
/PHP-5.6/ext/soap/
H A Dphp_http.c42 int len; in proxy_authentication() local
52 buf = php_base64_encode((unsigned char*)auth.c, auth.len, &len); in proxy_authentication()
54 smart_str_appendl(soap_headers, (char*)buf, len); in proxy_authentication()
72 int len; in basic_authentication() local
82 buf = php_base64_encode((unsigned char*)auth.c, auth.len, &len); in basic_authentication()
84 smart_str_appendl(soap_headers, (char*)buf, len); in basic_authentication()
262 if (php_stream_write(stream, soap_headers.c, soap_headers.len) != soap_headers.len) { in http_connect()
787 int len; in make_http_soap_request() local
797 buf = php_base64_encode((unsigned char*)auth.c, auth.len, &len); in make_http_soap_request()
867 if (err != soap_headers.len) { in make_http_soap_request()
[all …]
/PHP-5.6/sapi/cgi/
H A Dfastcgi.h132 int fcgi_read(fcgi_request *req, char *str, int len);
134 int fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);

Completed in 98 milliseconds

12345678910>>...22