Home
last modified time | relevance | path

Searched refs:pos (Results 101 – 125 of 219) sorted by path

123456789

/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c177 mbfl_convert_filter_feed_string(filter, src->buffer, src->pos); in mbfl_convert_filter_devcat()
H A Dmbfl_memory_device.c44 device->pos = 0; in mbfl_memory_device_init()
63 device->length = device->pos = 0; in mbfl_memory_device_clear()
68 device->pos = 0; in mbfl_memory_device_reset()
73 if (device->pos > 0) { in mbfl_memory_device_unput()
74 device->pos--; in mbfl_memory_device_unput()
80 result->len = device->pos; in mbfl_memory_device_result()
84 device->length = device->pos = 0; in mbfl_memory_device_result()
132 device->pos += len; in mbfl_memory_device_strncat()
146 device->pos = 0; in mbfl_wchar_device_init()
156 device->length = device->pos = 0; in mbfl_wchar_device_clear()
[all …]
H A Dmbfl_memory_device.h42 size_t pos; member
49 size_t pos; member
/php-src/ext/mbstring/
H A Dmbstring.c591 while (*pos && *pos != stop) { in php_mb_rfc1867_getword()
593 ++pos; in php_mb_rfc1867_getword()
594 while (*pos && *pos != quote) { in php_mb_rfc1867_getword()
595 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_mb_rfc1867_getword()
596 pos += 2; in php_mb_rfc1867_getword()
598 ++pos; in php_mb_rfc1867_getword()
601 if (*pos) { in php_mb_rfc1867_getword()
602 ++pos; in php_mb_rfc1867_getword()
621 *line = pos; in php_mb_rfc1867_getword()
1877 return pos; in offset_to_pointer_utf8()
[all …]
H A Dphp_mbregex.c1003 OnigUChar *pos; in _php_mb_regex_ereg_replace_exec() local
1063 pos = (OnigUChar *)string; in _php_mb_regex_ereg_replace_exec()
1123 if (pos < string_lim) { in _php_mb_regex_ereg_replace_exec()
1126 pos++; in _php_mb_regex_ereg_replace_exec()
1130 if (string_lim - pos > 0) { in _php_mb_regex_ereg_replace_exec()
1131 smart_str_appendl(&out_buf, (char *)pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
1183 OnigUChar *pos, *chunk_pos; in PHP_FUNCTION() local
1231 pos++; in PHP_FUNCTION()
1327 size_t n, i, pos, len; in _php_mb_regex_ereg_search_exec() local
1357 pos = MBREX(search_pos); in _php_mb_regex_ereg_search_exec()
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt327 'Co tě nezabije, to tě posílí.',
H A Dmb_ereg_search_setpos.phpt24 foreach($positions as $pos) {
25 echo("\n* Position: $pos :\n");
27 var_dump(mb_ereg_search_setpos($pos));
H A Dmb_substr.phpt126 $pos = mb_strpos($data, "<", 0, "UTF-8");
127 $out = mb_substr($data, 0, $pos, "UTF-8");
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c477 zend_llist_position pos; local
479 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos);
481 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos))
505 zend_llist_position pos; local
507 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos);
509 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos))
H A Dmysqli_prop.c208 zend_llist_position pos; in link_error_list_read() local
209 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos); in link_error_list_read()
211 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos)) in link_error_list_read()
347 zend_llist_position pos; in stmt_error_list_read() local
348 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos); in stmt_error_list_read()
350 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos)) in stmt_error_list_read()
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_metadata.phpt151 $pos = mt_rand(-1, $num + 1);
152 if ($pos >= 0 && $pos < $num) {
155 if (true !== $res_meta->field_seek($pos))
167 if ($tmp1 != $fields['res'][$pos]) {
170 var_dump($fields['res'][$pos]);
173 $pos++;
176 gettype($pos), $pos, gettype($tmp), $tmp);
180 gettype($pos), $pos, gettype($tmp), $tmp);
183 $tmp = @mysqli_field_seek($res, $pos);
184 if ($pos >= $num && $tmp !== false) {
[all …]
H A Dmysqli_stmt_get_result_seek.phpt72 $pos = mt_rand(-1, 4);
74 $tmp = @mysqli_data_seek($res, $pos);
75 if (($pos >= 0 && $pos < 3)) {
79 if ($row[0] !== $pos + 1)
80 printf("[016] Expecting id = %d for pos %d got %s/%s\n",
81 $pos + 1, $pos, gettype($row[0]), $row[0]);
/php-src/ext/opcache/
H A DZendAccelerator.c410 #define STRTAB_POS_TO_STR(tab, pos) \ argument
468 zend_string_table_pos_t pos; in accel_find_interned_string() local
493 pos = STRTAB_COLLISION(s); in accel_find_interned_string()
494 } while (pos != STRTAB_INVALID_POS); in accel_find_interned_string()
503 zend_string_table_pos_t pos, *hash_slot; in accel_new_interned_string() local
519 pos = *hash_slot; in accel_new_interned_string()
526 pos = STRTAB_COLLISION(s); in accel_new_interned_string()
527 } while (pos != STRTAB_INVALID_POS); in accel_new_interned_string()
578 zend_string_table_pos_t pos; in accel_find_interned_string_ex() local
589 pos = STRTAB_COLLISION(s); in accel_find_interned_string_ex()
[all …]
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm.h46 #define DASM_POS2IDX(pos) ((pos)&0x00ffffff) argument
47 #define DASM_POS2BIAS(pos) ((pos)&0xff000000) argument
49 #define DASM_POS2SEC(pos) ((pos)>>24) argument
50 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos)) argument
178 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
223 *pl = pos; in dasm_put()
225 pos++; in dasm_put()
247 b[pos++] = n; in dasm_put()
257 b[pos++] = n; in dasm_put()
268 sec->pos = pos; in dasm_put()
[all …]
H A Ddasm_arm.lua120 local pos = #actlist+1
121 actlist[pos] = ""
122 return pos
126 local function wputpos(pos, n)
129 insert(actlist, pos+1, n)
132 actlist[pos] = n
829 local function parse_template(params, template, nparams, pos)
922 wputpos(pos, op)
931 local pos = wpos()
936 ok, err = pcall(parse_template, params, t, nparams, pos)
H A Ddasm_arm64.h48 #define DASM_POS2IDX(pos) ((pos)&0x00ffffff) argument
49 #define DASM_POS2BIAS(pos) ((pos)&0xff000000) argument
51 #define DASM_POS2SEC(pos) ((pos)>>24) argument
52 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos)) argument
225 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
270 *pl = pos; in dasm_put()
272 pos++; in dasm_put()
276 b[pos++] = n; in dasm_put()
299 b[pos++] = n; in dasm_put()
342 sec->pos = pos; in dasm_put()
[all …]
H A Ddasm_arm64.lua122 local pos = #actlist+1
123 actlist[pos] = ""
124 return pos
128 local function wputpos(pos, n)
131 insert(actlist, pos+1, n)
134 actlist[pos] = n
908 local function parse_template(params, template, nparams, pos)
1004 wputpos(pos, op)
1013 local pos = wpos()
1018 ok, err = pcall(parse_template, params, t, nparams, pos)
H A Ddasm_mips.h45 #define DASM_POS2IDX(pos) ((pos)&0x00ffffff) argument
46 #define DASM_POS2BIAS(pos) ((pos)&0xff000000) argument
48 #define DASM_POS2SEC(pos) ((pos)>>24) argument
49 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos)) argument
169 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
210 b[pos] = -n; in dasm_put()
214 *pl = pos; in dasm_put()
216 pos++; in dasm_put()
240 b[pos++] = n; in dasm_put()
247 sec->pos = pos; in dasm_put()
[all …]
H A Ddasm_mips.lua123 local pos = #actlist+1
124 actlist[pos] = ""
125 return pos
129 local function wputpos(pos, n)
131 actlist[pos] = n
956 local pos = wpos()
1014 wputpos(pos, op)
H A Ddasm_ppc.h45 #define DASM_POS2IDX(pos) ((pos)&0x00ffffff) argument
46 #define DASM_POS2BIAS(pos) ((pos)&0xff000000) argument
48 #define DASM_POS2SEC(pos) ((pos)>>24) argument
49 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos)) argument
169 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
214 *pl = pos; in dasm_put()
216 pos++; in dasm_put()
240 b[pos++] = n; in dasm_put()
244 b[pos++] = n; in dasm_put()
251 sec->pos = pos; in dasm_put()
[all …]
H A Ddasm_ppc.lua122 local pos = #actlist+1
123 actlist[pos] = ""
124 return pos
128 local function wputpos(pos, n)
130 actlist[pos] = n
1659 local pos = wpos()
1750 wputpos(pos, op)
H A Ddasm_x86.h44 #define DASM_POS2IDX(pos) ((pos)&0x00ffffff) argument
45 #define DASM_POS2BIAS(pos) ((pos)&0xff000000) argument
47 #define DASM_POS2SEC(pos) ((pos)>>24) argument
48 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos)) argument
171 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put() local
234 b[pos] = -n; in dasm_put()
238 *pl = pos; in dasm_put()
240 pos++; in dasm_put()
271 sec->pos = pos; in dasm_put()
339 pos += 2; in dasm_link()
[all …]
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/opcache/jit/ir/
H A Dir.c1437 pos = 0;
1458 tab->pos = 0;
1480 pos = p->next;
1504 pos = tab->pos;
1536 pos = 0;
1566 pos = 0;
1587 tab->pos = 0;
1634 pos = tab->pos;
2008 IR_ASSERT(pos > 0 && pos < insn->inputs_count);
2179 IR_ASSERT(pos > 0 && pos <= insn->inputs_count);
[all …]
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);

Completed in 206 milliseconds

123456789