Home
last modified time | relevance | path

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

/PHP-8.1/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.c45 #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 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.c627 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 Dpcre2_substitute.c298 memcpy(internal_match_data, match_data, offsetof(pcre2_match_data, ovector) in pcre2_substitute()
/PHP-8.1/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 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 Dsockets.c1416 offsetof(struct sockaddr_un, sun_path) + addr_len);
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_arm64.dasc782 | 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 Dzend_jit_x86.dasc1356 | 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 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.c465 …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 Dzend_jit.c4193 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 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.1/Zend/
H A Dzend_portability.h345 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
H A Dzend_operators.h468 (offsetof(zval, u1.type_info) - offsetof(zval, value))
/PHP-8.1/ext/standard/
H A Dcrypt_sha256.c17 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
H A Dcrypt_sha512.c16 # 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.1/ext/hash/xxhash/
H A Dxxhash.h3976 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 Dhash.c40 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch56 +#ifndef offsetof
57 +#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))

Completed in 172 milliseconds