Searched refs:s_len (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/main/
H A Dsnprintf.c557 #define FIX_PRECISION( adjust, precision, s, s_len ) \
559 while ( s_len < precision ) \
562 s_len++ ; \
595 size_t s_len; local
791 * must be printed, s_len has the length of the string
792 * The precision requirements, if any, are reflected in s_len.
804 s_len = Z_STRLEN_P(zvp);
806 if (adjust_precision && precision < s_len) {
807 s_len = precision;
890 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
H A Dspprintf.c183 #define FIX_PRECISION(adjust, precision, s, s_len) do { \
185 while (s_len < precision) { \
187 s_len++; \
206 size_t s_len; local
405 * must be printed, s_len has the length of the string
406 * The precision requirements, if any, are reflected in s_len.
418 s_len = Z_STRLEN_P(zvp);
420 if (adjust_precision && precision < s_len) {
421 s_len = precision;
504 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h401 size_t s_len; /* length of search region */ member in struct:magic_set::__anon23
H A Dcdf.c957 inp[i].pi_str.s_len = l;
1357 info[i].pi_str.s_len,
1358 info[i].pi_str.s_len, info[i].pi_str.s_buf);
1362 info[i].pi_str.s_len);
1363 for (j = 0; j < info[i].pi_str.s_len - 1; j++)
H A Dcdf.h178 uint32_t s_len; member in struct:__anon10::__anon11::__anon12
H A Dreadcdf.c182 len = info[i].pi_str.s_len;
H A Dsoftmagic.c1082 ms->search.s_len = nbytes - offset;
1095 ms->search.s_len = 0;
1116 ms->search.s_len = 0;
1137 ms->search.s_len = last - buf;
1988 if (slen + idx > ms->search.s_len)
2028 haystack = estrndup(ms->search.s, ms->search.s_len);
2031 php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 1, 1, PREG_OFFSET_CAPTURE, 0);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c691 int s_len; local
709 s_len = doc_root_len;
713 s_len = path_len;
721 if (strnicmp(s1, s2, s_len) == 0) {
723 if (strncmp(s1, s2, s_len) == 0) {
/PHP_TRUNK/ext/standard/
H A Dformatted_print.c216 size_t s_len = 0; local
263 &is_negative, &num_buf[1], &s_len);
267 s_len++;
271 s_len++;
299 s_len = strlen(s);
304 alignment, s_len, is_negative, 0, always_sign);
H A Dphp_string.h132 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
H A Dstring.c1769 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len) argument
1771 php_strtolower(s, s_len);
1773 return (char*)php_memnstr(s, t, t_len, s + s_len);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c755 size_t s_len; local
773 s_len = doc_root_len;
777 s_len = path_len;
785 if (strnicmp(s1, s2, s_len) == 0) {
787 if (strncmp(s1, s2, s_len) == 0) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c569 unsigned int s_len; local
573 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(packet->connect_attr, &s_key, &s_len, &num_key, &pos_value)) {
574 ca_payload_len += php_mysqlnd_net_store_length_size(s_len);
575 ca_payload_len += s_len;
605 unsigned int s_len; local
608 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(packet->connect_attr, &s_key, &s_len, &num_key, &pos_value)) {
610 p = php_mysqlnd_net_store_length(p, s_len);
611 memcpy(p, s_key, s_len);
612 p+= s_len;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_out.c91 #define FIX_PRECISION( adjust, precision, s, s_len ) \
93 while ( s_len < precision ) \
96 s_len++ ; \
139 size_t s_len; local
327 * must be printed, s_len has the length of the string
328 * The precision requirements, if any, are reflected in s_len.
340 s_len = Z_STRLEN_P(zvp);
342 if (adjust_precision && precision < s_len) {
343 s_len = precision;
419 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]

Completed in 57 milliseconds