Home
last modified time | relevance | path

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

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_php_trace.c83 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
90 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
110 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
125 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, prev_execute_data), &l)) { in fpm_php_trace_dump()
134 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, func), &l)) { in fpm_php_trace_dump()
145 if (0 > fpm_trace_get_long(function + offsetof(zend_function, type), &l)) { in fpm_php_trace_dump()
150 if (0 > fpm_trace_get_long(function + offsetof(zend_op_array, filename), &l)) { in fpm_php_trace_dump()
156 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
160 if (0 > fpm_trace_get_long(prev + offsetof(zend_execute_data, opline), &l)) { in fpm_php_trace_dump()
168 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) { in fpm_php_trace_dump()
[all …]
H A Dfpm_conf.c49 #define GO(field) offsetof(struct fpm_global_config_s, field)
50 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
/PHP-7.3/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.c62 offsetof(pcre2_match_data, ovector) + 2*oveccount*sizeof(PCRE2_SIZE), in pcre2_match_data_create()
H A Dpcre2_pattern_info.c168 *((size_t *)where) = offsetof(heapframe, ovector) + in pcre2_pattern_info()
H A Dpcre2_match.c607 frame_copy_size = frame_size - offsetof(heapframe, eptr); in match()
693 memcpy((char *)N + offsetof(heapframe, eptr), in match()
694 (char *)F + offsetof(heapframe, eptr), in match()
5136 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match()
5327 (char *)assert_accept_frame + offsetof(heapframe, ovector), in match()
5479 memcpy((char *)P + offsetof(heapframe, ovector), Fovector, in match()
5545 memcpy((char *)F + offsetof(heapframe, ovector), P->ovector, in match()
5571 memcpy((char *)P + offsetof(heapframe, eptr), in match()
5572 (char *)F + offsetof(heapframe, eptr), in match()
6276 frame_size = offsetof(heapframe, ovector) + in pcre2_match()
[all …]
/PHP-7.3/ext/sockets/
H A Dconversions.c577 …{"addr", sizeof("addr"), 0, offsetof(struct sockaddr_in, sin_addr), from_zval_write_sin_addr, to_z…
578 …{"port", sizeof("port"), 0, offsetof(struct sockaddr_in, sin_port), from_zval_write_net_uint16, to…
628 …{"addr", sizeof("addr"), 0, offsetof(struct sockaddr_in6, sin6_addr), from_zval_write_sin6_addr, t…
770 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
990 {"level", sizeof("level"), 0, offsetof(struct cmsghdr, cmsg_level), 0, to_zval_read_int}, in to_zval_read_control()
991 {"type", sizeof("type"), 0, offsetof(struct cmsghdr, cmsg_type), 0, to_zval_read_int}, in to_zval_read_control()
1219 {"name", sizeof("name"), 0, offsetof(struct msghdr, msg_name), 0, to_zval_read_name}, in to_zval_read_msghdr()
1222 {"flags", sizeof("flags"), 0, offsetof(struct msghdr, msg_flags), 0, to_zval_read_int}, in to_zval_read_msghdr()
1308 {"pid", sizeof("pid"), 1, offsetof(struct ucred, pid), from_zval_write_pid_t, to_zval_read_pid_t},
1309 {"uid", sizeof("uid"), 1, offsetof(struct ucred, uid), from_zval_write_uid_t, to_zval_read_uid_t},
[all …]
H A Dsockets.c1651 offsetof(struct sockaddr_un, sun_path) + addr_len);
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dunicode_property_data_posix.c5137 #define pool_offset(s) offsetof(struct unicode_prop_name_pool_t, unicode_prop_name_pool_str##s)
H A Dunicode_property_data.c25282 #define pool_offset(s) offsetof(struct unicode_prop_name_pool_t, unicode_prop_name_pool_str##s)
/PHP-7.3/main/
H A Dphp.h505 #ifdef offsetof
506 #define XtOffsetOf(s_type, field) offsetof(s_type, field)
/PHP-7.3/Zend/
H A Dzend_portability.h351 # ifdef offsetof
352 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
H A Dzend_operators.h470 (offsetof(zval, u1.type_info) - offsetof(zval, value))
/PHP-7.3/ext/fileinfo/libmagic/
H A Dapprentice.c83 #ifndef offsetof
84 #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) macro
2264 CAST(off_t, offsetof(struct magic, apple)), in parse_apple()
2277 CAST(off_t, offsetof(struct magic, ext)), in parse_ext()
2291 CAST(zend_off_t, offsetof(struct magic, mimetype)), in parse_mime()
/PHP-7.3/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)
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch74 +#ifndef offsetof
75 +#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))
757 - CAST(off_t, offsetof(struct magic, mimetype)),
758 + CAST(zend_off_t, offsetof(struct magic, mimetype)),
/PHP-7.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c13782 #ifndef offsetof
20163 #define MEMCELLSIZE offsetof(Mem,zMalloc)
49692 assert( offsetof(PgHdr1,page)==0 );
59028 const int nCksum = offsetof(WalIndexHdr, aCksum);
64068 assert( offsetof(BtCursor, eState)==0 );
64080 assert( offsetof(BtCursor, eState)==0 );
76341 memset(&p->aOp, 0, sizeof(Vdbe)-offsetof(Vdbe,aOp));
83756 memset(pCx, 0, offsetof(VdbeCursor,pAltCursor));
98487 assert( offsetof(struct ExprList_item,pExpr)==0 );
135222 callFinaliser(db, offsetof(sqlite3_module,xCommit));
[all …]

Completed in 506 milliseconds