/PHP-8.4/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 78 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 D | fpm_conf.c | 46 #define GO(field) offsetof(struct fpm_global_config_s, field) 47 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
|
/PHP-8.4/ext/fileinfo/ |
H A D | php_libmagic.h | 54 #ifndef offsetof 55 #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) macro
|
/PHP-8.4/ext/sockets/ |
H A D | conversions.c | 789 *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 …]
|
/PHP-8.4/ext/pcre/pcre2lib/ |
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_match_data.c | 64 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 D | pcre2_pattern_info.c | 168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
|
H A D | pcre2_match.c | 642 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 D | pcre2_intmodedep.h | 859 #define HEAPFRAME_ALIGNMENT offsetof(heapframe_align, frame)
|
H A D | pcre2_substitute.c | 311 memcpy(internal_match_data, match_data, offsetof(pcre2_match_data, ovector) in pcre2_substitute()
|
/PHP-8.4/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 206 ir_ADD_OFFSET(_call, offsetof(zend_execute_data, _field)) 1811 ref2 = ir_ADD_OFFSET(ref, offsetof(zend_reference, val)); in jit_ZVAL_PTR_DTOR() 2104 arg3 = ir_ADD_OFFSET(arg3, offsetof(zend_string, val)); in zend_jit_undefined_function_stub() 6092 ref2 = ir_ADD_OFFSET(ref2, offsetof(zend_reference, val)); in zend_jit_assign_op() 8592 ir_ADD_OFFSET(func_ref, offsetof(zend_closure, func))); 9290 ref2 = ir_ADD_OFFSET(ref, offsetof(zend_reference, val)); 10460 ref = ir_ADD_OFFSET(ref, offsetof(zend_reference, val)); 11291 ir_ADD_OFFSET(ref, offsetof(zend_string, val)), 11522 val2 = ir_ADD_OFFSET(ptr, offsetof(zend_reference, val)); 16391 ref = ir_ADD_OFFSET(ref, offsetof(zend_reference, val)); [all …]
|
H A D | zend_jit_trace.c | 433 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE((op… in zend_jit_trace_frame_size() 435 …return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack) + ZEND_MM_ALIGNED_SIZE(op_… in zend_jit_trace_frame_size() 437 return ZEND_MM_ALIGNED_SIZE(offsetof(zend_jit_trace_stack_frame, stack)); in zend_jit_trace_frame_size() 533 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace_build_ssa() 7315 memset(&jit_extension->func_info.ssa, 0, sizeof(zend_func_info) - offsetof(zend_func_info, ssa)); in zend_jit_trace()
|
/PHP-8.4/ext/dom/ |
H A D | private_data.c | 135 ZEND_ASSERT(offsetof(Bucket, val) == 0 && "Type cast only works if this is true"); in php_dom_remove_templated_content()
|
/PHP-8.4/ext/opcache/jit/ir/ |
H A D | ir_gdb.c | 169 .shofs = offsetof(ir_gdbjit_obj, sect), 249 sect->ofs = offsetof(ir_gdbjit_obj, sym); in ir_gdbjit_secthdr()
|
H A D | ir.c | 715 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 D | ir_aarch64.dasc | 4237 | 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 D | ir_x86.dasc | 8041 | 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-8.4/Zend/ |
H A D | zend_operators.h | 521 (offsetof(zval, u1.type_info) - offsetof(zval, value))
|
H A D | zend_portability.h | 394 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
|
/PHP-8.4/ext/standard/ |
H A D | crypt_sha256.c | 16 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
|
H A D | crypt_sha512.c | 15 # 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.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 2504 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-8.4/ext/hash/xxhash/ |
H A D | xxhash.h | 4715 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-8.4/ext/hash/ |
H A D | hash.c | 40 # define __alignof__(type) offsetof (struct { char c; type member;}, member)
|