Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 159) sorted by last modified time

1234567

/PHP-7.4/ext/phar/
H A Dphar.c1879 if (!pos in phar_check_str()
1880 || (pos != ext_str && (*(pos - 1) == '/')) in phar_check_str()
1883 || !(*pos == '\0' || *pos == '/' || *pos == '.')) { in phar_check_str()
1892 if (!(pos && (*(pos - 1) != '/') in phar_check_str()
1934 if (pos && pos != filename) { in phar_detect_phar_fname_ext()
1936 if (*(pos - 1) == ':' && (size_t)(pos - filename) < filename_len - 1 && *(pos + 1) == '/') { in phar_detect_phar_fname_ext()
2015 if (!pos) { in phar_detect_phar_fname_ext()
2019 while (pos != filename && (*(pos - 1) == '/' || *(pos - 1) == '\0')) { in phar_detect_phar_fname_ext()
2020 pos = memchr(pos + 1, '.', filename_len - (pos - filename) - 1); in phar_detect_phar_fname_ext()
2052 pos = strchr(pos + 1, '.'); in phar_detect_phar_fname_ext()
[all …]
/PHP-7.4/main/streams/
H A Dstreams.c174 zend_llist_position pos; in php_stream_display_wrapper_errors() local
184 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors()
186 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors()
194 for (err_buf_p = zend_llist_get_first_ex(err_list, &pos), i = 0; in php_stream_display_wrapper_errors()
196 err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) { in php_stream_display_wrapper_errors()
H A Dcast.c240 zend_off_t pos; in _php_stream_cast() local
246 pos = php_stream_tell(stream); in _php_stream_cast()
247 if (pos > 0) { in _php_stream_cast()
248 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
/PHP-7.4/ext/standard/
H A Darray.c1411 EG(ht_iterators)[ht_iter].pos = pos; in php_array_walk()
3105 pos++;
3113 pos++;
3129 int pos2 = pos;
3149 pos++;
3169 pos++;
3551 pos = 0;
3558 pos++;
3575 pos++;
6271 pos++;
[all …]
H A Dimage.c182 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument
187 for (loop = pos; loop < pos + count; loop++) in php_swf_get_bits()
190 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
H A Dstring.c3120 pos++;
3992 int pos = 0; local
3998 pos += n;
4005 pos++;
4009 for (; pos < 16; pos++) {
4018 int pos = 0; local
4027 pos += n;
4034 pos++;
4037 for (; pos < 16; pos++) {
5175 size_t pos; local
[all …]
/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp159 int32_t pos = (int32_t)utext_nativeLength(this->fText); in last() local
160 UTEXT_SETNATIVEINDEX(this->fText, pos); in last()
163 return pos; in last()
286 int64_t pos = utext_getNativeIndex(this->fText); in refreshInputText() local
292 utext_setNativeIndex(this->fText, pos); in refreshInputText()
293 if (utext_getNativeIndex(fText) != pos) { in refreshInputText()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c1142 while (*pos && *pos != stop) { in php_mb_rfc1867_getword()
1144 ++pos; in php_mb_rfc1867_getword()
1145 while (*pos && *pos != quote) { in php_mb_rfc1867_getword()
1146 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_mb_rfc1867_getword()
1147 pos += 2; in php_mb_rfc1867_getword()
1149 ++pos; in php_mb_rfc1867_getword()
1152 if (*pos) { in php_mb_rfc1867_getword()
1153 ++pos; in php_mb_rfc1867_getword()
1172 *line = pos; in php_mb_rfc1867_getword()
4158 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \
[all …]
/PHP-7.4/ext/date/
H A Dphp_date.c4911 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4914 …ROUP_ALL_W_BC || (check_id_allowed(table[i].id, what) && (tzdb->data[table[i].pos + 4] == '\1'))) { in PHP_FUNCTION()
/PHP-7.4/ext/zip/
H A Dphp_zip.c1833 int pos = 0; local
1846 pos = ze_obj->buffers_cnt++;
1850 pos = 0;
1852 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1);
1853 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1);
1855 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0);
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1189 size_t pos = CDF_SEC_POS(h, id);
1191 - return cdf_read(info, CAST(off_t, pos), RCAST(char *, buf) + offs, len);
1193 + return cdf_read(info, CAST(zend_off_t, pos), RCAST(char *, buf) + offs, len);
1201 size_t pos = CDF_SHORT_SEC_POS(h, id);
1204 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) {
2905 - off_t pos = CAST(off_t, -1);
2969 - pos = lseek(fd, CAST(off_t, 0), SEEK_CUR);
3030 - if (pos != CAST(off_t, -1))
3031 - (void)lseek(fd, pos, SEEK_SET);
/PHP-7.4/ext/date/lib/
H A Dparse_date.re134 uchar *lim, *str, *ptr, *cur, *tok, *pos;
310 s->pos -= cnt;
319 s->pos = &buf[s->pos - s->bot];
1812 s->pos = cursor; s->line++;
H A Dparse_date.c136 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
312 s->pos -= cnt;
321 s->pos = &buf[s->pos - s->bot];
2618 s->pos = cursor; s->line++; in scan()
/PHP-7.4/ext/xml/
H A Dxml.c644 size_t pos = 0; in xml_utf8_decode() local
664 while (pos < len) { in xml_utf8_decode()
666 c = php_next_utf8_char((const unsigned char*)s, (size_t) len, &pos, &status); in xml_utf8_decode()
/PHP-7.4/ext/ffi/
H A Dffi.g64 #define yy_pos FFI_G(pos)
H A Dffi_parser.c32 #define yy_pos FFI_G(pos)
/PHP-7.4/Zend/
H A Dzend_vm_execute.h21517 HashPosition pos; in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER() local
21546 pos++; in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER()
21589 pos++; in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER()
21605 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos + 1; in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER()
21670 HashPosition pos; in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER() local
21699 pos++; in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER()
21750 pos++; in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER()
30217 HashPosition pos; in ZEND_FE_FETCH_R_SIMPLE_SPEC_VAR_CV_RETVAL_UNUSED_HANDLER() local
30244 pos++; in ZEND_FE_FETCH_R_SIMPLE_SPEC_VAR_CV_RETVAL_UNUSED_HANDLER()
30269 HashPosition pos; in ZEND_FE_FETCH_R_SIMPLE_SPEC_VAR_CV_RETVAL_USED_HANDLER() local
[all …]
H A Dzend_vm_def.h6466 HashPosition pos; variable
6495 pos++;
6538 pos++;
6554 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos + 1;
6619 HashPosition pos; variable
6648 pos++;
6658 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos + 1;
6699 pos++;
6715 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos + 1;
9366 HashPosition pos; variable
[all …]
H A Dzend_operators.c2373 size_t pos=Z_STRLEN_P(str)-1; in increment_string() local
2397 ch = s[pos]; in increment_string()
2400 s[pos] = 'a'; in increment_string()
2403 s[pos]++; in increment_string()
2409 s[pos] = 'A'; in increment_string()
2412 s[pos]++; in increment_string()
2418 s[pos] = '0'; in increment_string()
2421 s[pos]++; in increment_string()
2432 } while (pos-- > 0); in increment_string()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c391 #define STRTAB_POS_TO_STR(tab, pos) \ argument
441 uint32_t pos; in accel_find_interned_string() local
466 pos = STRTAB_COLLISION(s); in accel_find_interned_string()
467 } while (pos != STRTAB_INVALID_POS); in accel_find_interned_string()
476 uint32_t pos, *hash_slot; in accel_new_interned_string() local
492 pos = *hash_slot; in accel_new_interned_string()
500 pos = STRTAB_COLLISION(s); in accel_new_interned_string()
501 } while (pos != STRTAB_INVALID_POS); in accel_new_interned_string()
543 uint32_t pos; in accel_find_interned_string_ex() local
556 pos = STRTAB_COLLISION(s); in accel_find_interned_string_ex()
[all …]
/PHP-7.4/ext/standard/tests/filters/
H A Dbug81302.phpt13 $pos = ftell($f);
17 var_dump($count === $pos);
/PHP-7.4/ext/json/
H A Djson_encoder.c263 size_t pos, checkpoint; in php_json_escape_string() local
293 pos = 0; in php_json_escape_string()
300 us = (unsigned char)s[pos]; in php_json_escape_string()
302 pos++; in php_json_escape_string()
305 smart_str_appendl(buf, s, pos); in php_json_escape_string()
309 if (pos) { in php_json_escape_string()
311 s += pos; in php_json_escape_string()
312 pos = 0; in php_json_escape_string()
371 s += pos; in php_json_escape_string()
372 len -= pos; in php_json_escape_string()
[all …]
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c374 zend_llist_position pos; in sapi_cgi_send_headers() local
410 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
418 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
445 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
460 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
467 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c316 zend_llist_position pos; in sapi_cgi_send_headers() local
351 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
359 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
386 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
401 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
408 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cgi_send_headers()
/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_util.c252 int ret_len, pos; in grapheme_split_string() local
263 pos = 0; in grapheme_split_string()
267 pos = ubrk_next(bi); in grapheme_split_string()
269 if ( pos != UBRK_DONE ) { in grapheme_split_string()
289 int pos = 0; in grapheme_count_graphemes() local
296 pos = ubrk_next(bi); in grapheme_count_graphemes()
298 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
312 int32_t pos; in grapheme_get_haystack_offset() local
330 pos = 0; in grapheme_get_haystack_offset()
334 pos = iter_op(bi); in grapheme_get_haystack_offset()
[all …]

Completed in 278 milliseconds

1234567