Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-5.5/ext/date/lib/
H A Dtimelib.h74 timelib_time *timelib_strtotime(char *s, int len, timelib_error_container **errors, const timelib_t…
75 timelib_time *timelib_parse_from_format(char *format, char *s, int len, timelib_error_container **e…
82 void timelib_strtointerval(char *s, int len,
/PHP-5.5/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 …]
H A Dmain.c632 int len; in php_log_err() local
719 size_t len; in php_verror() local
723 buffer_len = len; in php_verror()
777 size_t len; in php_verror() local
1087 size_t len; in php_error_cb() local
1224 DWORD len = sizeof(name)-1; in php_get_current_user() local
1226 if (!GetUserName(name, &len)) { in php_get_current_user()
1229 name[len] = '\0'; in php_get_current_user()
1333 size_t len, mapped_len; in php_stream_open_for_zend_ex() local
1350 if (len != 0 in php_stream_open_for_zend_ex()
[all …]
/PHP-5.5/ext/standard/
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()
H A Dmd5.h26 PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);
/PHP-5.5/Zend/
H A Dzend_language_scanner.c118 #define SET_DOUBLE_QUOTES_SCANNED_LENGTH(len) CG(doc_comment_len) = (len) argument
675 size = str->value.str.len; in zend_prepare_string_for_scanning()
3320 int len = yyleng - 2; in lex_scan() local
3325 --len; in lex_scan()
3329 if (len == 0) { in lex_scan()
3357 int len = yyleng - 2; in lex_scan() local
3362 len--; in lex_scan()
3365 if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) { in lex_scan()
3366 if (len == 0) { in lex_scan()
4323 size_t len = 0; in lex_scan() local
[all …]
H A Dzend_highlight.h47 ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC);
/PHP-5.5/ext/opcache/Optimizer/
H A Dpass1_5.c157 final_length += ZEND_OP2_LITERAL(next_op).value.str.len;
165 final_length += (requires_conversion? 1 : ZEND_OP2_LITERAL(opline).value.str.len);
184 ZEND_OP2_LITERAL(opline).value.str.len = final_length;
188 memcpy(ptr, ZEND_OP2_LITERAL(next_op).value.str.val, ZEND_OP2_LITERAL(next_op).value.str.len);
189 ptr += ZEND_OP2_LITERAL(next_op).value.str.len;
/PHP-5.5/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()
866 if (err != soap_headers.len) { in make_http_soap_request()
[all …]
/PHP-5.5/ext/hash/
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.5/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);
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_statement.c249 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int… in pdo_sqlite_stmt_get_col() argument
263 *len = 0; in pdo_sqlite_stmt_get_col()
268 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
273 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
/PHP-5.5/ext/standard/tests/file/
H A Dfread_error.phpt27 $len = 0;
28 var_dump( fread($file_handle, $len) );
29 $len = -10;
30 var_dump( fread($file_handle, $len) );
H A Dfwrite_error.phpt34 $len = 0;
35 var_dump( fwrite($file_handle, $data, $len) );
36 $len = -10;
37 var_dump( fwrite($file_handle, $data, $len) );
/PHP-5.5/ext/phar/
H A Dphar_internal.h477 int len; member
524 …ar_stream_copy_to_stream(src, dest, maxlen, len) _php_stream_copy_to_stream_ex((src), (dest), (max… argument
596 char *phar_create_default_stub(const char *index_php, const char *web_index, size_t *len, char **er…
622 int phar_tar_flush(phar_archive_data *phar, char *user_stub, long len, int defaultstub, char **erro…
627 int phar_zip_flush(phar_archive_data *archive, char *user_stub, long len, int defaultstub, char **e…
644 int phar_flush(phar_archive_data *archive, char *user_stub, long len, int convert, char **error TSR…
660 phar_path_check_result phar_path_check(char **p, int *len, const char **error);
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c186 apr_size_t len, tlen=0; in php_apache_sapi_read_post() local
193 len = count_bytes; in php_apache_sapi_read_post()
201 …while (ap_get_brigade(r->input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SU… in php_apache_sapi_read_post()
202 apr_brigade_flatten(brigade, buf, &len); in php_apache_sapi_read_post()
204 tlen += len; in php_apache_sapi_read_post()
205 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post()
208 buf += len; in php_apache_sapi_read_post()
209 len = count_bytes - tlen; in php_apache_sapi_read_post()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c860 if (len) {
861 *len = i;
1028 if (len <= 2) { in _php_pgsql_detect_identifier_escape()
1644 int len; local
2265 str.len = 0;
3370 long len; local
3382 buf_len = len;
3404 int len; local
3421 len = z_len;
4664 int len; local
[all …]
/PHP-5.5/ext/mbstring/ucgendat/
H A Ducgendat.c71 int len; member
227 int i, j, k, len; in add_range() local
234 len = 2; in add_range()
240 len = 1; in add_range()
244 if (props[i].len == len && memcmp(props[i].name, name, len) == 0) in add_range()
323 ordered_range_insert(ac_uint4 c, char *name, int len) in ordered_range_insert() argument
329 if (len == 0) in ordered_range_insert()
335 if ((len == 2 && memcmp(name, "BN", 2) == 0) || in ordered_range_insert()
336 (len == 3 && in ordered_range_insert()
344 len = 2; in ordered_range_insert()
[all …]
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_array_many_rows.phpt58 $len = strlen($row[1]);
59 if (!is_string($row[1]) || $len == 0 || $len > 1) {
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_priv.h90 #define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \ argument
96 (buf) = mnd_pestrndup((message), (len), (persistent)); \
100 (buf_len) = (len); \
/PHP-5.5/sapi/webjames/
H A Dwebjames.c68 int len = sapi_header->header_len; in sapi_webjames_send_header() local
70 while (sapi_header && len > 0) { in sapi_webjames_send_header()
72 bytes = webjames_writebuffer(WG(conn), header, len); in sapi_webjames_send_header()
81 len -= bytes; in sapi_webjames_send_header()
/PHP-5.5/ext/opcache/
H A Dzend_persist_calc.c35 # define ADD_INTERNED_STRING(str, len) do { \ argument
37 const char *tmp = accel_new_interned_string((str), (len), 1 TSRMLS_CC); \
41 ADD_DUP_SIZE((str), (len)); \
46 # define ADD_INTERNED_STRING(str, len) ADD_DUP_SIZE((str), (len)) argument
/PHP-5.5/ext/standard/tests/strings/
H A Dstrcspn_variation1.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
23 $len = 10;
96 var_dump( strcspn($value,$mask,$start) ); // with default len value
97 var_dump( strcspn($value,$mask,$start,$len) ); // with all args

Completed in 124 milliseconds

12345678910>>...20