Home
last modified time | relevance | path

Searched refs:pos (Results 51 – 75 of 159) sorted by relevance

1234567

/PHP-7.4/ext/enchant/
H A Denchant.c537 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.4/main/
H A Drfc1867.c486 while (*pos && *pos != stop) { in php_ap_getword()
488 ++pos; in php_ap_getword()
489 while (*pos && *pos != quote) { in php_ap_getword()
490 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_ap_getword()
491 pos += 2; in php_ap_getword()
493 ++pos; in php_ap_getword()
496 if (*pos) { in php_ap_getword()
497 ++pos; in php_ap_getword()
499 } else ++pos; in php_ap_getword()
510 ++pos; in php_ap_getword()
[all …]
H A Dgetopt.c90 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.4/ext/opcache/Optimizer/
H A Dcompact_literals.c93 zval *pos, tmp; in add_static_slot() local
106 pos = zend_hash_find(hash, key); in add_static_slot()
107 if (pos) { in add_static_slot()
108 ret = Z_LVAL_P(pos); in add_static_slot()
123 zval zv, *pos; in zend_optimizer_compact_literals() local
362 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
378 if ((pos = zend_hash_find(&hash, key)) != NULL in zend_optimizer_compact_literals()
380 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
400 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
423 if (key && (pos = zend_hash_find(&hash, key)) != NULL && in zend_optimizer_compact_literals()
[all …]
/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/ext/sysvshm/
H A Dsysvshm.c403 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.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1383 size_t pos; in mbfl_strcut() member
1424 _bk.pos = device.pos; in mbfl_strcut()
1441 device.pos = _bk.pos; in mbfl_strcut()
1452 bk.pos = device.pos; in mbfl_strcut()
1464 device.pos = _bk.pos; in mbfl_strcut()
1475 device.pos = bk.pos; in mbfl_strcut()
1493 device.pos = bk.pos; in mbfl_strcut()
1506 _bk.pos = device.pos; in mbfl_strcut()
1517 device.pos = bk.pos; in mbfl_strcut()
1529 device.pos = _bk.pos; in mbfl_strcut()
[all …]
/PHP-7.4/ext/standard/
H A Dmail.c51 #define SKIP_LONG_HEADER_SEP(str, pos) \ argument
52 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \
53 pos += 2; \
54 while (str[pos + 1] == ' ' || str[pos + 1] == '\t') { \
55 pos++; \
H A Dpassword.c70 size_t pos = 0; in php_password_salt_to64() local
81 for (pos = 0; pos < out_len; pos++) { in php_password_salt_to64()
82 if (ZSTR_VAL(buffer)[pos] == '+') { in php_password_salt_to64()
83 ret[pos] = '.'; in php_password_salt_to64()
84 } else if (ZSTR_VAL(buffer)[pos] == '=') { in php_password_salt_to64()
88 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64()
/PHP-7.4/ext/hash/
H A Dphp_hash_whirlpool.h27 int pos; member
H A Dhash_sha3.c162 size_t len = block_size - ctx->pos; in PHP_SHA3_Update()
171 ctx->state[ctx->pos++] ^= *(buf++); in PHP_SHA3_Update()
174 if (ctx->pos >= block_size) { in PHP_SHA3_Update()
176 ctx->pos = 0; in PHP_SHA3_Update()
188 ctx->state[ctx->pos++] ^= 0x06; in PHP_SHA3_Final()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c377 zend_llist_position pos; in sapi_lsapi_send_headers_like_cgi() local
472 zend_llist_position pos; in sapi_lsapi_send_headers() local
483 h = zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_lsapi_send_headers()
488 h = zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_lsapi_send_headers()
902 cb(path_stop, pos, data); in walk_down_the_path()
904 while ((pos = skip_slash(pos))[0]) { in walk_down_the_path()
905 pos = strchr(pos, DEFAULT_SLASH); in walk_down_the_path()
906 if (!pos) { in walk_down_the_path()
912 cb(path_stop, pos, data); in walk_down_the_path()
1720 zend_llist_position pos; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/spl/tests/
H A Diterator_008.phpt37 $pos =0;
41 if ($pos++ > 5) {
/PHP-7.4/ext/curl/
H A Dmulti.c141 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()
412 zend_llist_position pos; in _php_curl_multi_close() local
416 for (pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch; in _php_curl_multi_close()
417 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) { in _php_curl_multi_close()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_log.c297 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.4/ext/intl/tests/
H A Dbug61487.phpt2 grapheme() str[i]pos limits
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp68 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.4/ext/gd/libgd/
H A Dgd_io_file.c114 static int fileSeek (struct gdIOCtx *ctx, const int pos) in fileSeek() argument
119 return (fseek (fctx->f, pos, SEEK_SET) == 0); in fileSeek()
/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_string.c682 int pos = 0; in grapheme_extract_charcount_iter() local
688 pos = ubrk_next(bi); in grapheme_extract_charcount_iter()
690 if ( UBRK_DONE == pos ) { in grapheme_extract_charcount_iter()
694 for ( break_pos = ret_pos; break_pos < pos; ) { in grapheme_extract_charcount_iter()
722 int pos = 0; in grapheme_extract_bytecount_iter() local
726 pos = ubrk_next(bi); in grapheme_extract_bytecount_iter()
728 if ( UBRK_DONE == pos ) { in grapheme_extract_bytecount_iter()
732 if ( pos > bsize ) { in grapheme_extract_bytecount_iter()
736 ret_pos = pos; in grapheme_extract_bytecount_iter()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c82 zend_llist_position pos; in phpdbg_webdata_compress() local
93 extension = (zend_extension *) zend_llist_get_first_ex(&zend_extensions, &pos); in phpdbg_webdata_compress()
98 extension = (zend_extension *) zend_llist_get_next_ex(&zend_extensions, &pos); in phpdbg_webdata_compress()
/PHP-7.4/ext/pdo/
H A Dpdo_sql_parser.re73 char *pos;
125 plc->pos = s.tok;
187 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
221 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
340 t = plc->pos - ptr;
349 memcpy(newbuffer, plc->pos, plc->len);
352 ptr = plc->pos + plc->len;
389 name = estrndup(plc->pos, plc->len);
429 name = estrndup(plc->pos, plc->len);
/PHP-7.4/Zend/
H A Dzend_hash.c439 while (pos < ht->nNumUsed && Z_ISUNDEF(ht->arData[pos].val)) { in _zend_hash_get_valid_pos()
440 pos++; in _zend_hash_get_valid_pos()
442 return pos; in _zend_hash_get_valid_pos()
467 iter->pos = pos; in zend_hash_iterator_add()
485 iter->pos = pos; in zend_hash_iterator_add()
508 return iter->pos; in zend_hash_iterator_pos()
530 return iter->pos; in zend_hash_iterator_pos_ex()
582 if (iter->pos >= start && iter->pos < res) { in zend_hash_iterators_lower_pos()
2299 *pos = idx; in zend_hash_internal_pointer_end_ex()
2323 *pos = idx; in zend_hash_move_forward_ex()
[all …]
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_blacklist.h36 int pos; member
/PHP-7.4/ext/dba/libcdb/
H A Dcdb_make.h50 uint32 pos; member
/PHP-7.4/ext/spl/
H A Dphp_spl.c313 char *pos, *pos1; in PHP_FUNCTION() local
321 pos = SPL_DEFAULT_FILE_EXTENSIONS; in PHP_FUNCTION()
324 pos = ZSTR_VAL(file_exts); in PHP_FUNCTION()
329 while (pos && *pos && !EG(exception)) { in PHP_FUNCTION()
330 pos1 = strchr(pos, ','); in PHP_FUNCTION()
332 pos1_len = (int)(pos1 - pos); in PHP_FUNCTION()
336 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
339 pos = pos1 ? pos1 + 1 : NULL; in PHP_FUNCTION()
406 HashPosition pos; in PHP_FUNCTION() local
459 if (pos + 1 == SPL_G(autoload_functions)->nNumUsed || in PHP_FUNCTION()
[all …]

Completed in 87 milliseconds

1234567