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

/PHP_5_5/ext/fileinfo/libmagic/
H A Dcdf.h182 uint32_t s_len; member in struct:__anon13::__anon14::__anon15
H A Dfile.h397 size_t s_len; /* length of search region */ member in struct:magic_set::__anon3
H A Dreadcdf.c93 len = info[i].pi_str.s_len;
H A Dsoftmagic.c1016 ms->search.s_len = nbytes - offset;
1038 ms->search.s_len = 0;
1059 ms->search.s_len = last - buf;
2029 if (slen + idx > ms->search.s_len)
2072 haystack = estrndup(ms->search.s, ms->search.s_len);
2075 php_pcre_match_impl(pce, haystack, ms->search.s_len, retval, subpats, 1, 1, PREG_OFFSET_CAPTURE, 0 TSRMLS_CC);
H A Dcdf.c915 inp[i].pi_str.s_len = l;
1238 info[i].pi_str.s_len,
1239 info[i].pi_str.s_len, info[i].pi_str.s_buf);
1243 info[i].pi_str.s_len);
1244 for (j = 0; j < info[i].pi_str.s_len - 1; j++)
/PHP_5_5/ext/standard/
H A Dphp_string.h130 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
H A Dformatted_print.c215 int s_len = 0, is_negative = 0; local
253 &is_negative, &num_buf[1], &s_len);
257 s_len++;
261 s_len++;
285 s_len = strlen(s);
290 alignment, s_len, is_negative, 0, always_sign);
H A Dstring.c1630 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len) argument
1632 php_strtolower(s, s_len);
1634 return php_memnstr(s, t, t_len, s + s_len);
/PHP_5_5/main/
H A Dsnprintf.c552 #define FIX_PRECISION( adjust, precision, s, s_len ) \
554 while ( s_len < precision ) \
557 s_len++ ; \
590 int s_len, free_zcopy; local
777 * must be printed, s_len has the length of the string
778 * The precision requirements, if any, are reflected in s_len.
790 s_len = Z_STRLEN_P(zvp);
792 if (adjust_precision && precision < s_len) {
793 s_len = precision;
869 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
H A Dspprintf.c177 #define FIX_PRECISION(adjust, precision, s, s_len) do { \
179 while (s_len < precision) { \
181 s_len++; \
201 int s_len, free_zcopy; local
385 * must be printed, s_len has the length of the string
386 * The precision requirements, if any, are reflected in s_len.
398 s_len = Z_STRLEN_P(zvp);
400 if (adjust_precision && precision < s_len) {
401 s_len = precision;
477 &num_buf[NUM_BUF_SIZE], &s_len);
[all...]
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c772 int s_len; local
790 s_len = doc_root_len;
794 s_len = path_len;
802 if (strnicmp(s1, s2, s_len) == 0) {
804 if (strncmp(s1, s2, s_len) == 0) {
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c570 unsigned int s_len; local
574 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(packet->connect_attr, &s_key, &s_len, &num_key, 0, &pos_value)) {
575 ca_payload_len += php_mysqlnd_net_store_length_size(s_len);
576 ca_payload_len += s_len;
589 unsigned int s_len; local
592 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(packet->connect_attr, &s_key, &s_len, &num_key, 0, &pos_value)) {
594 p = php_mysqlnd_net_store_length(p, s_len);
595 memcpy(p, s_key, s_len);
596 p+= s_len;
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c712 int s_len; local
730 s_len = doc_root_len;
734 s_len = path_len;
742 if (strnicmp(s1, s2, s_len) == 0) {
744 if (strncmp(s1, s2, s_len) == 0) {

Completed in 37 milliseconds