Home
last modified time | relevance | path

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

12345678

/PHP-5.5/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c58 device->pos= 0; in mbfl_memory_device_init()
97 device->pos = 0; in mbfl_memory_device_clear()
105 device->pos = 0; in mbfl_memory_device_reset()
113 device->pos--; in mbfl_memory_device_unput()
126 device->pos= 0; in mbfl_memory_device_result()
240 device->pos += len; in mbfl_memory_device_strcat()
281 if ((dest->pos + src->pos) >= dest->length) { in mbfl_memory_device_devcat()
294 n = src->pos; in mbfl_memory_device_devcat()
295 dest->pos += n; in mbfl_memory_device_devcat()
310 device->pos= 0; in mbfl_wchar_device_init()
[all …]
/PHP-5.5/ext/standard/
H A Dhtml.c116 pos++; in get_next_char()
124 MB_FAILURE(pos, utf8_lead(str[pos + 1]) ? 1 : 2); in get_next_char()
130 pos += 2; in get_next_char()
150 pos += 3; in get_next_char()
171 pos += 4; in get_next_char()
195 pos += 2; in get_next_char()
198 pos += 1; in get_next_char()
221 pos += 2; in get_next_char()
224 pos += 1; in get_next_char()
246 pos += 2; in get_next_char()
[all …]
H A Dformatted_print.c62 if ((*pos + 1) >= *size) { in php_sprintf_appendchar()
68 (*buffer)[(*pos)++] = add; in php_sprintf_appendchar()
94 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring()
98 req_size = *pos + m_width + 1; in php_sprintf_appendstring()
112 (*buffer)[(*pos)++] = (neg) ? '-' : '+'; in php_sprintf_appendstring()
118 (*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
122 memcpy(&(*buffer)[*pos], add, copy_len + 1); in php_sprintf_appendstring()
123 *pos += copy_len; in php_sprintf_appendstring()
126 (*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
351 i = (endptr - &buffer[*pos]); in php_sprintf_getnumber()
[all …]
/PHP-5.5/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt6 private $pos=0;
12 return $this->pos < count($this->myContent);
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];
[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 return $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 return $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-5.5/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.phpt10 private $pos;
20 $this->pos = strlen($this->data);
32 $ret = substr($this->data, $this->pos, $count);
33 $this->pos += strlen($ret);
42 return $this->pos;
50 return $this->pos >= strlen($this->data);
61 $this->pos = $offset;
69 $this->pos += $offset;
77 $this->pos = strlen($this->data) + $offset;
H A Dinclude_userstream_003.phpt10 private $pos;
20 $this->pos = strlen($this->data);
32 $ret = substr($this->data, $this->pos, $count);
33 $this->pos += strlen($ret);
42 return $this->pos;
50 return $this->pos >= strlen($this->data);
61 $this->pos = $offset;
69 $this->pos += $offset;
77 $this->pos = strlen($this->data) + $offset;
/PHP-5.5/ext/dba/libcdb/
H A Dcdb.c46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC) in cdb_match()
55 if (cdb_read(c, buf, n, pos TSRMLS_CC) == -1) in cdb_match()
59 pos += n; in cdb_match()
104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos TSRMLS_DC) in cdb_read()
106 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
132 uint32 pos; in cdb_findnext() local
153 uint32_unpack(buf + 4, &pos); in cdb_findnext()
154 if (!pos) in cdb_findnext()
162 if (cdb_read(c, buf, 8, pos TSRMLS_CC) == -1) in cdb_findnext()
166 switch(cdb_match(c, key, len, pos + 8 TSRMLS_CC)) { in cdb_findnext()
[all …]
/PHP-5.5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c181 int pos, ent = 0; in mbfl_filt_conv_html_dec() local
198 for (pos=3; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec()
199 int v = buffer[pos]; in mbfl_filt_conv_html_dec()
218 for (pos=2; pos<filter->status; pos++) { in mbfl_filt_conv_html_dec()
219 int v = buffer[pos]; in mbfl_filt_conv_html_dec()
235 for (pos = 0; pos < filter->status; pos++) { in mbfl_filt_conv_html_dec()
236 CK((*filter->output_function)(buffer[pos], filter->data)); in mbfl_filt_conv_html_dec()
290 int status, pos = 0; in mbfl_filt_conv_html_dec_flush() local
300 int e = (*filter->output_function)(buffer[pos++], filter->data); in mbfl_filt_conv_html_dec_flush()
H A Dmk_emoji_tbl.pl81 $pos = $s % 94;
82 $ku = ($s - $pos)/94;
110 $pos = $s % 94;
111 $ku = ($s - $pos)/94;
189 $pos = $s % 94;
190 $ku = ($s - $pos)/94;
217 $pos = $s % 94;
218 $ku = ($s - $pos)/94;
309 $pos = $s % 94;
310 $ku = ($s - $pos)/94;
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgd_io_dp.c35 int pos; member
146 return (dctx->dp->pos); in dynamicTell()
162 bytesNeeded = pos; in dynamicSeek()
174 if (pos > dp->logicalSize) { in dynamicSeek()
175 dp->logicalSize = pos; in dynamicSeek()
178 dp->pos = pos; in dynamicSeek()
191 dp->pos = 0; in newDynamic()
247 dp->pos += rlen; in dynamicGetbuf()
287 dp->pos = 0; in allocDynamic()
318 dp->pos += size; in appendDynamic()
[all …]
H A Dgd_wbmp.c96 int x, y, pos; in gdImageWBMPCtx() local
105 pos = 0; in gdImageWBMPCtx()
109 wbmp->bitmap[pos] = WBMP_BLACK; in gdImageWBMPCtx()
111 pos++; in gdImageWBMPCtx()
133 int col, row, pos; in gdImageCreateFromWBMPCtx() local
150 pos = 0; in gdImageCreateFromWBMPCtx()
153 if (wbmp->bitmap[pos++] == WBMP_WHITE) { in gdImageCreateFromWBMPCtx()
/PHP-5.5/ext/intl/tests/
H A Drbbiter_getRuleStatus_basic.phpt29 echo "pos : {$rbbi->current()}\n",
36 pos : 0
38 pos : 12
40 pos : 16
42 pos : 17
44 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-5.5/ext/mysqli/
H A Dmysqli_embedded.c42 HashPosition pos; in PHP_FUNCTION() local
58 zend_hash_internal_pointer_reset_ex(HASH_OF(args), &pos); in PHP_FUNCTION()
60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) { in PHP_FUNCTION()
63 if (zend_hash_get_current_data_ex(HASH_OF(args), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION()
79 zend_hash_internal_pointer_reset_ex(HASH_OF(grps), &pos); in PHP_FUNCTION()
81 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(grps), &pos)) { in PHP_FUNCTION()
84 if (zend_hash_get_current_data_ex(HASH_OF(grps), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION()
/PHP-5.5/ext/intl/grapheme/
H A Dgrapheme_util.c238 int ret_len, pos; in grapheme_split_string() local
249 pos = 0; in grapheme_split_string()
253 pos = ubrk_next(bi); in grapheme_split_string()
255 if ( pos != UBRK_DONE ) { in grapheme_split_string()
275 int pos = 0; in grapheme_count_graphemes() local
282 pos = ubrk_next(bi); in grapheme_count_graphemes()
284 if ( UBRK_DONE != pos ) { in grapheme_count_graphemes()
298 int32_t pos; in grapheme_get_haystack_offset() local
316 pos = 0; in grapheme_get_haystack_offset()
320 pos = iter_op(bi); in grapheme_get_haystack_offset()
[all …]
/PHP-5.5/main/streams/
H A Dglob_wrapper.c114 char *pos, *gpath = path; in php_glob_stream_path_split() local
116 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split()
117 path = pos+1; in php_glob_stream_path_split()
120 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split()
121 path = pos+1; in php_glob_stream_path_split()
214 char *tmp, *pos; in php_glob_stream_opener() local
239 pos = path; in php_glob_stream_opener()
240 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener()
241 pos = tmp+1; in php_glob_stream_opener()
245 pos = tmp+1; in php_glob_stream_opener()
[all …]
/PHP-5.5/ext/simplexml/tests/
H A Dbug36611.phpt11 <pos >
12 <pos/>
13 </pos>
22 $zml->pos["act_idx"] = $val;
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_blacklist.c62 blacklist->pos = 0; in zend_accel_blacklist_init()
97 if (blacklist->pos == 0) { in zend_accel_blacklist_update_regexp()
109 for (i = 0; i < blacklist->pos; ) { in zend_accel_blacklist_update_regexp()
177 if (*c || i == blacklist->pos - 1) { in zend_accel_blacklist_update_regexp()
234 if (blacklist->pos == blacklist->size) { in zend_accel_blacklist_allocate()
313 blacklist->entries[blacklist->pos].path_length = path_length; in zend_accel_blacklist_loadone()
314 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
315 if (!blacklist->entries[blacklist->pos].path) { in zend_accel_blacklist_loadone()
320 blacklist->entries[blacklist->pos].id = blacklist->pos; in zend_accel_blacklist_loadone()
322 blacklist->pos++; in zend_accel_blacklist_loadone()
[all …]
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregint.h334 #define BS_ROOM(bs,pos) (bs)[pos / BITS_IN_ROOM] argument
335 #define BS_BIT(pos) (1 << (pos % BITS_IN_ROOM)) argument
337 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos)) argument
338 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos) argument
339 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos)) argument
340 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos) argument
374 int used = (pos) + (n);\
381 int used = (pos) + 1;\
383 (buf)->p[(pos)] = (byte);\
415 BBUF_MOVE_RIGHT((buf),(pos),(pos) + (n),((buf)->used - (pos)));\
[all …]
/PHP-5.5/ext/spl/
H A Dspl_observer.c85 HashPosition pos; member
246 HashPosition pos; in spl_object_storage_addall() local
249 zend_hash_internal_pointer_reset_ex(&other->storage, &pos); in spl_object_storage_addall()
252 zend_hash_move_forward_ex(&other->storage, &pos); in spl_object_storage_addall()
324 HashPosition pos; in spl_object_storage_debug_info() local
356 zend_hash_move_forward_ex(&intern->storage, &pos); in spl_object_storage_debug_info()
374 HashPosition pos; in spl_object_storage_get_gc() local
385 zend_hash_move_forward_ex(&intern->storage, &pos); in spl_object_storage_get_gc()
725 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in SPL_METHOD()
737 HashPosition pos; in SPL_METHOD() local
[all …]
/PHP-5.5/Zend/
H A Dzend_llist.c258 ZEND_API void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_first_ex() argument
260 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_first_ex()
271 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_last_ex() argument
273 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_last_ex()
284 ZEND_API void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_next_ex() argument
286 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_next_ex()
298 ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos) in zend_llist_get_prev_ex() argument
300 zend_llist_position *current = pos ? pos : &l->traverse_ptr; in zend_llist_get_prev_ex()
/PHP-5.5/ext/spl/internal/
H A Dlimititerator.inc29 private $pos;
48 $this->pos = 0;
65 $this->pos = $position;
67 while($this->pos < $position && $this->it->valid()) {
78 $this->pos = 0;
85 return ($this->count == -1 || $this->pos < $this->offset + $this->count)
105 $this->pos++;
112 return $this->pos;

Completed in 160 milliseconds

12345678