Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 25 of 5678) sorted by relevance

12345678910>>...228

/third_party/python/Lib/test/
Dtest_struct.py6 import struct
35 self.assertEqual((struct.pack('=i', 1)[0] == 0), ISBIGENDIAN)
38 self.assertRaises(struct.error, struct.calcsize, 'Z')
40 sz = struct.calcsize('i')
41 self.assertEqual(sz * 3, struct.calcsize('iii'))
45 sz = struct.calcsize(fmt)
46 sz3 = struct.calcsize(fmt3)
49 self.assertRaises(struct.error, struct.pack, 'iii', 3)
50 self.assertRaises(struct.error, struct.pack, 'i', 3, 3, 3)
51 self.assertRaises((TypeError, struct.error), struct.pack, 'i', 'foo')
[all …]
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl4 struct VkExtent2D
10 struct VkExtent3D
17 struct VkOffset2D
23 struct VkOffset3D
30 struct VkRect2D
36 struct VkBaseInStructure
39 const struct VkBaseInStructure* pNext;
42 struct VkBaseOutStructure
45 struct VkBaseOutStructure* pNext;
48 struct VkBufferMemoryBarrier
[all …]
/third_party/lwip/
D0081-ip6-hdr.patch8 -ip6_forward(struct pbuf *p, struct ip6_hdr *iphdr, struct netif *inp)
9 +ip6_forward(struct pbuf *p, struct ip6hdr *iphdr, struct netif *inp)
11 struct netif *netif;
15 ip6_input(struct pbuf *p, struct netif *inp)
17 - struct ip6_hdr *ip6hdr;
18 + struct ip6hdr *ip6hdr;
19 struct netif *netif;
26 - ip6hdr = (struct ip6_hdr *)p->payload;
27 + ip6hdr = (struct ip6hdr *)p->payload;
35 - ip6hdr = (struct ip6_hdr *)p->payload;
[all …]
D0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch20 @@ -292,7 +292,7 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
29 @@ -356,7 +356,7 @@ recv_tcp(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
47 @@ -1348,7 +1348,7 @@ lwip_netconn_do_connected(void *arg, struct tcp_pcb *pcb, err_t err)
60 @@ -613,7 +613,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
69 @@ -785,7 +785,7 @@ lwip_accept4(int s, struct sockaddr *addr, socklen_t *addrlen, int flags)
78 @@ -1170,7 +1170,7 @@ lwip_recv_tcp(struct lwip_sock *sock, void *mem, size_t len, int flags)
87 @@ -1369,7 +1369,7 @@ lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, …
107 p = (struct pbuf *)mem_malloc(alloc_len);
109 @@ -780,7 +780,7 @@ pbuf_free(struct pbuf *p)
116 struct pbuf_custom *pc = (struct pbuf_custom *)p;
[all …]
D0057-same-node-gazellectl-a.patch24 @@ -605,6 +605,10 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
35 @@ -716,6 +720,11 @@ free_socket(struct lwip_sock *sock, int is_tcp)
47 @@ -780,6 +789,18 @@ lwip_accept4(int s, struct sockaddr *addr, socklen_t *addrlen, int flags)
52 + struct tcp_pcb *pcb = newconn->pcb.tcp;
70 @@ -729,6 +729,7 @@ ip_frag_free_pbuf_custom_ref(struct pbuf_custom_ref *p)
72 /** Free-callback function to free a 'struct pbuf_custom_ref', called by
76 ipfrag_free_pbuf_custom(struct pbuf *p)
78 @@ -740,6 +741,7 @@ ipfrag_free_pbuf_custom(struct pbuf *p)
86 @@ -851,7 +853,9 @@ ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest)
100 @@ -1065,7 +1065,7 @@ netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_ca…
[all …]
D0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch21 @@ -655,7 +655,11 @@ netconn_recv_data(struct netconn *conn, void **new_buf, u8_t apiflags)
26 + len = ((struct pbuf *)buf)->tot_len;
28 len = netbuf_len((struct netbuf *)buf);
33 @@ -827,6 +831,16 @@ netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf)
39 +netconn_recv_udp_raw_pbuf_flags(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags)
54 @@ -253,6 +253,14 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
66 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
69 @@ -277,17 +285,18 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
95 @@ -1179,7 +1179,7 @@ lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, …
104 @@ -1267,7 +1267,7 @@ lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, …
[all …]
D0039-optimize-app-thread-write-buff-block.patch16 @@ -763,7 +763,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
20 - write_lwip_over((struct lwip_sock*)arg, 1);
21 + write_lwip_over((struct lwip_sock*)arg);
29 @@ -231,6 +231,9 @@ struct pbuf {
35 + struct pbuf *last;
43 @@ -93,17 +93,30 @@ struct lwip_sock {
47 - struct pbuf *send_lastdata;
50 - struct pbuf *recv_lastdata __rte_cache_aligned; /* unread data in one pbuf */
51 - struct list_node recv_list __rte_cache_aligned;
52 - struct list_node event_list __rte_cache_aligned;
[all …]
D0024-refactor-pkt-read-send-performance.patch21 @@ -341,13 +341,12 @@ recv_tcp(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
51 @@ -1356,6 +1352,7 @@ lwip_netconn_do_connected(void *arg, struct tcp_pcb *pcb, err_t err)
63 @@ -60,7 +60,7 @@ static struct lwip_sock *chld_get_socket(int fd)
85 @@ -1039,11 +1039,7 @@ lwip_recv_tcp(struct lwip_sock *sock, void *mem, size_t len, int flags)
97 @@ -1134,6 +1130,7 @@ lwip_recv_tcp(struct lwip_sock *sock, void *mem, size_t len, int flags)
105 @@ -2667,10 +2664,8 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
130 @@ -134,7 +133,7 @@ err_t sys_mbox_trypost(struct sys_mbox **mb, void *msg)
132 struct sys_mbox *mbox = *mb;
139 @@ -148,7 +147,7 @@ void sys_mbox_post(struct sys_mbox **mb, void *msg)
148 @@ -163,7 +162,7 @@ uint32_t sys_arch_mbox_tryfetch(struct sys_mbox **mb, void **msg)
[all …]
D0038-add-tso.patch20 @@ -482,6 +482,13 @@ etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct
21 struct pbuf *p = arp_table[i].q;
25 + struct pbuf *tmp = p->next;
32 ethernet_output(netif, p, (struct eth_addr *)(netif->hwaddr), ethaddr, ETHTYPE_IP);
34 @@ -1027,7 +1034,15 @@ etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q)
40 + struct pbuf *tmp = p;
55 @@ -1034,9 +1034,15 @@ ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_…
77 @@ -1756,7 +1756,9 @@ tcp_seg_free(struct tcp_seg *seg)
87 @@ -1792,10 +1794,14 @@ tcp_seg_copy(struct tcp_seg *seg)
92 + cseg = (struct tcp_seg *)((uint8_t *)seg->p + sizeof(struct pbuf_custom));
[all …]
/third_party/protobuf/ruby/tests/
Dwell_known_types_test.rb36 struct = Google::Protobuf::Struct.new
45 struct["number"] = 12345
46 struct["boolean-true"] = true
47 struct["boolean-false"] = false
48 struct["null"] = nil
49 struct["string"] = "abcdef"
50 struct["substruct"] = substruct
51 struct["sublist"] = sublist
53 assert_equal 12345, struct["number"]
54 assert_equal true, struct["boolean-true"]
[all …]
/third_party/skia/tests/sksl/shared/
DStructMaxDepth.metal4 struct S1 {
7 struct S2 {
10 struct S3 {
13 struct S4 {
16 struct S5 {
19 struct S6 {
22 struct S7 {
25 struct S8 {
28 struct SA1 {
31 struct SA2 {
[all …]
DStructMaxDepth.glsl2 struct S1 {
5 struct S2 {
8 struct S3 {
11 struct S4 {
14 struct S5 {
17 struct S6 {
20 struct S7 {
23 struct S8 {
27 struct SA1 {
30 struct SA2 {
[all …]
/third_party/libwebsockets/READMEs/
DREADME.lws_dll.md17 macro to get a pointer to your struct that contains the list object. Doing
20 - the list object does not have to be the first thing in your struct
22 - your struct can contain multiple list objects and appear on lists belonging
28 struct mystruct {
41 struct mystruct *p;
54 If you have a `struct lws_dll *d` pointing to `list` in struct mystruct, you can
55 convert it to a `struct mystruct *p` ike this
58 struct mystruct *p = lws_container_of(d, struct lws_dll, list);
65 struct mystruct {
78 struct mystruct *p;
[all …]
/third_party/skia/resources/sksl/shared/
DStructMaxDepth.sksl1 struct S1 { int x; };
2 struct S2 { S1 x; };
3 struct S3 { S2 x; };
4 struct S4 { S3 x; };
5 struct S5 { S4 x; };
6 struct S6 { S5 x; };
7 struct S7 { S6 x; };
8 struct S8 { S7 x; };
11 struct SA1 { int x[2]; };
12 struct SA2 { SA1 x[2]; };
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/
DAttributesCompatFunc.inc142 struct EnumAttr {
157 struct StrBoolAttr {
171 struct AlignmentAttr : EnumAttr {
176 struct AllocSizeAttr : EnumAttr {
181 struct AlwaysInlineAttr : EnumAttr {
186 struct ArgMemOnlyAttr : EnumAttr {
191 struct BuiltinAttr : EnumAttr {
196 struct ByValAttr : EnumAttr {
201 struct ColdAttr : EnumAttr {
206 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DAttributes.inc142 struct EnumAttr {
157 struct StrBoolAttr {
171 struct AlignmentAttr : EnumAttr {
176 struct AllocSizeAttr : EnumAttr {
181 struct AlwaysInlineAttr : EnumAttr {
186 struct ArgMemOnlyAttr : EnumAttr {
191 struct BuiltinAttr : EnumAttr {
196 struct ByValAttr : EnumAttr {
201 struct ColdAttr : EnumAttr {
206 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen118 struct EnumAttr {
133 struct StrBoolAttr {
147 struct AlignmentAttr : EnumAttr {
152 struct AllocSizeAttr : EnumAttr {
157 struct AlwaysInlineAttr : EnumAttr {
162 struct ArgMemOnlyAttr : EnumAttr {
167 struct BuiltinAttr : EnumAttr {
172 struct ByValAttr : EnumAttr {
177 struct ColdAttr : EnumAttr {
182 struct ConvergentAttr : EnumAttr {
[all …]
/third_party/toybox/kconfig/
Dzconf.hash.c_shipped32 struct kconf_id;
89 struct kconf_id_strings_t
125 static struct kconf_id_strings_t kconf_id_strings_contents =
162 struct kconf_id *
174 static struct kconf_id wordlist[] =
177 {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str2, T_ON, TF_PARAM},
179 …{(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str6, T_TYPE, TF_COMMAND, S_STRI…
180 …{(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str7, T_DEFAULT, TF_COMMAND, S_UNK…
181 …{(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str8, T_DEFAULT, TF_COMMAND, S_BOO…
183 {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str10, T_RANGE, TF_COMMAND},
[all …]
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff302 +struct sloted_coords {
308 +struct sloted_coords_info {
309 + struct sloted_coords coords[MAX_SOLTED_COORDS_NUM];
321 +struct libinput_event_joystick_axis_abs_info {
371 +struct libinput_event_touch *
372 +libinput_event_get_touchpad_event(struct libinput_event *event);
395 + struct libinput_event_pointer *event);
409 +libinput_event_touch_get_tool_type(struct libinput_event_touch *event);
423 +libinput_event_touch_get_tool_x(struct libinput_event_touch *event);
436 +libinput_event_touch_get_tool_x_transformed(struct libinput_event_touch *event,
[all …]
/third_party/typescript/tests/dets/baselines/reference/
DstatusManagementOfPageLevelVariables.d.ets7 declare struct EntryComponent05 {
11 declare struct MyComponent05 {
22 declare struct ParentComponent {
28 declare struct CountDownComponent {
36 declare struct Player {
42 declare struct PlayButton {
49 declare struct Parent {
55 declare struct Child {
62 declare struct ParentView {
68 declare struct ChildA {
[all …]

12345678910>>...228