Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 173) sorted by last modified time

1234567

/PHP-7.3/ext/zip/
H A Dphp_zip.c1863 int pos = 0; in ZIPARCHIVE_METHOD() local
1880 pos = ze_obj->buffers_cnt++; in ZIPARCHIVE_METHOD()
1884 pos = 0; in ZIPARCHIVE_METHOD()
1886 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1); in ZIPARCHIVE_METHOD()
1887 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1); in ZIPARCHIVE_METHOD()
1889 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0); in ZIPARCHIVE_METHOD()
/PHP-7.3/ext/standard/
H A Dstreamsfuncs.c490 zend_long maxlen = PHP_STREAM_COPY_ALL, pos = 0; in PHP_FUNCTION() local
499 Z_PARAM_LONG(pos) in PHP_FUNCTION()
505 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
506 …p_error_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FMT " in the stream", pos); in PHP_FUNCTION()
H A Dstring.c3134 pos++;
4002 int pos = 0; local
4008 pos += n;
4015 pos++;
4019 for (; pos < 16; pos++) {
4028 int pos = 0; local
4037 pos += n;
4044 pos++;
4047 for (; pos < 16; pos++) {
5058 size_t pos; local
[all …]
H A Darray.c1407 EG(ht_iterators)[ht_iter].pos = pos; in php_array_walk()
3073 pos++;
3081 pos++;
3097 int pos2 = pos;
3117 pos++;
3137 pos++;
3521 pos = 0;
3528 pos++;
3545 pos++;
6195 pos++;
[all …]
H A Dimage.c182 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument
187 for (loop = pos; loop < pos + count; loop++) in php_swf_get_bits()
190 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
/PHP-7.3/
H A Dacinclude.m41803 __off64_t pos;
1813 { ((struct cookiedata*)cookie)->pos = *position; return 0; }
1821 if (fp && fseek(fp, 8192, SEEK_SET) == 0 && g.pos == 8192)
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregcomp.c2000 int n, len, pos, r = 0; in compile_tree() local
2032 len = pos - (COP_CURR_OFFSET(reg) + 1); in compile_tree()
2269 int i, pos, n, old_num; in renumber_node_backref() local
2282 for (i = 0, pos = 0; i < old_num; i++) { in renumber_node_backref()
2285 backs[pos] = n; in renumber_node_backref()
2286 pos++; in renumber_node_backref()
2290 bn->back_num = pos; in renumber_node_backref()
2404 int r, i, pos, counter; in disable_noname_group_capture() local
2420 for (i = 1, pos = 1; i <= env->num_mem; i++) { in disable_noname_group_capture()
2422 SCANENV_MEMENV(env)[pos] = SCANENV_MEMENV(env)[i]; in disable_noname_group_capture()
[all …]
/PHP-7.3/Zend/
H A Dzend_hash.c382 while (pos < ht->nNumUsed && Z_ISUNDEF(ht->arData[pos].val)) { in _zend_hash_get_valid_pos()
383 pos++; in _zend_hash_get_valid_pos()
385 return pos; in _zend_hash_get_valid_pos()
410 iter->pos = pos; in zend_hash_iterator_add()
428 iter->pos = pos; in zend_hash_iterator_add()
451 return iter->pos; in zend_hash_iterator_pos()
473 return iter->pos; in zend_hash_iterator_pos_ex()
525 if (iter->pos >= start && iter->pos < res) { in zend_hash_iterators_lower_pos()
2216 *pos = idx; in zend_hash_internal_pointer_end_ex()
2240 *pos = idx; in zend_hash_move_forward_ex()
[all …]
H A Dzend_operators.c2362 size_t pos=Z_STRLEN_P(str)-1; in increment_string() local
2386 ch = s[pos]; in increment_string()
2389 s[pos] = 'a'; in increment_string()
2392 s[pos]++; in increment_string()
2398 s[pos] = 'A'; in increment_string()
2401 s[pos]++; in increment_string()
2407 s[pos] = '0'; in increment_string()
2410 s[pos]++; in increment_string()
2421 } while (pos-- > 0); in increment_string()
H A Dzend_vm_execute.h21185 HashPosition pos; local
21214 pos++;
21255 pos++;
21271 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos + 1;
21336 HashPosition pos; local
21365 pos++;
21405 pos++;
30347 HashPosition pos; local
30374 pos++;
30399 HashPosition pos; local
[all …]
H A Dzend_vm_def.h5846 HashPosition pos; variable
5875 pos++;
5916 pos++;
5932 EG(ht_iterators)[Z_FE_ITER_P(array)].pos = pos + 1;
5997 HashPosition pos; variable
6026 pos++;
6036 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos + 1;
6066 pos++;
6082 EG(ht_iterators)[Z_FE_ITER_P(EX_VAR(opline->op1.var))].pos = pos + 1;
8826 HashPosition pos; variable
[all …]
H A Dzend_generators.c673 HashPosition pos = Z_FE_POS(generator->values); in zend_generator_get_next_delegated_value() local
677 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
682 p = &ht->arData[pos]; in zend_generator_get_next_delegated_value()
687 pos++; in zend_generator_get_next_delegated_value()
700 Z_FE_POS(generator->values) = pos; in zend_generator_get_next_delegated_value()
/PHP-7.3/ext/mysqli/
H A Dmysqli_nonapi.c470 zend_llist_position pos; local
472 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos);
474 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos))
516 zend_llist_position pos; local
518 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos);
520 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos))
/PHP-7.3/ext/soap/
H A Dphp_http.c1251 char *pos = NULL; in make_http_soap_request() local
1253 pos = strstr(content_type,";"); in make_http_soap_request()
1254 if (pos != NULL) { in make_http_soap_request()
1255 cmplen = pos - content_type; in make_http_soap_request()
1365 char *pos, *tmp = NULL; in get_http_header_value_nodup() local
1373 pos = headers; in get_http_header_value_nodup()
1380 tmp = pos + typelen; in get_http_header_value_nodup()
1406 pos = strchr(pos, '\n'); in get_http_header_value_nodup()
1407 if (pos) { in get_http_header_value_nodup()
1408 pos++; in get_http_header_value_nodup()
[all …]
/PHP-7.3/ext/opcache/
H A DZendAccelerator.c375 #define STRTAB_POS_TO_STR(tab, pos) \ argument
425 uint32_t pos; in accel_find_interned_string() local
450 pos = STRTAB_COLLISION(s); in accel_find_interned_string()
451 } while (pos != STRTAB_INVALID_POS); in accel_find_interned_string()
460 uint32_t pos, *hash_slot; in accel_new_interned_string() local
478 pos = *hash_slot; in accel_new_interned_string()
486 pos = STRTAB_COLLISION(s); in accel_new_interned_string()
487 } while (pos != STRTAB_INVALID_POS); in accel_new_interned_string()
529 uint32_t pos; in accel_find_interned_string_ex() local
542 pos = STRTAB_COLLISION(s); in accel_find_interned_string_ex()
[all …]
H A Dshared_alloc_win32.c316 shared_segment->pos = ACCEL_BASE_POINTER_SIZE; in create_segments()
/PHP-7.3/ext/pdo_pgsql/
H A Dpgsql_driver.c166 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local
168 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() local
170 *newoffset = pos; in pgsql_lob_seek()
171 return pos >= 0 ? 0 : -1; in pgsql_lob_seek()
/PHP-7.3/ext/date/lib/
H A Dparse_iso_intervals.c75 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
250 s->pos = cursor; s->line++; in scan()
H A Dtimelib.h307 unsigned int pos; member
H A Dparse_date.c136 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
312 s->pos -= cnt;
321 s->pos = &buf[s->pos - s->bot];
1013 s->pos = cursor; s->line++; in scan()
H A Dparse_date.re134 uchar *lim, *str, *ptr, *cur, *tok, *pos;
310 s->pos -= cnt;
319 s->pos = &buf[s->pos - s->bot];
1809 s->pos = cursor; s->line++;
/PHP-7.3/ext/exif/
H A Dexif.c3949 size_t length=2, pos=0; in exif_scan_thumbnail() local
3962 pos += length; in exif_scan_thumbnail()
3963 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
3965 c = data[pos++]; in exif_scan_thumbnail()
3966 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
3972 while ((c = data[pos++]) == 0xFF && n--) { in exif_scan_thumbnail()
3973 if (pos+3>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
3980 if (pos>=ImageInfo->Thumbnail.size) in exif_scan_thumbnail()
3982 length = php_jpg_get16(data+pos); in exif_scan_thumbnail()
4004 if (length < 8 || ImageInfo->Thumbnail.size - 8 < pos) { in exif_scan_thumbnail()
[all …]
/PHP-7.3/ext/xml/
H A Dxml.c555 size_t pos = len; in xml_utf8_encode() local
577 while (pos > 0) { in xml_utf8_encode()
594 pos--; in xml_utf8_encode()
606 size_t pos = 0; in xml_utf8_decode() local
626 while (pos < len) { in xml_utf8_decode()
628 c = php_next_utf8_char((const unsigned char*)s, (size_t) len, &pos, &status); in xml_utf8_decode()
/PHP-7.3/ext/phar/
H A Dzip.c1184 char *pos; in phar_zip_flush() local
1293 if ((pos = php_stristr(tmp, halt_stub, len, sizeof(halt_stub) - 1)) == NULL) { in phar_zip_flush()
1303 pos = user_stub + (pos - tmp); in phar_zip_flush()
1306 len = pos - user_stub + 18; in phar_zip_flush()
/PHP-7.3/ext/opcache/Optimizer/
H A Dcompact_literals.c92 zval *pos, tmp; in add_static_slot() local
105 pos = zend_hash_find(hash, key); in add_static_slot()
106 if (pos) { in add_static_slot()
107 ret = Z_LVAL_P(pos); in add_static_slot()
122 zval zv, *pos; in zend_optimizer_compact_literals() local
382 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
400 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
420 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
440 pos = zend_hash_find(&hash, key); in zend_optimizer_compact_literals()
441 if (pos != NULL && in zend_optimizer_compact_literals()
[all …]

Completed in 405 milliseconds

1234567