Home
last modified time | relevance | path

Searched refs:pos (Results 176 – 200 of 219) sorted by relevance

123456789

/php-src/Zend/
H A Dzend_operators.c2526 size_t pos=Z_STRLEN_P(str)-1; in increment_string() local
2569 ch = s[pos]; in increment_string()
2572 s[pos] = 'a'; in increment_string()
2575 s[pos]++; in increment_string()
2581 s[pos] = 'A'; in increment_string()
2584 s[pos]++; in increment_string()
2590 s[pos] = '0'; in increment_string()
2593 s[pos]++; in increment_string()
2604 } while (pos-- > 0); in increment_string()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.h158 lxb_html_token_t *token, lxb_dom_node_t *pos);
/php-src/ext/zip/
H A Dphp_zip.c1936 int pos = 0; local
1949 pos = ze_obj->buffers_cnt++;
1953 pos = 0;
1955 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1);
1956 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1);
1958 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0);
/php-src/ext/opcache/jit/ir/
H A Dir.h488 uint32_t pos; member
567 void *pos; member
742 ir_ref ir_param(ir_ctx *ctx, ir_type type, ir_ref region, const char *name, int pos);
H A Dir_gcm.c719 uint32_t n1, n2, pos; in ir_xlat_binding() local
728 pos = 0; in ir_xlat_binding()
745 ((uint32_t*)binding->data)[key] = pos; in ir_xlat_binding()
746 pos += sizeof(ir_hashtab_bucket); in ir_xlat_binding()
H A Dir_aarch64.dasc1172 if (IR_LIVE_POS_TO_REF(use_pos->pos) == use) {
6242 entry = ctx->code_buffer->pos;
6249 ctx->code_buffer->pos = (char*)entry + size;
6275 ctx->code_buffer->pos = (char*)entry - size;
6362 entry = code_buffer->pos;
6367 code_buffer->pos = (char*)entry + size;
6376 code_buffer->pos = (char*)entry - size;
6434 veneer = ctx->code_buffer->pos;
6494 ctx->code_buffer->pos = (char*)ctx->code_buffer->pos + 4;
6531 entry = code_buffer->pos;
[all …]
H A Dir_builder.h630 void _ir_PHI_SET_OP(ir_ctx *ctx, ir_ref phi, ir_ref pos, ir_ref src);
672 void _ir_MERGE_SET_OP(ir_ctx *ctx, ir_ref merge, ir_ref pos, ir_ref src);
688 void _ir_SNAPSHOT_SET_OP(ir_ctx *ctx, ir_ref snapshot, ir_ref pos, ir_ref val);
H A Dir_x86.dasc1656 ir_ref pos = ctx->prev_ref[root];
1659 ir_insn *insn = &ctx->ir_base[pos];
1667 pos = ctx->prev_ref[pos];
1668 } while (ref != pos);
10785 entry = ctx->code_buffer->pos;
10792 ctx->code_buffer->pos = (char*)entry + size;
10902 entry = code_buffer->pos;
10907 code_buffer->pos = (char*)entry + size;
10915 code_buffer->pos = (char*)entry - size;
10967 entry = code_buffer->pos;
[all …]
/php-src/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()
/php-src/ext/dom/
H A Dhtml5_parser.c351 token_error->pos - input_html + chunk_offset in lexbor_libxml2_bridge_report_errors()
H A Dphp_dom.h98 HashPosition pos; member
/php-src/sapi/cli/
H A Dphp_cli_server.c366 zend_llist_position pos; in append_essential_headers() local
367 …sapi_header_struct *h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in append_essential_headers()
375 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in append_essential_headers()
556 zend_llist_position pos; in sapi_cli_server_send_headers() local
571 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in sapi_cli_server_send_headers()
577 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in sapi_cli_server_send_headers()
/php-src/ext/xml/
H A Dxml.c496 size_t pos = 0; in xml_utf8_decode() local
516 while (pos < len) { in xml_utf8_decode()
518 c = php_next_utf8_char((const unsigned char*)s, len, &pos, &status); in xml_utf8_decode()
/php-src/ext/date/lib/
H A Dparse_iso_intervals.c75 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
331 s->pos = cursor; s->line++; in scan()
H A Dtimelib.h354 unsigned int pos; member
H A Dparse_date.re136 uchar *lim, *str, *ptr, *cur, *tok, *pos;
327 s->pos -= cnt;
336 s->pos = &buf[s->pos - s->bot];
1981 s->pos = cursor; s->line++;
/php-src/ext/sockets/
H A Dconversions.c150 zend_llist_position pos; in do_from_to_zval_err() local
156 for (node = zend_llist_get_first_ex(keys, &pos); in do_from_to_zval_err()
158 node = zend_llist_get_next_ex(keys, &pos)) { in do_from_to_zval_err()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c6456 int pos;
6459 pos=e;
6465 if(pos>e)e=pos;
6466 for(i=e;i>pos;i--){
6477 lua_rawseti(L,1,pos);
6483 if(!(1<=pos&&pos<=e))
6486 lua_rawgeti(L,1,pos);
6487 for(;pos<e;pos++){
6489 lua_rawseti(L,1,pos);
7005 if(pos<0)pos+=(ptrdiff_t)len+1;
[all …]
/php-src/ext/soap/
H A Dphp_schema.c2276 HashPosition pos; in schema_type_fixup() local
2277 zend_hash_internal_pointer_reset_ex(type->attributes, &pos); in schema_type_fixup()
2279 while ((attr = zend_hash_get_current_data_ptr_ex(type->attributes, &pos)) != NULL) { in schema_type_fixup()
2283 …if (zend_hash_get_current_key_ex(type->attributes, &str_key, &index, &pos) == HASH_KEY_IS_STRING) { in schema_type_fixup()
2285 zend_result result = zend_hash_move_forward_ex(type->attributes, &pos); in schema_type_fixup()
/php-src/ext/phar/
H A Dzip.c1254 char *pos; in phar_zip_flush() local
1359 if ((pos = php_stristr(user_stub, halt_stub, len, sizeof(halt_stub) - 1)) == NULL) { in phar_zip_flush()
1369 len = pos - user_stub + 18; in phar_zip_flush()
/php-src/win32/
H A Dsendmail.c198 char *pos = NULL; in TSendMail() local
/php-src/ext/ffi/
H A Dffi.c641 size_t pos = bit % 8; in zend_ffi_bit_field_read() local
649 return (*p >> pos) & mask; in zend_ffi_bit_field_read()
653 if (pos != 0) { in zend_ffi_bit_field_read()
654 size_t num_bits = 8 - pos; in zend_ffi_bit_field_read()
656 val = (*p++ >> pos) & mask; in zend_ffi_bit_field_read()
702 size_t pos = bit % 8; in zend_ffi_zval_to_bit_field() local
707 mask = ((1U << field->bits) - 1U) << pos; in zend_ffi_zval_to_bit_field()
708 *p = (*p & ~mask) | ((val << pos) & mask); in zend_ffi_zval_to_bit_field()
713 if (pos != 0) { in zend_ffi_zval_to_bit_field()
714 size_t num_bits = 8 - pos; in zend_ffi_zval_to_bit_field()
[all …]
/php-src/ext/hash/xxhash/
H A Dxxhash.h5558 { size_t pos = 0; in XXH3_generateSecret() local
5559 while (pos < secretSize) { in XXH3_generateSecret()
5560 size_t const toCopy = XXH_MIN((secretSize - pos), customSeedSize); in XXH3_generateSecret()
5561 memcpy((char*)secretBuffer + pos, customSeed, toCopy); in XXH3_generateSecret()
5562 pos += toCopy; in XXH3_generateSecret()
/php-src/ext/spl/
H A Dspl_array.c114 zend_hash_internal_pointer_reset_ex(ht, &EG(ht_iterators)[intern->ht_iter].pos); in spl_array_create_ht_iter()
124 return &EG(ht_iterators)[intern->ht_iter].pos; in spl_array_get_pos_ptr()
/php-src/ext/standard/
H A Dbasic_functions.c957 int pos = 0; local
974 argv[pos++] = estrdup(ZSTR_VAL(arg_str));

Completed in 236 milliseconds

123456789