Searched refs:pos (Results 1 - 25 of 141) sorted by relevance

123456

/PHP_5_3/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;
/PHP_5_3/ext/gd/libgd/
H A Dgd_io_dp.c35 int pos; member in struct:dpStruct
146 return (dctx->dp->pos);
149 static int dynamicSeek (struct gdIOCtx *ctx, const int pos) argument
162 bytesNeeded = pos;
174 if (pos > dp->logicalSize) {
175 dp->logicalSize = pos;
178 dp->pos = pos;
191 dp->pos = 0;
236 remain = dp->logicalSize - dp->pos;
[all...]
H A Dgd_wbmp.c96 int x, y, pos; local
105 pos = 0;
109 wbmp->bitmap[pos] = WBMP_BLACK;
111 pos++;
133 int col, row, pos; local
150 pos = 0;
153 if (wbmp->bitmap[pos++] == WBMP_WHITE) {
/PHP_5_3/ext/intl/grapheme/
H A Dgrapheme_util.c159 int ret_pos, pos; local
229 pos = ubrk_last(bi);
230 puhaystack = uhaystack + pos;
234 pos = ubrk_previous(bi);
236 if ( UBRK_DONE == pos ) {
240 puhaystack = uhaystack + pos;
249 while ( UBRK_DONE != pos ) {
255 if ( ubrk_isBoundary(bi, pos + uneedle_len) ) {
258 ret_pos = grapheme_count_graphemes(bi, uhaystack, pos);
263 ubrk_isBoundary(bi, pos);
401 int ret_len, pos; local
439 int pos = 0; local
526 int32_t pos; local
[all...]
/PHP_5_3/ext/intl/msgformat/
H A Dmsgformat_format.c41 HashPosition pos; local
56 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(args), &pos); local
59 zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&val, &pos); local
63 zend_hash_move_forward_ex(Z_ARRVAL_P(args), &pos); local
/PHP_5_3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c181 int pos, ent = 0; local
198 for (pos=3; pos<filter->status; pos++) {
199 int v = buffer[pos];
218 for (pos=2; pos<filter->status; pos++) {
219 int v = buffer[pos];
235 for (pos
290 int status, pos = 0; local
[all...]
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c58 device->pos= 0;
97 device->pos = 0;
105 device->pos = 0;
112 if (device->pos > 0) {
113 device->pos--;
121 result->len = device->pos;
126 device->pos= 0;
143 if (device->pos >= device->length) {
157 device->buffer[device->pos++] = (unsigned char)c;
166 if ((device->pos
[all...]
H A Dmbfl_memory_device.h42 int pos; member in struct:_mbfl_memory_device
49 int pos; member in struct:_mbfl_wchar_device
/PHP_5_3/ext/mbstring/libmbfl/tests/
H A Dstrwidth.c60 if (dev.pos >= dev.length) {
70 dev.buffer[dev.pos++] = (unsigned char)c;
/PHP_5_3/ext/curl/
H A Dmulti.c218 zend_llist_position pos; local
222 for(pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch;
223 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) {
290 zend_llist_position pos; local
295 for(pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch;
296 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) {
343 zend_llist_position pos; local
347 for(pz_ch = (zval *)zend_llist_get_first_ex(&mh->easyh, &pos); pz_ch;
348 pz_ch = (zval *)zend_llist_get_next_ex(&mh->easyh, &pos)) {
/PHP_5_3/ext/dba/
H A Ddba_cdb.c60 uint32 pos; /* current position for traversing */ member in struct:__anon27
140 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos TSRMLS_CC)
144 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos)
281 cdb->pos = 2048 + 4 + 4 + klen + dlen;
298 CSEEK(cdb->pos);
312 cdb->pos += 8 + klen + dlen;
/PHP_5_3/ext/dba/libcdb/
H A Dcdb.c46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC)
55 if (cdb_read(c, buf, n, pos TSRMLS_CC) == -1)
59 pos += n;
104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos TSRMLS_DC)
106 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) {
132 uint32 pos; local
153 uint32_unpack(buf + 4, &pos);
154 if (!pos)
162 if (cdb_read(c, buf, 8, pos TSRMLS_CC) == -1)
166 switch(cdb_match(c, key, len, pos
[all...]
H A Dcdb_make.h52 uint32 pos; member in struct:cdb_make
/PHP_5_3/ext/hash/
H A Dphp_hash_whirlpool.h29 int pos; member in struct:__anon77::__anon78
/PHP_5_3/ext/mysqli/
H A Dmysqli_embedded.c42 HashPosition pos; local
58 zend_hash_internal_pointer_reset_ex(HASH_OF(args), &pos); local
60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) {
63 if (zend_hash_get_current_data_ex(HASH_OF(args), (void **) &item, &pos) == FAILURE) {
79 zend_hash_internal_pointer_reset_ex(HASH_OF(grps), &pos); local
81 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(grps), &pos)) {
84 if (zend_hash_get_current_data_ex(HASH_OF(grps), (void **) &item, &pos) == FAILURE) {
/PHP_5_3/ext/pdo/
H A Dpdo.c103 HashPosition pos; local
112 zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
113 while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
115 zend_hash_move_forward_ex(&pdo_driver_hash, &pos);
398 HashPosition pos; local
405 zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
406 while (SUCCESS == zend_hash_get_current_data_ex(&pdo_driver_hash, (void**)&pdriver, &pos)) {
408 zend_hash_move_forward_ex(&pdo_driver_hash, &pos);
/PHP_5_3/ext/spl/
H A Dspl_observer.c85 HashPosition pos; member in struct:_spl_SplObjectStorage
185 HashPosition pos; local
188 zend_hash_internal_pointer_reset_ex(&other->storage, &pos);
189 while (zend_hash_get_current_data_ex(&other->storage, (void **)&element, &pos) == SUCCESS) {
191 zend_hash_move_forward_ex(&other->storage, &pos);
194 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos);
249 HashPosition pos; local
271 zend_hash_internal_pointer_reset_ex(&intern->storage, &pos);
272 while (zend_hash_get_current_data_ex(&intern->storage, (void **)&element, &pos) == SUCCESS) {
282 zend_hash_move_forward_ex(&intern->storage, &pos);
302 HashPosition pos; local
660 HashPosition pos; local
[all...]
/PHP_5_3/ext/standard/
H A Dformatted_print.c58 php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC) argument
60 if ((*pos + 1) >= *size) {
65 PRINTF_DEBUG(("sprintf: appending '%c', pos=\n", add, *pos));
66 (*buffer)[(*pos)++] = add;
72 php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, argument
89 *buffer, *pos, *size, add, min_width, padding, alignment));
92 if(m_width > INT_MAX - *pos - 1) {
96 req_size = *pos + m_width + 1;
110 (*buffer)[(*pos)
132 php_sprintf_appendint(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int always_sign) argument
176 php_sprintf_appenduint(char **buffer, int *pos, int *size, unsigned long number, int width, char padding, int alignment) argument
208 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
299 php_sprintf_append2n(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int n, char *chartable, int expprec) argument
330 php_sprintf_getnumber(char *buffer, int *pos) argument
[all...]
H A Dhtml.c474 *newpos = pos; \
487 #define MB_FAILURE(pos) do { \
488 *newpos = pos + 1; \
493 #define CHECK_LEN(pos, chars_need) \
495 if((str_len - (pos)) < chars_need) { \
496 *newpos = pos; \
501 if((str_len - (pos)) < chars_need) { \
502 *newpos = pos + 1; \
518 int pos = *newpos; local
528 CHECK_LEN(pos,
[all...]
H A Dmail.c57 #define SKIP_LONG_HEADER_SEP(str, pos) \
58 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \
59 pos += 2; \
60 while (str[pos + 1] == ' ' || str[pos + 1] == '\t') { \
61 pos++; \
/PHP_5_3/main/streams/
H A Dglob_wrapper.c114 char *pos, *gpath = path; local
116 if ((pos = strrchr(path, '/')) != NULL) {
117 path = pos+1;
120 if ((pos = strrchr(path, '\\')) != NULL) {
121 path = pos+1;
214 char *tmp, *pos; local
239 pos = path;
240 if ((tmp = strrchr(pos, '/')) != NULL) {
241 pos = tmp+1;
244 if ((tmp = strrchr(pos, '\\')) !
[all...]
/PHP_5_3/Zend/
H A Dzend_llist.c260 ZEND_API void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos) argument
262 zend_llist_position *current = pos ? pos : &l->traverse_ptr;
273 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos) argument
275 zend_llist_position *current = pos ? pos : &l->traverse_ptr;
286 ZEND_API void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos) argument
288 zend_llist_position *current = pos ? pos : &l->traverse_ptr;
300 ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos) argument
[all...]
H A Dzend_llist.h66 ZEND_API void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos);
67 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos);
68 ZEND_API void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos);
69 ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos);
H A Dzend_static_allocator.c27 block->pos = block->bp = (char *) emalloc(block_size);
33 char *retval = block->pos;
34 if ((block->pos += size) >= block->end) {
H A Dzend_static_allocator.h33 char *pos; member in struct:_Block

Completed in 44 milliseconds

123456