Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 – 25 of 30) sorted by relevance

12

/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm64.h454 ptrdiff_t na = (ptrdiff_t)D->globals[-n-10] - (ptrdiff_t)cp + 4; in dasm_encode()
456 CK_REL((ptrdiff_t)n == na, na); in dasm_encode()
479 cp[0] = (unsigned int)((ptrdiff_t)cp - 4 + n); in dasm_encode()
480 cp[1] = (unsigned int)(((ptrdiff_t)cp - 4 + n) >> 32); in dasm_encode()
485 ptrdiff_t na = (((ptrdiff_t)(*b++) << 32) | (unsigned int)n); in dasm_encode()
488 na = (na >> 12) - (((ptrdiff_t)cp - 4) >> 12); in dasm_encode()
490 na = na - (ptrdiff_t)cp + 4; in dasm_encode()
493 CK_REL((ptrdiff_t)n == na, na); in dasm_encode()
H A Ddasm_x86.h244 } else if (sizeof(ptrdiff_t) == 8) { in dasm_put()
384 static unsigned char *dasma_(unsigned char *cp, ptrdiff_t x) in dasma_()
386 if (sizeof(ptrdiff_t) == 8) in dasma_()
472 b++; n = (int)(ptrdiff_t)D->globals[-n-10]; in dasm_encode()
475 n -= (unsigned int)(ptrdiff_t)(cp+4); goto wd; /* !x64 */ in dasm_encode()
486 if (n < 0) { dasma((ptrdiff_t)D->globals[-n-10]); break; } in dasm_encode()
490 dasma(*pb < 0 ? (ptrdiff_t)pb[1] : (*pb + (ptrdiff_t)base)); in dasm_encode()
H A Ddasm_mips.h348 n = (int)((ptrdiff_t)D->globals[-n-10] - (ptrdiff_t)cp); in dasm_encode()
H A Ddasm_ppc.h352 n = (int)((ptrdiff_t)D->globals[-n-10] - (ptrdiff_t)cp); in dasm_encode()
H A Ddasm_arm.h370 n = (int)((ptrdiff_t)D->globals[-n-10] - (ptrdiff_t)cp - 4); in dasm_encode()
H A Dminilua.c169 typedef ptrdiff_t lua_Integer;
208 typedef ptrdiff_t l_mem;
487 ptrdiff_t errfunc;
1127 ptrdiff_t funcr;
1208 ptrdiff_t old_top,ptrdiff_t ef){
5773 ptrdiff_t func;
7004 static ptrdiff_t posrelat(ptrdiff_t pos,size_t len){
7005 if(pos<0)pos+=(ptrdiff_t)len+1;
7014 if(end>(ptrdiff_t)l)end=(ptrdiff_t)l;
7090 ptrdiff_t len;
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dis_simh.c118 while (ue - uc >= CAST(ptrdiff_t, sizeof(nbytes))) { in simh_parse()
133 if (ue - uc < CAST(ptrdiff_t, sizeof(nbytes))) in simh_parse()
/php-src/main/
H A Dspprintf.c408 i_num = (int64_t) va_arg(ap, ptrdiff_t); in xbuf_format_converter()
451 i_num = (int64_t) va_arg(ap, ptrdiff_t); in xbuf_format_converter()
496 ui_num = (uint64_t) va_arg(ap, ptrdiff_t); in xbuf_format_converter()
536 ui_num = (uint64_t) va_arg(ap, ptrdiff_t); in xbuf_format_converter()
H A Dsnprintf.c699 i_num = (int64_t) va_arg(ap, ptrdiff_t); in format_converter()
742 i_num = (int64_t) va_arg(ap, ptrdiff_t); in format_converter()
788 ui_num = (uint64_t) va_arg(ap, ptrdiff_t); in format_converter()
827 ui_num = (uint64_t) va_arg(ap, ptrdiff_t); in format_converter()
/php-src/ext/intl/collator/
H A Dcollator_sort.c28 typedef zend_long ptrdiff_t; typedef
336 ptrdiff_t sortKeyBufOffset = 0; /* pos in buffer to store sort key */ in PHP_FUNCTION()
464 sortKeyIndxBuf[j].key = sortKeyBuf + (ptrdiff_t)sortKeyIndxBuf[j].key; in PHP_FUNCTION()
/php-src/ext/opcache/jit/ir/
H A Dir_patch.c178 ptrdiff_t delta; in ir_patch_code()
H A Dir_aarch64.dasc6399 … ir_add_veneer(dasm_State *Dst, void *buffer, uint32_t ins, int *b, uint32_t *cp, ptrdiff_t offset)
6403 ptrdiff_t na;
6409 addr = (void*)((((ptrdiff_t)(*(b-1))) << 32) | (unsigned int)(*(b-2)));
6419 na = (ptrdiff_t)veneer - (ptrdiff_t)cp + 4;
6423 if ((ptrdiff_t)n != na) {
6450 na = (ptrdiff_t)veneer - (ptrdiff_t)cp + 4;
6454 if ((ptrdiff_t)n != na) {
6487 na = (ptrdiff_t)cp + offset - (ptrdiff_t)veneer - 4;
6489 if ((ptrdiff_t)m != na) {
H A Dir_emit.c384 …ir_add_veneer(dasm_State *Dst, void *buffer, uint32_t ins, int *b, uint32_t *cp, ptrdiff_t offset);
H A Dir_x86.dasc8793 | mov64 Rq(tmp_reg), ((ptrdiff_t)addr) // 0x48 0xb8 <imm-64-bit>
8974 | mov rax, ((ptrdiff_t)addr) // 0x48 0xc7 0xc0 <imm-32-bit>
8976 | mov64 rax, ((ptrdiff_t)addr) // 0x48 0xb8 <imm-64-bit>
9251 | mov rax, ((ptrdiff_t)addr) // 0x48 0xc7 0xc0 <imm-32-bit>
9253 | mov64 rax, ((ptrdiff_t)addr) // 0x48 0xb8 <imm-64-bit>
9299 | mov rax, ((ptrdiff_t)addr) // 0x48 0xc7 0xc0 <imm-32-bit>
9301 | mov64 rax, ((ptrdiff_t)addr) // 0x48 0xb8 <imm-64-bit>
9343 | mov rax, ((ptrdiff_t)addr) // 0x48 0xc7 0xc0 <imm-32-bit>
9345 | mov64 rax, ((ptrdiff_t)addr) // 0x48 0xb8 <imm-64-bit>
9654 | mov rax, ((ptrdiff_t)addr) // 0x48 0xc7 0xc0 <imm-32-bit>
[all …]
/php-src/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask))
/php-src/ext/opcache/
H A Dshared_alloc_mmap.c251 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
/php-src/ext/pdo/
H A Dpdo_sql_parser.re68 ptrdiff_t t;
119 ptrdiff_t len = s.cur - s.tok;
/php-src/main/streams/
H A Duserspace.c943 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam; in php_userstreamop_set_option()
944 if (new_size >= 0 && new_size <= (ptrdiff_t)LONG_MAX) { in php_userstreamop_set_option()
H A Dplain_wrapper.c943 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam; in php_stdiop_set_option()
/php-src/ext/dom/
H A Dhtml5_parser.c284 lxml_text->psvi = (void *) (ptrdiff_t) node->line; in lexbor_libxml2_bridge_convert()
/php-src/Zend/
H A Dzend_operators.h242 ptrdiff_t off_p; in zend_memnrstr()
/php-src/ext/standard/
H A Dstring.c1623 ptrdiff_t idx;
1639 ptrdiff_t idx;
1648 idx = p ? (p - ZSTR_VAL(ret)) : (ptrdiff_t)ZSTR_LEN(ret);
5496 ptrdiff_t l=0;
/php-src/ext/openssl/
H A Dxp_ssl.c421 ptrdiff_t prefix_len; in php_openssl_matches_wildcard_name()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_match.c5811 if ((ptrdiff_t)number > Feptr - mb->start_subject) RRETURN(MATCH_NOMATCH); in match()
5864 ptrdiff_t diff = Feptr - mb->start_subject; in match()
/php-src/sapi/cli/
H A Dphp_cli_server.c425 ptrdiff_t len; in add_response_header()

Completed in 201 milliseconds

12