/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 79 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump() 86 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump() 106 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump() 121 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump() 130 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump() 141 if (0 > fpm_trace_get_long(function + offsetof(zend_function, type), &l)) { in fpm_php_trace_dump() 146 if (0 > fpm_trace_get_long(function + offsetof(zend_op_array, filename), &l)) { in fpm_php_trace_dump() 152 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump() 156 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, opline), &l)) { in fpm_php_trace_dump() 164 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) { in fpm_php_trace_dump() [all …]
|
H A D | fpm_conf.c | 45 #define GO(field) offsetof(struct fpm_global_config_s, field) 46 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_match_data.c | 62 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create() 162 return offsetof(pcre2_match_data, ovector) + in pcre2_get_match_data_size()
|
H A D | pcre2_serialize.c | 142 (void)memset(dst_bytes + offsetof(pcre2_real_code, memctl), 0, in pcre2_serialize_encode() 144 (void)memset(dst_bytes + offsetof(pcre2_real_code, tables), 0, in pcre2_serialize_encode() 146 (void)memset(dst_bytes + offsetof(pcre2_real_code, executable_jit), 0, in pcre2_serialize_encode() 208 memcpy(&blocksize, src_bytes + offsetof(pcre2_real_code, blocksize), in pcre2_serialize_decode()
|
H A D | pcre2_pattern_info.c | 168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
|
H A D | pcre2_match.c | 627 frame_copy_size = frame_size - offsetof(heapframe, eptr); in match() 713 memcpy((char *)N + offsetof(heapframe, eptr), in match() 714 (char *)F + offsetof(heapframe, eptr), in match() 5214 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match() 5405 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match() 5557 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match() 5642 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match() 5668 memcpy((char *)P + offsetof(heapframe, eptr), in match() 5669 (char *)F + offsetof(heapframe, eptr), in match() 6606 frame_size = offsetof(heapframe, ovector) + in pcre2_match() [all …]
|
H A D | pcre2_substitute.c | 298 memcpy(internal_match_data, match_data, offsetof(pcre2_match_data, ovector) in pcre2_substitute()
|
/PHP-8.1/ext/sockets/ |
H A D | conversions.c | 780 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux() 1000 {"level", sizeof("level"), 0, offsetof(struct cmsghdr, cmsg_level), 0, to_zval_read_int}, in to_zval_read_control() 1001 {"type", sizeof("type"), 0, offsetof(struct cmsghdr, cmsg_type), 0, to_zval_read_int}, in to_zval_read_control() 1225 {"name", sizeof("name"), 0, offsetof(struct msghdr, msg_name), 0, to_zval_read_name}, in to_zval_read_msghdr() 1228 {"flags", sizeof("flags"), 0, offsetof(struct msghdr, msg_flags), 0, to_zval_read_int}, in to_zval_read_msghdr() 1315 {"pid", sizeof("pid"), 1, offsetof(struct ucred, pid), from_zval_write_pid_t, to_zval_read_pid_t}, 1316 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t}, 1318 {"gid", sizeof("gid"), 1, offsetof(struct ucred, gid), from_zval_write_uid_t, to_zval_read_uid_t}, 1320 …{"pid", sizeof("pid"), 1, offsetof(struct cmsgcred, cmcred_pid), from_zval_write_pid_t, to_zval_re… 1321 …{"uid", sizeof("uid"), 1, offsetof(struct cmsgcred, cmcred_uid), from_zval_write_uid_t, to_zval_re… [all …]
|
H A D | sockets.c | 1416 offsetof(struct sockaddr_un, sun_path) + addr_len);
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_arm64.dasc | 782 | ldr reg, [zv, #offsetof(zval,u1.type_info)] 787 | str tmp_reg, [zv, #offsetof(zval,u1.type_info)] 1310 | ldrb tmp_reg, [zv, #offsetof(zval, u1.v.type)] 1315 | ldrb tmp_reg, [zv, #offsetof(zval, u1.v.type)] 1445 | add reg, reg, #offsetof(zend_reference, val) 2097 | add CARG3, CARG3, #offsetof(zend_string, val) 2151 | add CARG3, CARG3, #offsetof(zend_string, val) 6052 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))] 6250 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))] 11565 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))] [all …]
|
H A D | zend_jit_x86.dasc | 1356 | add reg, offsetof(zend_reference, val) 2040 | add CARG3, offsetof(zend_string, val) 2047 | add CARG3, offsetof(zend_string, val) 2053 | add r0, offsetof(zend_string, val) 2121 | add CARG3, offsetof(zend_string, val) 2126 | add r0, offsetof(zend_string, val) 6606 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY… 6819 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY… 12316 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY… 14802 | add r0, offsetof(zend_string, val) [all …]
|
H A D | zend_jit_gdb.c | 174 .shofs = offsetof(zend_gdbjit_obj, sect), 254 sect->ofs = offsetof(zend_gdbjit_obj, sym); in zend_gdbjit_secthdr()
|
H A D | zend_jit_trace.c | 465 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE((op… in zend_jit_trace_frame_size() 467 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE(op_… in zend_jit_trace_frame_size() 469 return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack)); in zend_jit_trace_frame_size() 565 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace_build_ssa() 7078 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace()
|
H A D | zend_jit.c | 4193 memset(&func_info->ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_cleanup_func_info()
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 85 #ifndef offsetof 86 #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) macro 2352 CAST(off_t, offsetof(struct magic, apple)), in parse_apple() 2366 CAST(off_t, offsetof(struct magic, ext)), in parse_ext() 2381 CAST(off_t, offsetof(struct magic, mimetype)), in parse_mime()
|
/PHP-8.1/Zend/ |
H A D | zend_portability.h | 345 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
|
H A D | zend_operators.h | 468 (offsetof(zval, u1.type_info) - offsetof(zval, value))
|
/PHP-8.1/ext/standard/ |
H A D | crypt_sha256.c | 17 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
|
H A D | crypt_sha512.c | 16 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
|
H A D | var_unserializer.re | 24 #define VAR_ENTRIES_MAX 1018 /* 1024 - offsetof(php_unserialize_data, entries) / sizeof(void*) … 25 #define VAR_DTOR_ENTRIES_MAX 255 /* 256 - offsetof(var_dtor_entries, data) / sizeof(zval) */
|
/PHP-8.1/ext/hash/xxhash/ |
H A D | xxhash.h | 3976 size_t const initStart = offsetof(XXH3_state_t, bufferedSize); in XXH3_64bits_reset_internal() 3977 size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; in XXH3_64bits_reset_internal() 3978 XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart); in XXH3_64bits_reset_internal()
|
/PHP-8.1/ext/hash/ |
H A D | hash.c | 40 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
|
/PHP-8.1/ext/fileinfo/ |
H A D | libmagic.patch | 56 +#ifndef offsetof 57 +#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))
|