Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 178) sorted by relevance

12345678

/PHP-8.2/ext/tokenizer/tests/
H A DPhpToken_tokenize.phpt29 ["pos"]=>
40 ["pos"]=>
51 ["pos"]=>
62 ["pos"]=>
73 ["pos"]=>
84 ["pos"]=>
95 ["pos"]=>
106 ["pos"]=>
118 ["pos"]=>
129 ["pos"]=>
[all …]
/PHP-8.2/ext/standard/
H A Dhtml.c120 pos++; in get_next_char()
128 MB_FAILURE(pos, utf8_lead(str[pos + 1]) ? 1 : 2); in get_next_char()
134 pos += 2; in get_next_char()
154 pos += 3; in get_next_char()
175 pos += 4; in get_next_char()
199 pos += 2; in get_next_char()
202 pos += 1; in get_next_char()
225 pos += 2; in get_next_char()
228 pos += 1; in get_next_char()
250 pos += 2; in get_next_char()
[all …]
H A Dformatted_print.c54 if ((*pos + 1) >= ZSTR_LEN(*buffer)) { in php_sprintf_appendchar()
59 ZSTR_VAL(*buffer)[(*pos)++] = add; in php_sprintf_appendchar()
67 if ((*pos + len) >= ZSTR_LEN(*buffer)) { in php_sprintf_appendchars()
73 } while ((*pos + len) >= nlen); in php_sprintf_appendchars()
77 memcpy(ZSTR_VAL(*buffer) + (*pos), add, len); in php_sprintf_appendchars()
78 *pos += len; in php_sprintf_appendchars()
100 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring()
104 req_size = *pos + m_width + 1; in php_sprintf_appendstring()
125 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
130 *pos += copy_len; in php_sprintf_appendstring()
[all …]
/PHP-8.2/ext/mbstring/libmbfl/mbfl/
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 …]
/PHP-8.2/ext/opcache/jit/dynasm/
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
174 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
219 *pl = pos; in dasm_put()
221 pos++; in dasm_put()
245 b[pos++] = n; in dasm_put()
249 b[pos++] = n; in dasm_put()
256 sec->pos = pos; in dasm_put()
[all …]
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
174 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
215 b[pos] = -n; in dasm_put()
219 *pl = pos; in dasm_put()
221 pos++; in dasm_put()
245 b[pos++] = n; in dasm_put()
252 sec->pos = pos; in dasm_put()
[all …]
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_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
176 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put() local
237 b[pos] = -n; in dasm_put()
241 *pl = pos; in dasm_put()
243 pos++; in dasm_put()
274 sec->pos = pos; in dasm_put()
338 pos += 2; in dasm_link()
[all …]
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
183 int pos = sec->pos, ofs = sec->ofs; in dasm_put() local
228 *pl = pos; in dasm_put()
230 pos++; in dasm_put()
252 b[pos++] = n; in dasm_put()
262 b[pos++] = n; in dasm_put()
273 sec->pos = pos; in dasm_put()
[all …]
/PHP-8.2/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt6 private $pos=0;
18 $this->pos++;
24 $this->pos=0;
30 return $this->myContent[$this->pos];
36 return "meal " . $this->pos;
42 private $pos=0;
54 $this->pos++;
60 $this->pos=0;
66 return $this->myContent[$this->pos];
72 return "meal " . $this->pos;
[all …]
H A DforeachLoopIterator.001.phpt7 private $pos=0;
12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
13 return $this->pos<3;
18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
19 $this->myContent[$this->pos++];
24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
25 $this->pos=0;
30 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
31 return $this->myContent[$this->pos];
37 return "meal " . $this->pos;
[all …]
H A DforeachLoopIteratorAggregate.003.phpt6 private $pos=0;
11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
12 return $this->pos<3;
17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
18 $this->myContent[$this->pos++];
23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
24 $this->pos=0;
29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
30 return $this->myContent[$this->pos];
35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
[all …]
/PHP-8.2/ext/dba/libcdb/
H A Dcdb.c44 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) in cdb_match() argument
53 if (cdb_read(c, buf, n, pos) == -1) in cdb_match()
57 pos += n; in cdb_match()
102 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read() argument
104 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
130 uint32 pos; in cdb_findnext() local
151 uint32_unpack(buf + 4, &pos); in cdb_findnext()
152 if (!pos) in cdb_findnext()
160 if (cdb_read(c, buf, 8, pos) == -1) in cdb_findnext()
164 switch(cdb_match(c, key, len, pos + 8)) { in cdb_findnext()
[all …]
/PHP-8.2/ext/intl/tests/
H A Drbbiter_getRuleStatus_basic.phpt27 echo "pos : {$rbbi->current()}\n",
33 pos : 0
35 pos : 12
37 pos : 16
39 pos : 17
41 pos : 19
H A Dformatter_parse_currency.phpt17 $pos = 0;
19 $num = ut_nfmt_parse_currency( $fmt, '$9,988,776.65', $currency, $pos );
23 $pos = 1;
25 $num = ut_nfmt_parse_currency( $fmt, ' $123.45', $currency, $pos );
/PHP-8.2/ext/standard/tests/file/
H A Dinclude_userstream_001.phpt10 private $pos;
15 $this->pos = strlen($this->data);
24 $ret = substr($this->data, $this->pos, $count);
25 $this->pos += strlen($ret);
31 return $this->pos;
36 return $this->pos >= strlen($this->data);
44 $this->pos = $offset;
52 $this->pos += $offset;
60 $this->pos = strlen($this->data) + $offset;
H A Dinclude_userstream_002.phpt11 private $pos;
21 $this->pos = strlen($this->data);
23 $this->pos = 0;
33 $ret = substr($this->data, $this->pos, $count);
34 $this->pos += strlen($ret);
43 return $this->pos;
51 return $this->pos >= strlen($this->data);
62 $this->pos = $offset;
70 $this->pos += $offset;
78 $this->pos = strlen($this->data) + $offset;
/PHP-8.2/ext/gd/libgd/
H A Dgd_io_dp.c35 int pos; member
146 return (dctx->dp->pos); in dynamicTell()
155 if (pos < 0) { in dynamicSeek()
165 bytesNeeded = pos; in dynamicSeek()
177 if (pos > dp->logicalSize) { in dynamicSeek()
178 dp->logicalSize = pos; in dynamicSeek()
181 dp->pos = pos; in dynamicSeek()
194 dp->pos = 0; in newDynamic()
250 dp->pos += rlen; in dynamicGetbuf()
290 dp->pos = 0; in allocDynamic()
[all …]
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_stdio.c177 int in_buf = 0, cmd_pos = 0, pos, start; local
238 for (pos = start; pos < in_buf; pos++) {
239 switch (buf[pos]) {
243 start = pos + 1;
246 if (pos + sizeof(FPM_STDIO_CMD_FLUSH) <= in_buf) {
250 start = pos + sizeof(FPM_STDIO_CMD_FLUSH);
251 pos = start - 1;
253 } else if (!memcmp(buf + pos, FPM_STDIO_CMD_FLUSH, in_buf - pos)) {
254 cmd_pos = in_buf - pos;
261 if (start < pos) {
[all …]
/PHP-8.2/ext/simplexml/tests/
H A Dbug36611.phpt11 <pos >
12 <pos/>
13 </pos>
22 $xml->pos["act_idx"] = $val;
/PHP-8.2/ext/intl/grapheme/
H A Dgrapheme_util.c235 int ret_len, pos; in grapheme_split_string() local
246 pos = 0; in grapheme_split_string()
250 pos = ubrk_next(bi); in grapheme_split_string()
252 if ( pos != UBRK_DONE ) { in grapheme_split_string()
272 int pos = 0; in grapheme_count_graphemes() local
279 pos = ubrk_next(bi); in grapheme_count_graphemes()
281 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
295 int32_t pos; in grapheme_get_haystack_offset() local
313 pos = 0; in grapheme_get_haystack_offset()
317 pos = iter_op(bi); in grapheme_get_haystack_offset()
[all …]
/PHP-8.2/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c181 int pos; in mbfl_filt_conv_html_dec() local
199 for (pos=3; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec()
200 int v = buffer[pos]; in mbfl_filt_conv_html_dec()
219 for (pos=2; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec()
224 int v = buffer[pos]; in mbfl_filt_conv_html_dec()
240 for (pos = 0; pos < filter->status; pos++) { in mbfl_filt_conv_html_dec()
241 CK((*filter->output_function)(buffer[pos], filter->data)); in mbfl_filt_conv_html_dec()
268 pos = 0; in mbfl_filt_conv_html_dec()
288 pos = 0; in mbfl_filt_conv_html_dec()
308 int status, pos = 0; in mbfl_filt_conv_html_dec_flush() local
[all …]
/PHP-8.2/main/streams/
H A Dglob_wrapper.c110 const char *pos, *gpath = path; in php_glob_stream_path_split() local
112 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split()
113 path = pos+1; in php_glob_stream_path_split()
116 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split()
117 path = pos+1; in php_glob_stream_path_split()
219 const char *tmp, *pos; in php_glob_stream_opener() local
254 pos = path; in php_glob_stream_opener()
255 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener()
256 pos = tmp+1; in php_glob_stream_opener()
260 pos = tmp+1; in php_glob_stream_opener()
[all …]
/PHP-8.2/Zend/tests/
H A Dbug78340.phpt10 private $bytes, $pos, $ino;
14 $this->pos= 0;
20 $chunk= substr($this->bytes, $this->pos, $count);
21 $this->pos+= strlen($chunk);
26 return $this->pos >= strlen($this->bytes);
/PHP-8.2/ext/opcache/
H A Dzend_accelerator_blacklist.c54 blacklist->pos = 0; in zend_accel_blacklist_init()
83 if (blacklist->pos == 0) { in zend_accel_blacklist_update_regexp()
95 for (i = 0; i < blacklist->pos; ) { in zend_accel_blacklist_update_regexp()
163 if (*c || i == blacklist->pos - 1) { in zend_accel_blacklist_update_regexp()
234 if (blacklist->pos == blacklist->size) { in zend_accel_blacklist_allocate()
304 blacklist->entries[blacklist->pos].path_length = path_length; in zend_accel_blacklist_loadone()
305 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
306 if (!blacklist->entries[blacklist->pos].path) { in zend_accel_blacklist_loadone()
311 blacklist->entries[blacklist->pos].id = blacklist->pos; in zend_accel_blacklist_loadone()
313 blacklist->pos++; in zend_accel_blacklist_loadone()
[all …]

Completed in 54 milliseconds

12345678