Home
last modified time | relevance | path

Searched refs:pos (Results 76 – 100 of 159) sorted by relevance

1234567

/PHP-7.4/ext/hash/
H A Dphp_hash_sha3.h27 uint32_t pos; member
H A Dhash_whirlpool.c283 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLUpdate()
372 context->buffer.pos = bufferPos; in PHP_WHIRLPOOLUpdate()
381 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLFinal()
/PHP-7.4/ext/mysqli/
H A Dmysqli_prop.c204 zend_llist_position pos; in link_error_list_read() local
205 …D_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos); in link_error_list_read()
207 …ND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos)) in link_error_list_read()
368 zend_llist_position pos; in stmt_error_list_read() local
369 …LND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos); in stmt_error_list_read()
371 …QLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&stmt->stmt->data->error_info->error_list, &pos)) in stmt_error_list_read()
/PHP-7.4/main/streams/
H A Dcast.c240 zend_off_t pos; in _php_stream_cast() local
246 pos = php_stream_tell(stream); in _php_stream_cast()
247 if (pos > 0) { in _php_stream_cast()
248 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
/PHP-7.4/main/
H A Dfastcgi.c189 char *pos; member
264 h->data->pos = h->data->data; in fcgi_hash_init()
307 h->data->pos = h->data->data; in fcgi_hash_clean()
318 p->pos = p->data; in fcgi_hash_strndup()
319 p->end = p->pos + seg_size; in fcgi_hash_strndup()
323 ret = h->data->pos; in fcgi_hash_strndup()
326 h->data->pos += str_len + 1; in fcgi_hash_strndup()
1612 int pos = 0; local
1627 pos += 0xfff8;
1630 pad = (((len - pos) + 7) & ~7) - (len - pos);
[all …]
/PHP-7.4/ext/dom/
H A Ddom_iterators.c202 zend_hash_move_forward_ex(nodeht, &iterator->pos); in php_dom_iterator_move_forward()
203 if ((entry = zend_hash_get_current_data_ex(nodeht, &iterator->pos))) { in php_dom_iterator_move_forward()
288 zend_hash_internal_pointer_reset_ex(nodeht, &iterator->pos); in php_dom_get_iterator()
289 if ((entry = zend_hash_get_current_data_ex(nodeht, &iterator->pos))) { in php_dom_get_iterator()
/PHP-7.4/ext/opcache/
H A Dzend_shared_alloc.c301 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block()
334 …if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a v… in zend_shared_alloc()
335 …void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); in zend_shared_alloc()
337 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc()
561 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state()
571 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
H A Dshared_alloc_posix.c74 shared_segment->common.pos = 0; in create_segments()
/PHP-7.4/ext/spl/tests/
H A Diterator_007.phpt76 $pos =0;
83 if ($pos++ > 1) {
/PHP-7.4/ext/standard/tests/strings/
H A Dstrrpos_negative_offset.phpt2 strr[i]pos() function with negative offset
/PHP-7.4/ext/gd/libgd/
H A Dgd_io.c193 int gdSeek (gdIOCtx * ctx, const int pos) in gdSeek() argument
196 return ((ctx->seek) (ctx, pos)); in gdSeek()
/PHP-7.4/ext/dba/libinifile/
H A Dinifile.h34 size_t pos; member
/PHP-7.4/ext/phar/
H A Dtar.c217 size_t pos = 0, read, totalsize; in phar_parse_tarfile() local
260 pos += sizeof(buf); in phar_parse_tarfile()
265 pos = php_stream_tell(fp); in phar_parse_tarfile()
485 entry.offset = entry.offset_abs = pos; /* header_offset unused in tar */ in phar_parse_tarfile()
574 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile()
720 size_t pos; in phar_tar_writeheaders_int() local
814 pos = php_stream_tell(fp->new); /* save start of file within tar */ in phar_tar_writeheaders_int()
865 entry->offset = entry->offset_abs = pos; in phar_tar_writeheaders_int()
1031 char *pos; in phar_tar_flush() local
1083 pos = user_stub + (pos - tmp); in phar_tar_flush()
[all …]
/PHP-7.4/ext/dba/libflatfile/
H A Dflatfile.c112 size_t pos; in flatfile_delete() local
125 pos = php_stream_tell(dba->fp); in flatfile_delete()
131 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete()
/PHP-7.4/ext/standard/
H A Darray.c1411 EG(ht_iterators)[ht_iter].pos = pos; in php_array_walk()
3105 pos++;
3113 pos++;
3129 int pos2 = pos;
3149 pos++;
3169 pos++;
3551 pos = 0;
3558 pos++;
3575 pos++;
6271 pos++;
[all …]
H A Dstring.c3120 pos++;
3992 int pos = 0; local
3998 pos += n;
4005 pos++;
4009 for (; pos < 16; pos++) {
4018 int pos = 0; local
4027 pos += n;
4034 pos++;
4037 for (; pos < 16; pos++) {
5175 size_t pos; local
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_btree.h55 phpdbg_btree_result *phpdbg_btree_next(phpdbg_btree_position *pos);
/PHP-7.4/ext/com_dotnet/
H A Dcom_variant.c37 HashPosition pos; in safe_array_from_zval() local
45 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval()
46 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval()
48 keytype = zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval()
70 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval()
71 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval()
72 if (NULL == (item = zend_hash_get_current_data_ex(Z_ARRVAL_P(z), &pos))) { in safe_array_from_zval()
75 zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval()
/PHP-7.4/ext/standard/tests/array/
H A Dcurrent_variation5.phpt8 * Alias to functions: pos
H A Dcurrent_variation3.phpt8 * Alias to functions: pos
/PHP-7.4/Zend/
H A Dzend_hash.h230 #define zend_hash_has_more_elements_ex(ht, pos) \ argument
231 (zend_hash_get_current_key_type_ex(ht, pos) == HASH_KEY_NON_EXISTENT ? FAILURE : SUCCESS)
232 ZEND_API int ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos);
233 ZEND_API int ZEND_FASTCALL zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos);
236 ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos);
237 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
238 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos);
239 ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos);
310 ZEND_API uint32_t ZEND_FASTCALL zend_hash_iterator_add(HashTable *ht, HashPosition pos);
899 static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) in zend_hash_get_current_data_ptr_ex() argument
[all …]
H A Dzend_alloc.c570 if (pos != end) {
574 while (pos != end) {
581 bitset[pos] |= tmp;
587 bitset[pos] |= tmp;
602 if (pos != end) {
606 while (pos != end) {
608 bitset[pos++] = 0;
613 bitset[pos] &= ~tmp;
619 bitset[pos] &= ~tmp;
634 if (pos != end) {
[all …]
/PHP-7.4/ext/soap/
H A Dphp_http.c1243 char *pos = NULL; in make_http_soap_request() local
1245 pos = strstr(content_type,";"); in make_http_soap_request()
1246 if (pos != NULL) { in make_http_soap_request()
1247 cmplen = pos - content_type; in make_http_soap_request()
1357 char *pos, *tmp = NULL; in get_http_header_value_nodup() local
1365 pos = headers; in get_http_header_value_nodup()
1372 tmp = pos + typelen; in get_http_header_value_nodup()
1398 pos = strchr(pos, '\n'); in get_http_header_value_nodup()
1399 if (pos) { in get_http_header_value_nodup()
1400 pos++; in get_http_header_value_nodup()
[all …]
/PHP-7.4/ext/mbstring/
H A Dmbstring.c1142 while (*pos && *pos != stop) { in php_mb_rfc1867_getword()
1144 ++pos; in php_mb_rfc1867_getword()
1145 while (*pos && *pos != quote) { in php_mb_rfc1867_getword()
1146 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_mb_rfc1867_getword()
1147 pos += 2; in php_mb_rfc1867_getword()
1149 ++pos; in php_mb_rfc1867_getword()
1152 if (*pos) { in php_mb_rfc1867_getword()
1153 ++pos; in php_mb_rfc1867_getword()
1172 *line = pos; in php_mb_rfc1867_getword()
4158 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Duserstreams.phpt258 …printf("REAL: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $rpb, $rpa, ftell($tf), $rr, strlen($rline),…
259 …printf("USER: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $upb, $upa, ftell($fp), $ur, strlen($uline),…
298 …echo "FGETS: FAIL\niter=$n user=$uline [pos=" . ftell($fp) . "]\nreal=$rline [pos=" . ftell($tf) .…

Completed in 117 milliseconds

1234567