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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.h182 uint32_t s_len; member in struct:__anon12::__anon13::__anon14
H A Dreadcdf.c179 len = info[i].pi_str.s_len;
H A Dcdf.c918 inp[i].pi_str.s_len = l;
1241 info[i].pi_str.s_len,
1242 info[i].pi_str.s_len, info[i].pi_str.s_buf);
1246 info[i].pi_str.s_len);
1247 for (j = 0; j < info[i].pi_str.s_len - 1; j++)
H A Dsoftmagic.c1054 ms->search.s_len = nbytes - offset;
1076 ms->search.s_len = 0;
1097 ms->search.s_len = last - buf;
2067 if (slen + idx > ms->search.s_len)
2106 haystack = estrndup(ms->search.s, ms->search.s_len);
2109 php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
H A Dfile.h397 size_t s_len; /* length of search region */ member in struct:magic_set::__anon11
/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, 0, &pos_value)) {
574 ca_payload_len += php_mysqlnd_net_store_length_size(s_len);
575 ca_payload_len += s_len;
606 unsigned int s_len; local
609 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(packet->connect_attr, &s_key, &s_len, &num_key, 0, &pos_value)) {
611 p = php_mysqlnd_net_store_length(p, s_len);
612 memcpy(p, s_key, s_len);
613 p+= s_len;
/PHP_TRUNK/ext/standard/
H A Dformatted_print.c211 size_t s_len = 0; local
250 &is_negative, &num_buf[1], &s_len);
254 s_len++;
258 s_len++;
282 s_len = strlen(s);
287 alignment, s_len, is_negative, 0, always_sign);
H A Dphp_string.h130 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
H A Dstring.c1607 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len) argument
1609 php_strtolower(s, s_len);
1611 return (char*)php_memnstr(s, t, t_len, s + s_len);
/PHP_TRUNK/main/
H A Dsnprintf.c552 #define FIX_PRECISION( adjust, precision, s, s_len ) \
554 while ( s_len < precision ) \
557 s_len++ ; \
590 size_t s_len; local
782 * must be printed, s_len has the length of the string
783 * The precision requirements, if any, are reflected in s_len.
796 s_len = Z_STRLEN_P(zvp);
798 if (adjust_precision && precision < s_len) {
799 s_len = precision;
882 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
H A Dspprintf.c178 #define FIX_PRECISION(adjust, precision, s, s_len) do { \
180 while (s_len < precision) { \
182 s_len++; \
201 size_t s_len; local
396 * must be printed, s_len has the length of the string
397 * The precision requirements, if any, are reflected in s_len.
410 s_len = Z_STRLEN_P(zvp);
412 if (adjust_precision && precision < s_len) {
413 s_len = precision;
496 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c770 int s_len; local
788 s_len = doc_root_len;
792 s_len = path_len;
800 if (strnicmp(s1, s2, s_len) == 0) {
802 if (strncmp(s1, s2, s_len) == 0) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c705 int s_len; local
723 s_len = doc_root_len;
727 s_len = path_len;
735 if (strnicmp(s1, s2, s_len) == 0) {
737 if (strncmp(s1, s2, s_len) == 0) {

Completed in 39 milliseconds