Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 24 of 24) sorted by relevance

/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_php_trace.c79 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 Dfpm_conf.c46 #define GO(field) offsetof(struct fpm_global_config_s, field)
47 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
/PHP-8.2/ext/sockets/
H A Dconversions.c780 *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 sockcred2, sc_pid), from_zval_write_pid_t, to_zval_read_…
1320 …{"pid", sizeof("pid"), 1, offsetof(struct sockcred, sc_pid), from_zval_write_pid_t, to_zval_read_p…
1321 …{"uid", sizeof("uid"), 1, offsetof(struct sockcred, sc_euid), from_zval_write_uid_t, to_zval_read_…
1330 {"pid", sizeof("pid"), 1, offsetof(struct ucred, pid), from_zval_write_pid_t, to_zval_read_pid_t},
1331 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
[all …]
H A Dsockets.c1256 offsetof(struct sockaddr_un, sun_path) + addr_len);
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_match_data.c62 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 Dpcre2_serialize.c142 (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 Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_match.c628 frame_copy_size = frame_size - offsetof(heapframe, eptr); in match()
714 memcpy((char *)N + offsetof(heapframe, eptr), in match()
715 (char *)F + offsetof(heapframe, eptr), in match()
5407 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match()
5750 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5835 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
5861 memcpy((char *)P + offsetof(heapframe, eptr), in match()
5862 (char *)F + offsetof(heapframe, eptr), in match()
6809 frame_size = (offsetof(heapframe, ovector) + in pcre2_match()
6854 memset((char *)(mb->match_frames) + offsetof(heapframe, ovector), 0xff, in pcre2_match()
[all …]
H A Dpcre2_intmodedep.h850 #define HEAPFRAME_ALIGNMENT offsetof(heapframe_align, frame)
H A Dpcre2_substitute.c310 memcpy(internal_match_data, match_data, offsetof(pcre2_match_data, ovector) in pcre2_substitute()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_arm64.dasc797 | ldr reg, [zv, #offsetof(zval,u1.type_info)]
802 | str tmp_reg, [zv, #offsetof(zval,u1.type_info)]
1325 | ldrb tmp_reg, [zv, #offsetof(zval, u1.v.type)]
1330 | ldrb tmp_reg, [zv, #offsetof(zval, u1.v.type)]
1460 | add reg, reg, #offsetof(zend_reference, val)
2108 | add CARG3, CARG3, #offsetof(zend_string, val)
6024 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))]
6222 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))]
11420 | ldrb TMP1w, [FCARG2x, #(offsetof(zend_reference, val) + offsetof(zval, u1.v.type))]
11802 | ldr TMP1, [REG0, #offsetof(Bucket, key)]
[all …]
H A Dzend_jit_x86.dasc1356 | add reg, offsetof(zend_reference, val)
2054 | add CARG3, offsetof(zend_string, val)
2059 | add r0, offsetof(zend_string, val)
6568 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY…
6781 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY…
12045 | add r0, offsetof(zend_reference, val)
12057 | add r0, offsetof(zend_reference, val)
12161 …| IF_NOT_TYPE byte [FCARG2a + offsetof(zend_reference, val) + offsetof(zval, u1.v.type)], IS_ARRAY…
13203 | add r0, offsetof(zend_reference, val)
14643 | add r0, offsetof(zend_string, val)
[all …]
H A Dzend_jit_gdb.c174 .shofs = offsetof(zend_gdbjit_obj, sect),
254 sect->ofs = offsetof(zend_gdbjit_obj, sym); in zend_gdbjit_secthdr()
H A Dzend_jit_trace.c464 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE((op… in zend_jit_trace_frame_size()
466 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE(op_… in zend_jit_trace_frame_size()
468 return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack)); in zend_jit_trace_frame_size()
564 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace_build_ssa()
7067 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace()
H A Dzend_jit.c4173 memset(&func_info->ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_cleanup_func_info()
/PHP-8.2/ext/fileinfo/libmagic/
H A Dapprentice.c85 #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.2/Zend/
H A Dzend_portability.h371 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
H A Dzend_operators.h498 (offsetof(zval, u1.type_info) - offsetof(zval, value))
/PHP-8.2/ext/standard/
H A Dcrypt_sha256.c16 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
H A Dcrypt_sha512.c15 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
H A Dvar_unserializer.re24 #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.2/ext/hash/xxhash/
H A Dxxhash.h4684 size_t const initStart = offsetof(XXH3_state_t, bufferedSize); in XXH3_reset_internal()
4685 size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; in XXH3_reset_internal()
4686 XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart); in XXH3_reset_internal()
/PHP-8.2/ext/hash/
H A Dhash.c41 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch56 +#ifndef offsetof
57 +#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))

Completed in 251 milliseconds