/PHP-7.3/ext/enchant/ |
H A D | enchant.c | 537 int pos; in PHP_FUNCTION() local 552 pos = pbroker->dictcnt++; in PHP_FUNCTION() 557 pos = 0; in PHP_FUNCTION() 560 dict = pbroker->dict[pos] = (enchant_dict *)emalloc(sizeof(enchant_dict)); in PHP_FUNCTION() 561 dict->id = pos; in PHP_FUNCTION() 564 pbroker->dict[pos] = dict; in PHP_FUNCTION() 585 int pos; in PHP_FUNCTION() local 599 pos = pbroker->dictcnt++; in PHP_FUNCTION() 604 pos = 0; in PHP_FUNCTION() 608 dict->id = pos; in PHP_FUNCTION() [all …]
|
/PHP-7.3/main/ |
H A D | rfc1867.c | 494 while (*pos && *pos != stop) { in php_ap_getword() 496 ++pos; in php_ap_getword() 497 while (*pos && *pos != quote) { in php_ap_getword() 498 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_ap_getword() 499 pos += 2; in php_ap_getword() 501 ++pos; in php_ap_getword() 504 if (*pos) { in php_ap_getword() 505 ++pos; in php_ap_getword() 507 } else ++pos; in php_ap_getword() 518 ++pos; in php_ap_getword() [all …]
|
H A D | getopt.c | 90 const char *pos; in php_getopt() local 102 if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) { in php_getopt() 103 arg_end = pos-&argv[*optind][arg_start]; in php_getopt()
|
/PHP-7.3/ext/phar/ |
H A D | phar.c | 1879 if (!pos 1880 || (pos != ext_str && (*(pos - 1) == '/')) 1883 || !(*pos == '\0' || *pos == '/' || *pos == '.')) { 1892 if (!(pos && (*(pos - 1) != '/') 1934 if (pos && pos != filename) { 1936 if (*(pos - 1) == ':' && (size_t)(pos - filename) < filename_len - 1 && *(pos + 1) == '/') { 2028 if (!pos) { 2032 while (pos != filename && (*(pos - 1) == '/' || *(pos - 1) == '\0')) { 2033 pos = memchr(pos + 1, '.', filename_len - (pos - filename) - 1); 2065 pos = strchr(pos + 1, '.'); [all …]
|
/PHP-7.3/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 92 zval *pos, tmp; in add_static_slot() local 105 pos = zend_hash_find(hash, key); in add_static_slot() 106 if (pos) { in add_static_slot() 107 ret = Z_LVAL_P(pos); in add_static_slot() 122 zval zv, *pos; in zend_optimizer_compact_literals() local 382 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 400 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 420 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 440 pos = zend_hash_find(&hash, key); in zend_optimizer_compact_literals() 441 if (pos != NULL && in zend_optimizer_compact_literals() [all …]
|
/PHP-7.3/ext/sysvshm/ |
H A D | sysvshm.c | 403 zend_long pos; in php_check_shm_data() local 406 pos = ptr->start; in php_check_shm_data() 409 if (pos >= ptr->end) { in php_check_shm_data() 412 shm_var = (sysvshm_chunk*) ((char *) ptr + pos); in php_check_shm_data() 414 return pos; in php_check_shm_data() 416 pos += shm_var->next; in php_check_shm_data() 418 if (shm_var->next <= 0 || pos < ptr->start) { in php_check_shm_data()
|
/PHP-7.3/ext/intl/tests/ |
H A D | dateformat_parse_timestamp_parsepos.phpt | 2 datefmt_parse_timestamp_code() with parse pos icu <= 4.2 56 $pos = 0; 57 $parsed = ut_datefmt_parse( $fmt , $text_entry, $pos); 59 $res_str .= "\nParsed text is : $parsed; Position = $pos"; 61 $res_str .= "\nError while parsing as: '".intl_get_error_message()."'; Position = $pos";
|
/PHP-7.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.c | 1393 size_t pos; in mbfl_strcut() member 1434 _bk.pos = device.pos; in mbfl_strcut() 1451 device.pos = _bk.pos; in mbfl_strcut() 1462 bk.pos = device.pos; in mbfl_strcut() 1474 device.pos = _bk.pos; in mbfl_strcut() 1485 device.pos = bk.pos; in mbfl_strcut() 1503 device.pos = bk.pos; in mbfl_strcut() 1516 _bk.pos = device.pos; in mbfl_strcut() 1527 device.pos = bk.pos; in mbfl_strcut() 1539 device.pos = _bk.pos; in mbfl_strcut() [all …]
|
/PHP-7.3/ext/standard/ |
H A D | password.c | 112 size_t pos = 0; in php_password_salt_to64() local 123 for (pos = 0; pos < out_len; pos++) { in php_password_salt_to64() 124 if (ZSTR_VAL(buffer)[pos] == '+') { in php_password_salt_to64() 125 ret[pos] = '.'; in php_password_salt_to64() 126 } else if (ZSTR_VAL(buffer)[pos] == '=') { in php_password_salt_to64() 130 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64()
|
H A D | mail.c | 53 #define SKIP_LONG_HEADER_SEP(str, pos) \ argument 54 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \ 55 pos += 2; \ 56 while (str[pos + 1] == ' ' || str[pos + 1] == '\t') { \ 57 pos++; \
|
/PHP-7.3/ext/curl/ |
H A D | multi.c | 141 zend_llist_position pos; in _php_curl_multi_find_easy_handle() local 144 for(pz_ch_temp = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch_temp; in _php_curl_multi_find_easy_handle() 145 pz_ch_temp = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in _php_curl_multi_find_easy_handle() 278 zend_llist_position pos; in PHP_FUNCTION() local 282 for (pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch; in PHP_FUNCTION() 283 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in PHP_FUNCTION() 413 zend_llist_position pos; in _php_curl_multi_close() local 417 for (pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch; in _php_curl_multi_close() 418 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in _php_curl_multi_close()
|
/PHP-7.3/ext/mbstring/libmbfl/tests/ |
H A D | conv_kana.c | 126 if (dev.pos >= dev.length) { in main() 136 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
H A D | strcut.c | 89 if (dev.pos >= dev.length) { in main() 99 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
H A D | conv_encoding.c | 80 if (dev.pos >= dev.length) { in main() 90 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
/PHP-7.3/sapi/litespeed/ |
H A D | lsapi_main.c | 384 zend_llist_position pos; in sapi_lsapi_send_headers_like_cgi() local 479 zend_llist_position pos; in sapi_lsapi_send_headers() local 490 h = zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_lsapi_send_headers() 495 h = zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_lsapi_send_headers() 913 cb(path_stop, pos, data); in walk_down_the_path() 915 while ((pos = skip_slash(pos))[0]) { in walk_down_the_path() 916 pos = strchr(pos, DEFAULT_SLASH); in walk_down_the_path() 917 if (!pos) { in walk_down_the_path() 923 cb(path_stop, pos, data); in walk_down_the_path() 1736 zend_llist_position pos; in PHP_FUNCTION() local [all …]
|
/PHP-7.3/ext/hash/ |
H A D | hash_sha3.c | 162 unsigned int len = block_size - ctx->pos; in PHP_SHA3_Update() 166 ctx->state[ctx->pos++] ^= *(buf++); in PHP_SHA3_Update() 168 if (ctx->pos >= block_size) { in PHP_SHA3_Update() 170 ctx->pos = 0; in PHP_SHA3_Update() 182 ctx->state[ctx->pos++] ^= 0x06; in PHP_SHA3_Final()
|
H A D | php_hash_whirlpool.h | 27 int pos; member
|
/PHP-7.3/ext/spl/tests/ |
H A D | iterator_008.phpt | 37 $pos =0; 41 if ($pos++ > 5) {
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_log.c | 297 zend_llist_position pos; in fpm_log_write() local 301 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in fpm_log_write() 305 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 309 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 315 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 320 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write()
|
/PHP-7.3/Zend/ |
H A D | zend_hash.c | 382 while (pos < ht->nNumUsed && Z_ISUNDEF(ht->arData[pos].val)) { in _zend_hash_get_valid_pos() 383 pos++; in _zend_hash_get_valid_pos() 385 return pos; in _zend_hash_get_valid_pos() 410 iter->pos = pos; in zend_hash_iterator_add() 428 iter->pos = pos; in zend_hash_iterator_add() 451 return iter->pos; in zend_hash_iterator_pos() 473 return iter->pos; in zend_hash_iterator_pos_ex() 525 if (iter->pos >= start && iter->pos < res) { in zend_hash_iterators_lower_pos() 2216 *pos = idx; in zend_hash_internal_pointer_end_ex() 2240 *pos = idx; in zend_hash_move_forward_ex() [all …]
|
/PHP-7.3/ext/pdo/ |
H A D | pdo_sql_parser.c | 382 char *pos; member 429 plc->pos = s.tok; in pdo_parse_params() 484 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) { in pdo_parse_params() 509 param = zend_hash_str_find_ptr(params, plc->pos, plc->len); in pdo_parse_params() 627 t = plc->pos - ptr; in pdo_parse_params() 634 ptr = plc->pos + plc->len; in pdo_parse_params() 666 name = estrndup(plc->pos, plc->len); in pdo_parse_params() 706 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
|
/PHP-7.3/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 68 int32_t pos = biter->next(); in _breakiterator_move_forward() local 69 if (pos != BreakIterator::DONE) { in _breakiterator_move_forward() 70 ZVAL_LONG(&zoi_iter->current, (zend_long)pos); in _breakiterator_move_forward() 79 int32_t pos = biter->first(); in _breakiterator_rewind() local 80 ZVAL_LONG(&zoi_iter->current, (zend_long)pos); in _breakiterator_rewind()
|
/PHP-7.3/ext/intl/grapheme/ |
H A D | grapheme_string.c | 684 int pos = 0; in grapheme_extract_charcount_iter() local 690 pos = ubrk_next(bi); in grapheme_extract_charcount_iter() 692 if ( UBRK_DONE == pos ) { in grapheme_extract_charcount_iter() 696 for ( break_pos = ret_pos; break_pos < pos; ) { in grapheme_extract_charcount_iter() 724 int pos = 0; in grapheme_extract_bytecount_iter() local 728 pos = ubrk_next(bi); in grapheme_extract_bytecount_iter() 730 if ( UBRK_DONE == pos ) { in grapheme_extract_bytecount_iter() 734 if ( pos > bsize ) { in grapheme_extract_bytecount_iter() 738 ret_pos = pos; in grapheme_extract_bytecount_iter()
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | reggnu.c | 61 re_match(regex_t* reg, const char* str, int size, int pos, in re_match() argument 65 (UChar* )(str + pos), regs, ONIG_OPTION_NONE); in re_match()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_io_file.c | 114 static int fileSeek (struct gdIOCtx *ctx, const int pos) in fileSeek() argument 119 return (fseek (fctx->f, pos, SEEK_SET) == 0); in fileSeek()
|