/PHP-5.5/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 69 int32_t pos = biter->next(); in _breakiterator_move_forward() local 70 if (pos != BreakIterator::DONE) { in _breakiterator_move_forward() 72 ZVAL_LONG(zoi_iter->current, (long)pos); in _breakiterator_move_forward() 81 int32_t pos = biter->first(); in _breakiterator_rewind() local 83 ZVAL_LONG(zoi_iter->current, (long)pos); in _breakiterator_rewind()
|
/PHP-5.5/ext/opcache/ |
H A D | zend_shared_alloc.c | 279 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() 313 …if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a v… in zend_shared_alloc() 314 …void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); in zend_shared_alloc() 316 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc() 457 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state() 467 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
|
H A D | zend_accelerator_blacklist.h | 36 int pos; member
|
H A D | shared_alloc_mmap.c | 55 shared_segment->pos = 0; in create_segments()
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fastcgi.c | 603 HashPosition pos; in fcgi_read_request() local 620 zend_hash_internal_pointer_reset_ex(req->env, &pos); in fcgi_read_request() 621 …hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_E… in fcgi_read_request() 623 zend_hash_move_forward_ex(req->env, &pos); in fcgi_read_request() 1028 int pos = 0; local 1032 while ((len - pos) > 0xffff) { 1039 if (safe_write(req, str + pos, 0xfff8) != 0xfff8) { 1043 pos += 0xfff8; 1046 pad = (((len - pos) + 7) & ~7) - (len - pos); 1050 fcgi_make_header(req->out_hdr, type, req->id, (len - pos) - rest); [all …]
|
/PHP-5.5/sapi/cgi/ |
H A D | fastcgi.c | 171 char *pos; member 192 h->data->pos = h->data->data; in fcgi_hash_init() 235 h->data->pos = h->data->data; in fcgi_hash_clean() 246 p->pos = p->data; in fcgi_hash_strndup() 247 p->end = p->pos + seg_size; in fcgi_hash_strndup() 251 ret = h->data->pos; in fcgi_hash_strndup() 254 h->data->pos += str_len + 1; in fcgi_hash_strndup() 1413 int pos = 0; local 1428 pos += 0xfff8; 1431 pad = (((len - pos) + 7) & ~7) - (len - pos); [all …]
|
/PHP-5.5/ext/standard/ |
H A D | streamsfuncs.c | 459 long maxlen = PHP_STREAM_COPY_ALL, pos = 0; in PHP_FUNCTION() local 470 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION() 557 HashPosition pos; in PHP_FUNCTION() local 559 zend_hash_internal_pointer_reset_ex(stream_xport_hash, &pos); in PHP_FUNCTION() 562 &num_key, 0, &pos) == HASH_KEY_IS_STRING) { in PHP_FUNCTION() 564 zend_hash_move_forward_ex(stream_xport_hash, &pos); in PHP_FUNCTION() 587 HashPosition pos; in PHP_FUNCTION() local 591 zend_hash_move_forward_ex(url_stream_wrappers_hash, &pos)) { in PHP_FUNCTION() 927 HashPosition pos, opos; in parse_context_options() local 934 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(options), &pos); in parse_context_options() [all …]
|
H A D | var.c | 637 HashPosition pos; in php_var_serialize_class() local 645 zend_hash_internal_pointer_reset_ex(HASH_OF(retval_ptr), &pos); in php_var_serialize_class() 647 for (;; zend_hash_move_forward_ex(HASH_OF(retval_ptr), &pos)) { in php_var_serialize_class() 648 i = zend_hash_get_current_key_ex(HASH_OF(retval_ptr), &key, NULL, &index, 0, &pos); in php_var_serialize_class() 657 zend_hash_get_current_data_ex(HASH_OF(retval_ptr), (void **) &name, &pos); in php_var_serialize_class() 856 HashPosition pos; in php_var_serialize_intern() local 858 zend_hash_internal_pointer_reset_ex(myht, &pos); in php_var_serialize_intern() 859 for (;; zend_hash_move_forward_ex(myht, &pos)) { in php_var_serialize_intern() 860 i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos); in php_var_serialize_intern() 879 if (zend_hash_get_current_data_ex(myht, (void **) &data, &pos) != SUCCESS in php_var_serialize_intern()
|
/PHP-5.5/Zend/ |
H A D | zend_objects.c | 190 HashPosition pos; in zend_objects_clone_members() local 192 for (zend_hash_internal_pointer_reset_ex(&old_object->ce->properties_info, &pos); in zend_objects_clone_members() 193 …zend_hash_get_current_data_ex(&old_object->ce->properties_info, (void**)&prop_info, &pos) == SUCCE… in zend_objects_clone_members() 194 zend_hash_move_forward_ex(&old_object->ce->properties_info, &pos)) { in zend_objects_clone_members()
|
H A D | zend_static_allocator.h | 33 char *pos; member
|
H A D | zend_list.c | 318 HashPosition pos; in zend_fetch_list_dtor_id() local 320 zend_hash_internal_pointer_reset_ex(&list_destructors, &pos); in zend_fetch_list_dtor_id() 321 while (zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) == SUCCESS) { in zend_fetch_list_dtor_id() 328 zend_hash_move_forward_ex(&list_destructors, &pos); in zend_fetch_list_dtor_id()
|
H A D | zend_builtin_functions.c | 906 HashPosition pos; in add_class_vars() local 916 zend_hash_move_forward_ex(&ce->properties_info, &pos); in add_class_vars() 987 HashPosition pos; in ZEND_FUNCTION() local 1012 zend_hash_internal_pointer_reset_ex(properties, &pos); in ZEND_FUNCTION() 1023 zend_hash_move_forward_ex(properties, &pos); in ZEND_FUNCTION() 1043 HashPosition pos; in ZEND_FUNCTION() local 1104 zend_hash_move_forward_ex(&ce->function_table, &pos); in ZEND_FUNCTION() 1955 HashPosition pos; in ZEND_FUNCTION() local 1967 zend_hash_internal_pointer_reset_ex(&module_registry, &pos); in ZEND_FUNCTION() 1971 zend_hash_move_forward_ex(&module_registry, &pos); in ZEND_FUNCTION() [all …]
|
H A D | zend_stream.h | 46 size_t pos; member
|
/PHP-5.5/ext/mbstring/libmbfl/tests/ |
H A D | emoji.c | 75 dev.pos += strlen(str); in main() 104 dev2.pos += strlen(dev2.buffer); in main()
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_io.c | 134 int gdSeek (gdIOCtx * ctx, const int pos) in gdSeek() argument 137 return ((ctx->seek) (ctx, pos)); in gdSeek()
|
/PHP-5.5/ext/pdo/ |
H A D | pdo_sql_parser.c | 428 char *pos; member 471 plc->pos = s.tok; in pdo_parse_params() 526 if (zend_hash_find(params, plc->pos, plc->len, (void**) ¶m) == FAILURE) { in pdo_parse_params() 551 ret = zend_hash_find(params, plc->pos, plc->len, (void**) ¶m); in pdo_parse_params() 640 t = plc->pos - ptr; in pdo_parse_params() 647 ptr = plc->pos + plc->len; in pdo_parse_params() 679 name = estrndup(plc->pos, plc->len); in pdo_parse_params() 720 name = estrndup(plc->pos, plc->len); in pdo_parse_params()
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | reggnu.c | 64 re_match(regex_t* reg, const char* str, int size, int pos, in re_match() argument 68 (UChar* )(str + pos), regs, ONIG_OPTION_NONE); in re_match()
|
/PHP-5.5/main/streams/ |
H A D | cast.c | 249 off_t pos; in _php_stream_cast() local 255 pos = php_stream_tell(stream); in _php_stream_cast() 256 if (pos > 0) { in _php_stream_cast() 257 fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
|
/PHP-5.5/ext/dba/libcdb/ |
H A D | cdb_make.h | 52 uint32 pos; member
|
/PHP-5.5/ext/filter/ |
H A D | filter.c | 501 HashPosition pos; in php_zval_filter_recursive() local 507 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(value), &pos); in php_zval_filter_recursive() 508 zend_hash_get_current_data_ex(Z_ARRVAL_PP(value), (void **) &element, &pos) == SUCCESS; in php_zval_filter_recursive() 509 zend_hash_move_forward_ex(Z_ARRVAL_PP(value), &pos) in php_zval_filter_recursive() 686 HashPosition pos; in php_filter_array_handler() local 701 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(op), &pos); in php_filter_array_handler() 702 zend_hash_get_current_data_ex(Z_ARRVAL_PP(op), (void **) &arg_elm, &pos) == SUCCESS; in php_filter_array_handler() 703 zend_hash_move_forward_ex(Z_ARRVAL_PP(op), &pos)) in php_filter_array_handler() 705 …if (zend_hash_get_current_key_ex(Z_ARRVAL_PP(op), &arg_key, &arg_key_len, &index, 0, &pos) != HASH… in php_filter_array_handler()
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_007.phpt | 76 $pos =0; 83 if ($pos++ > 1) {
|
/PHP-5.5/ext/mysqli/ |
H A D | mysqli_prop.c | 210 zend_llist_position pos; in link_error_list_read() local 211 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(mysql->mysql->data->error_info->error_list, &pos); in link_error_list_read() 213 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(mysql->mysql->data->error_info->error_list, &pos)) in link_error_list_read() 407 zend_llist_position pos; in stmt_error_list_read() local 408 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(stmt->stmt->data->error_info->error_list, &pos); in stmt_error_list_read() 410 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(stmt->stmt->data->error_info->error_list, &pos)) in stmt_error_list_read()
|
/PHP-5.5/ext/phar/ |
H A D | tar.c | 209 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() local 791 pos = php_stream_tell(fp->new); /* save start of file within tar */ in phar_tar_writeheaders() 842 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders() 1003 char *pos; in phar_tar_flush() local 1041 pos = user_stub + (pos - tmp); in phar_tar_flush() [all …]
|
/PHP-5.5/ext/dba/libinifile/ |
H A D | inifile.h | 36 size_t pos; member
|
/PHP-5.5/ext/intl/tests/ |
H A D | dateformat_parse_localtime_parsepos.phpt | 2 datefmt_parse_localtime() with parse pos icu <= 4.2 10 * Test for the datefmt_parse_localtime function with parse pos
|