Home
last modified time | relevance | path

Searched refs:pos (Results 76 – 100 of 169) sorted by relevance

1234567

/PHP-7.2/ext/opcache/
H A Dzend_shared_alloc.c291 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block()
324 …if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a v… in zend_shared_alloc()
325 …void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); in zend_shared_alloc()
327 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc()
478 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state()
488 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
H A Dzend_accelerator_blacklist.h36 int pos; member
H A Dshared_alloc_posix.c74 shared_segment->common.pos = 0; in create_segments()
/PHP-7.2/ext/opcache/Optimizer/
H A Dcompact_literals.c121 zval zv, *pos; in zend_optimizer_compact_literals() local
397 if ((pos = zend_hash_index_find(&hash, Z_LVAL(op_array->literals[i]))) != NULL) { in zend_optimizer_compact_literals()
398 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
411 …if ((pos = zend_hash_str_find(&hash, (char*)&Z_DVAL(op_array->literals[i]), sizeof(double))) != NU… in zend_optimizer_compact_literals()
412 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
450 (pos = zend_hash_find(&hash, key)) != NULL && in zend_optimizer_compact_literals()
451 Z_TYPE(op_array->literals[i]) == Z_TYPE(op_array->literals[Z_LVAL_P(pos)]) && in zend_optimizer_compact_literals()
452 info[i].flags == info[Z_LVAL_P(pos)].flags) { in zend_optimizer_compact_literals()
455 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
/PHP-7.2/ext/intl/tests/
H A Dbug61487.phpt2 grapheme() str[i]pos limits
H A Ddateformat_parse_localtime_parsepos.phpt2 datefmt_parse_localtime() with parse pos icu <= 4.2
10 * Test for the datefmt_parse_localtime function with parse pos
/PHP-7.2/ext/spl/
H A Dphp_spl.c309 char *pos, *pos1; in PHP_FUNCTION() local
317 pos = SPL_DEFAULT_FILE_EXTENSIONS; in PHP_FUNCTION()
320 pos = ZSTR_VAL(file_exts); in PHP_FUNCTION()
326 while (pos && *pos && !EG(exception)) { in PHP_FUNCTION()
327 pos1 = strchr(pos, ','); in PHP_FUNCTION()
329 pos1_len = (int)(pos1 - pos); in PHP_FUNCTION()
333 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
336 pos = pos1 ? pos1 + 1 : NULL; in PHP_FUNCTION()
403 HashPosition pos; in PHP_FUNCTION() local
455 if (pos + 1 == SPL_G(autoload_functions)->nNumUsed || in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/mbstring/libmbfl/tests/
H A Demoji.c75 dev.pos += strlen(str); in main()
104 dev2.pos += strlen(dev2.buffer); in main()
/PHP-7.2/ext/pdo/
H A Dpdo_sql_parser.re70 char *pos;
117 plc->pos = s.tok;
172 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
197 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
315 t = plc->pos - ptr;
322 ptr = plc->pos + plc->len;
354 name = estrndup(plc->pos, plc->len);
394 name = estrndup(plc->pos, plc->len);
/PHP-7.2/ext/dba/libcdb/
H A Dcdb_make.h52 uint32 pos; member
/PHP-7.2/ext/mysqli/
H A Dmysqli_prop.c192 zend_llist_position pos; in link_error_list_read() local
193 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(mysql->mysql->data->error_info->error_list, &pos); in link_error_list_read()
195 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(mysql->mysql->data->error_info->error_list, &pos)) in link_error_list_read()
382 zend_llist_position pos; in stmt_error_list_read() local
383 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(stmt->stmt->data->error_info->error_list, &pos); in stmt_error_list_read()
385 …SQLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(stmt->stmt->data->error_info->error_list, &pos)) in stmt_error_list_read()
/PHP-7.2/main/streams/
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.2/ext/hash/
H A Dphp_hash_sha3.h27 uint32_t pos; member
/PHP-7.2/main/
H A Dfastcgi.c191 char *pos; member
266 h->data->pos = h->data->data; in fcgi_hash_init()
309 h->data->pos = h->data->data; in fcgi_hash_clean()
320 p->pos = p->data; in fcgi_hash_strndup()
321 p->end = p->pos + seg_size; in fcgi_hash_strndup()
325 ret = h->data->pos; in fcgi_hash_strndup()
328 h->data->pos += str_len + 1; in fcgi_hash_strndup()
1614 int pos = 0; local
1629 pos += 0xfff8;
1632 pad = (((len - pos) + 7) & ~7) - (len - pos);
[all …]
/PHP-7.2/win32/
H A Dioutil.c565 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w() local
574 for (; (size_t)(idx - *buf) <= len; idx++, pos++) { in php_win32_ioutil_normalize_path_w()
575 *pos = *idx; in php_win32_ioutil_normalize_path_w()
576 if (PHP_WIN32_IOUTIL_FW_SLASHW == *pos) { in php_win32_ioutil_normalize_path_w()
577 *pos = PHP_WIN32_IOUTIL_DEFAULT_SLASHW; in php_win32_ioutil_normalize_path_w()
/PHP-7.2/ext/spl/tests/
H A Diterator_007.phpt76 $pos =0;
83 if ($pos++ > 1) {
/PHP-7.2/ext/gd/libgd/
H A Dgd_io.c193 int gdSeek (gdIOCtx * ctx, const int pos) in gdSeek() argument
196 return ((ctx->seek) (ctx, pos)); in gdSeek()
/PHP-7.2/ext/standard/tests/strings/
H A Dstrrpos_negative_offset.phpt2 strr[i]pos() function with negative offset
/PHP-7.2/ext/phar/
H A Dtar.c209 size_t pos = 0, read, totalsize; in phar_parse_tarfile() local
252 pos += sizeof(buf); in phar_parse_tarfile()
257 pos = php_stream_tell(fp); in phar_parse_tarfile()
466 entry.offset = entry.offset_abs = pos; /* header_offset unused in tar */ in phar_parse_tarfile()
555 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile()
701 size_t pos; in phar_tar_writeheaders_int() local
795 pos = php_stream_tell(fp->new); /* save start of file within tar */ in phar_tar_writeheaders_int()
846 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
1018 char *pos; in phar_tar_flush() local
1070 pos = user_stub + (pos - tmp); in phar_tar_flush()
[all …]
/PHP-7.2/ext/dba/libflatfile/
H A Dflatfile.c112 size_t pos; in flatfile_delete() local
125 pos = php_stream_tell(dba->fp); in flatfile_delete()
131 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete()
/PHP-7.2/ext/soap/interop/
H A Dclient_round2_interop.php264 $pos = strpos($success,':');
265 if ($pos !== false) {
266 $success = substr($success,$pos+1);
515 $pos = strpos($res,':');
516 if ($pos !== false) {
517 $res = substr($res,$pos+1);
/PHP-7.2/ext/dba/libinifile/
H A Dinifile.h36 size_t pos; member
/PHP-7.2/Zend/
H A Dzend_stream.h49 size_t pos; member
H A Dzend_hash.h198 #define zend_hash_has_more_elements_ex(ht, pos) \ argument
199 (zend_hash_get_current_key_type_ex(ht, pos) == HASH_KEY_NON_EXISTENT ? FAILURE : SUCCESS)
200 ZEND_API int ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos);
201 ZEND_API int ZEND_FASTCALL zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos);
204 ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos);
205 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
206 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos);
207 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos);
262 ZEND_API uint32_t ZEND_FASTCALL zend_hash_iterator_add(HashTable *ht, HashPosition pos);
813 static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) in zend_hash_get_current_data_ptr_ex() argument
[all …]
/PHP-7.2/ext/soap/
H A Dphp_http.c1247 char *pos = NULL; in make_http_soap_request() local
1249 pos = strstr(content_type,";"); in make_http_soap_request()
1250 if (pos != NULL) { in make_http_soap_request()
1251 cmplen = pos - content_type; in make_http_soap_request()
1361 char *pos, *tmp = NULL; in get_http_header_value() local
1369 pos = headers; in get_http_header_value()
1376 tmp = pos + typelen; in get_http_header_value()
1387 pos = strchr(pos, '\n'); in get_http_header_value()
1388 if (pos) { in get_http_header_value()
1389 pos++; in get_http_header_value()
[all …]

Completed in 68 milliseconds

1234567