Home
last modified time | relevance | path

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

12

/php-src/sapi/fpm/fpm/
H A Dfpm_php_trace.c78 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
85 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
105 if (0 > fpm_trace_get_strz(buf, sizeof(buf), function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
120 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump()
129 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
140 if (0 > fpm_trace_get_long(function + offsetof(zend_function, type), &l)) { in fpm_php_trace_dump()
145 if (0 > fpm_trace_get_long(function + offsetof(zend_op_array, filename), &l)) { in fpm_php_trace_dump()
151 if (0 > fpm_trace_get_strz(buf, sizeof(buf), file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
155 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, opline), &l)) { in fpm_php_trace_dump()
163 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-src/ext/fileinfo/
H A Dphp_libmagic.h58 #ifndef offsetof
59 #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) macro
/php-src/ext/sockets/
H A Dconversions.c789 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
1009 {"level", sizeof("level"), 0, offsetof(struct cmsghdr, cmsg_level), 0, to_zval_read_int}, in to_zval_read_control()
1010 {"type", sizeof("type"), 0, offsetof(struct cmsghdr, cmsg_type), 0, to_zval_read_int}, in to_zval_read_control()
1234 {"name", sizeof("name"), 0, offsetof(struct msghdr, msg_name), 0, to_zval_read_name}, in to_zval_read_msghdr()
1237 {"flags", sizeof("flags"), 0, offsetof(struct msghdr, msg_flags), 0, to_zval_read_int}, in to_zval_read_msghdr()
1324 …{"pid", sizeof("pid"), 1, offsetof(struct sockcred2, sc_pid), from_zval_write_pid_t, to_zval_read_…
1329 …{"pid", sizeof("pid"), 1, offsetof(struct sockcred, sc_pid), from_zval_write_pid_t, to_zval_read_p…
1330 …{"uid", sizeof("uid"), 1, offsetof(struct sockcred, sc_euid), from_zval_write_uid_t, to_zval_read_…
1339 {"pid", sizeof("pid"), 1, offsetof(struct ucred, pid), from_zval_write_pid_t, to_zval_read_pid_t},
1340 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
[all …]
H A Dsockets.c1231 offsetof(struct sockaddr_un, sun_path) + addr_len);
/php-src/ext/pcre/pcre2lib/
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_match_data.c64 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
169 return offsetof(pcre2_match_data, ovector) + in pcre2_get_match_data_size()
H A Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_match.c642 frame_copy_size = frame_size - offsetof(heapframe, eptr); in match()
749 memcpy((char *)N + offsetof(heapframe, eptr), in match()
750 (char *)F + offsetof(heapframe, eptr), in match()
5523 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match()
5942 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5978 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6068 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
6094 memcpy((char *)P + offsetof(heapframe, eptr), in match()
6095 (char *)F + offsetof(heapframe, eptr), in match()
7032 frame_size = (offsetof(heapframe, ovector) + in pcre2_match()
[all …]
H A Dpcre2_substitute.c311 memcpy(internal_match_data, match_data, offsetof(pcre2_match_data, ovector) in pcre2_substitute()
H A Dpcre2_intmodedep.h858 #define HEAPFRAME_ALIGNMENT offsetof(heapframe_align, frame)
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c206 ir_ADD_OFFSET(_call, offsetof(zend_execute_data, _field))
1784 ref2 = ir_ADD_OFFSET(ref, offsetof(zend_reference, val)); in jit_ZVAL_PTR_DTOR()
2078 arg3 = ir_ADD_OFFSET(arg3, offsetof(zend_string, val)); in zend_jit_undefined_function_stub()
5904 ref2 = ir_ADD_OFFSET(ref2, offsetof(zend_reference, val)); in zend_jit_assign_op()
8379 ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func)));
9077 ref2 = ir_ADD_OFFSET(ref, offsetof(zend_reference, val));
10251 ref = ir_ADD_OFFSET(ref, offsetof(zend_reference, val));
11084 ir_ADD_OFFSET(ref, offsetof(zend_string, val)),
11315 val2 = ir_ADD_OFFSET(ptr, offsetof(zend_reference, val));
15971 ref = ir_ADD_OFFSET(ref, offsetof(zend_reference, val));
[all …]
H A Dzend_jit_trace.c434 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE((op… in zend_jit_trace_frame_size()
436 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE(op_… in zend_jit_trace_frame_size()
438 return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack)); in zend_jit_trace_frame_size()
534 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace_build_ssa()
7181 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace()
/php-src/ext/opcache/jit/ir/
H A Dir_gdb.c169 .shofs = offsetof(ir_gdbjit_obj, sect),
249 sect->ofs = offsetof(ir_gdbjit_obj, sym); in ir_gdbjit_secthdr()
H A Dir.c715 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 0);
726 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 1);
738 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 2);
751 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 3);
766 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 4);
782 return ir_strl(ctx, (const char *)&proto, offsetof(ir_proto_t, param_types) + 5);
787 ir_proto_t *proto = alloca(offsetof(ir_proto_t, param_types) + params_count);
794 return ir_strl(ctx, (const char *)proto, offsetof(ir_proto_t, param_types) + params_count);
H A Dir_aarch64.dasc4237 | str Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, stack))]
4244 | str Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, gr_top))]
4250 | str wzr, [Rx(op2_reg), #(offset+offsetof(ir_va_list, gr_offset))]
4258 | str Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, vr_top))]
4264 | str wzr, [Rx(op2_reg), #(offset+offsetof(ir_va_list, vr_offset))]
4398 | ldr Rw(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, gr_offset))]
4406 | str Rw(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, gr_offset))]
4409 | ldr Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, stack))]
4412 | str Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, stack))]
4426 | ldr Rx(tmp_reg), [Rx(op2_reg), #(offset+offsetof(ir_va_list, stack))]
[all …]
H A Dir_x86.dasc8041 | mov qword [Ra(op2_reg)+(offset+offsetof(ir_va_list, reg_save_area))], Ra(tmp_reg)
8119 | mov Rd(tmp_reg), dword [Ra(op3_reg)+(op3_offset+offsetof(ir_va_list, gp_offset))]
8120 | mov dword [Ra(op2_reg)+(op2_offset+offsetof(ir_va_list, gp_offset))], Rd(tmp_reg)
8121 | mov Rd(tmp_reg), dword [Ra(op3_reg)+(op3_offset+offsetof(ir_va_list, fp_offset))]
8122 | mov aword [Ra(op2_reg)+(op2_offset+offsetof(ir_va_list, fp_offset))], Ra(tmp_reg)
8186 | mov Rd(tmp_reg), dword [Ra(op2_reg)+(offset+offsetof(ir_va_list, gp_offset))]
8190 | mov dword [Ra(op2_reg)+(offset+offsetof(ir_va_list, gp_offset))], Rd(tmp_reg)
8191 | add Ra(tmp_reg), aword [Ra(op2_reg)+(offset+offsetof(ir_va_list, reg_save_area))]
8200 | mov Rd(tmp_reg), dword [Ra(op2_reg)+(offset+offsetof(ir_va_list, fp_offset))]
8204 | mov dword [Ra(op2_reg)+(offset+offsetof(ir_va_list, fp_offset))], Rd(tmp_reg)
[all …]
/php-src/Zend/
H A Dzend_operators.h508 (offsetof(zval, u1.type_info) - offsetof(zval, value))
H A Dzend_portability.h384 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
/php-src/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-src/ext/fileinfo/libmagic/
H A Dapprentice.c2504 CAST(off_t, offsetof(struct magic, apple)), in parse_apple()
2516 CAST(off_t, offsetof(struct magic, ext)), in parse_ext()
2531 CAST(off_t, offsetof(struct magic, mimetype)), in parse_mime()
/php-src/ext/hash/xxhash/
H A Dxxhash.h4715 size_t const initStart = offsetof(XXH3_state_t, bufferedSize); in XXH3_reset_internal()
4716 size_t const initLength = offsetof(XXH3_state_t, nbStripesPerBlock) - initStart; in XXH3_reset_internal()
4717 XXH_ASSERT(offsetof(XXH3_state_t, nbStripesPerBlock) > initStart); in XXH3_reset_internal()
/php-src/ext/hash/
H A Dhash.c40 # define __alignof__(type) offsetof (struct { char c; type member;}, member)

Completed in 232 milliseconds

12