Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 25 of 7557) sorted by relevance

12345678910>>...303

/external/python/cpython2/Modules/expat/
Dxmltok_impl.c36 #define IS_INVALID_CHAR(enc, ptr, n) (0) argument
39 #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument
41 if (end - ptr < n) \
43 if (IS_INVALID_CHAR(enc, ptr, n)) { \
44 *(nextTokPtr) = (ptr); \
47 ptr += n; \
50 #define INVALID_CASES(ptr, nextTokPtr) \ argument
51 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
52 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
53 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \
[all …]
/external/expat/lib/
Dxmltok_impl.c36 # define IS_INVALID_CHAR(enc, ptr, n) (0) argument
39 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument
41 if (end - ptr < n) \
43 if (IS_INVALID_CHAR(enc, ptr, n)) { \
44 *(nextTokPtr) = (ptr); \
47 ptr += n; \
50 # define INVALID_CASES(ptr, nextTokPtr) \ argument
51 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
52 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
53 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \
[all …]
/external/python/cpython3/Modules/expat/
Dxmltok_impl.c36 # define IS_INVALID_CHAR(enc, ptr, n) (0) argument
39 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument
41 if (end - ptr < n) \
43 if (IS_INVALID_CHAR(enc, ptr, n)) { \
44 *(nextTokPtr) = (ptr); \
47 ptr += n; \
50 # define INVALID_CASES(ptr, nextTokPtr) \ argument
51 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
52 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
53 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \
[all …]
/external/llvm-project/clang/test/CodeGen/
Daarch64-bf16-ldst-intrinsics.c10 bfloat16x4_t test_vld1_bf16(bfloat16_t const *ptr) { in test_vld1_bf16() argument
11 return vld1_bf16(ptr); in test_vld1_bf16()
19 bfloat16x8_t test_vld1q_bf16(bfloat16_t const *ptr) { in test_vld1q_bf16() argument
20 return vld1q_bf16(ptr); in test_vld1q_bf16()
28 bfloat16x4_t test_vld1_lane_bf16(bfloat16_t const *ptr, bfloat16x4_t src) { in test_vld1_lane_bf16() argument
29 return vld1_lane_bf16(ptr, src, 0); in test_vld1_lane_bf16()
39 bfloat16x8_t test_vld1q_lane_bf16(bfloat16_t const *ptr, bfloat16x8_t src) { in test_vld1q_lane_bf16() argument
40 return vld1q_lane_bf16(ptr, src, 7); in test_vld1q_lane_bf16()
50 bfloat16x4_t test_vld1_dup_bf16(bfloat16_t const *ptr) { in test_vld1_dup_bf16() argument
51 return vld1_dup_bf16(ptr); in test_vld1_dup_bf16()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DTestJsonPointer.java9 JsonPointer ptr = JsonPointer.compile(INPUT); in testSimplePath() local
10 assertFalse(ptr.matches()); in testSimplePath()
11 assertEquals(-1, ptr.getMatchingIndex()); in testSimplePath()
12 assertEquals("Image", ptr.getMatchingProperty()); in testSimplePath()
13 assertEquals("/Image/15", ptr.head().toString()); in testSimplePath()
14 assertEquals(INPUT, ptr.toString()); in testSimplePath()
16 ptr = ptr.tail(); in testSimplePath()
17 assertNotNull(ptr); in testSimplePath()
18 assertFalse(ptr.matches()); in testSimplePath()
19 assertEquals(15, ptr.getMatchingIndex()); in testSimplePath()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_data.c44 struct ares_data *ptr; in ares_free_data() local
53 ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data)); in ares_free_data()
59 if (ptr->mark != ARES_DATATYPE_MARK) in ares_free_data()
62 switch (ptr->type) in ares_free_data()
66 if (ptr->data.mx_reply.next) in ares_free_data()
67 next_data = ptr->data.mx_reply.next; in ares_free_data()
68 if (ptr->data.mx_reply.host) in ares_free_data()
69 ares_free(ptr->data.mx_reply.host); in ares_free_data()
74 if (ptr->data.srv_reply.next) in ares_free_data()
75 next_data = ptr->data.srv_reply.next; in ares_free_data()
[all …]
/external/llvm-project/clang/test/Sema/
Daarch64-bf16-ldst-intrinsics.c8 bfloat16x4_t test_vld1_lane_bf16(bfloat16_t const *ptr, bfloat16x4_t src) { in test_vld1_lane_bf16() argument
9 …(void)vld1_lane_bf16(ptr, src, -1); // expected-error-re {{argument value {{.*}} is outside the va… in test_vld1_lane_bf16()
10 …(void)vld1_lane_bf16(ptr, src, 4); // expected-error-re {{argument value {{.*}} is outside the va… in test_vld1_lane_bf16()
11 …return vld1_lane_bf16(ptr, src, x); // expected-error-re {{argument {{.*}} must be a constant inte… in test_vld1_lane_bf16()
14 bfloat16x8_t test_vld1q_lane_bf16(bfloat16_t const *ptr, bfloat16x8_t src) { in test_vld1q_lane_bf16() argument
15 …(void)vld1q_lane_bf16(ptr, src, -1); // expected-error-re {{argument value {{.*}} is outside the v… in test_vld1q_lane_bf16()
16 …(void)vld1q_lane_bf16(ptr, src, 8); // expected-error-re {{argument value {{.*}} is outside the v… in test_vld1q_lane_bf16()
17 …return vld1q_lane_bf16(ptr, src, x); // expected-error-re {{argument {{.*}} must be a constant int… in test_vld1q_lane_bf16()
20 bfloat16x4x2_t test_vld2_lane_bf16(bfloat16_t const *ptr, bfloat16x4x2_t src) { in test_vld2_lane_bf16() argument
21 …(void)vld2_lane_bf16(ptr, src, -1); // expected-error-re {{argument value {{.*}} is outside the va… in test_vld2_lane_bf16()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.imageAtomic64.frag.out89 14: 13(ptr) Variable Uniform
93 18(i1D): 17(ptr) Variable UniformConstant
103 35(i3D): 34(ptr) Variable UniformConstant
108 48(iBuf): 47(ptr) Variable UniformConstant
111 58(i2DArray): 57(ptr) Variable UniformConstant
114 69(i2DRect): 68(ptr) Variable UniformConstant
118 81(i2DMSArray): 80(ptr) Variable UniformConstant
126 194(u2D): 193(ptr) Variable UniformConstant
131 207(uCube): 206(ptr) Variable UniformConstant
134 218(u1DArray): 217(ptr) Variable UniformConstant
[all …]
Dspv.shaderImageFootprint.frag.out106 10: 9(ptr) Variable Uniform
113 17(sample2D): 16(ptr) Variable UniformConstant
116 21(P2): 20(ptr) Variable Input
118 24(granularity): 23(ptr) Variable Input
136 76(bias): 75(ptr) Variable Input
138 125(lodClamp): 75(ptr) Variable Input
141 225(lod): 75(ptr) Variable Input
143 275(dx): 20(ptr) Variable Input
144 277(dy): 20(ptr) Variable Input
150 379: 378(ptr) Variable Uniform
[all …]
Dspv.subgroupExtendedTypesArithmetic.comp.out68 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
69 12(gl_SubgroupSize): 9(ptr) Variable Input
88 34(data): 33(ptr) Variable StorageBuffer
133 8(invocation): 7(ptr) Variable Function
140 40: 39(ptr) AccessChain 34(data) 37 37 38
143 44: 39(ptr) AccessChain 34(data) 35 37 38
146 49: 48(ptr) AccessChain 34(data) 46 37
150 53: 48(ptr) AccessChain 34(data) 45 37
155 59: 48(ptr) AccessChain 34(data) 57 37
159 63: 48(ptr) AccessChain 34(data) 56 37
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.imageAtomic64.frag.out89 14: 13(ptr) Variable Uniform
93 18(i1D): 17(ptr) Variable UniformConstant
103 35(i3D): 34(ptr) Variable UniformConstant
108 48(iBuf): 47(ptr) Variable UniformConstant
111 58(i2DArray): 57(ptr) Variable UniformConstant
114 69(i2DRect): 68(ptr) Variable UniformConstant
118 81(i2DMSArray): 80(ptr) Variable UniformConstant
126 194(u2D): 193(ptr) Variable UniformConstant
131 207(uCube): 206(ptr) Variable UniformConstant
134 218(u1DArray): 217(ptr) Variable UniformConstant
[all …]
Dspv.shaderImageFootprint.frag.out106 10: 9(ptr) Variable Uniform
113 17(sample2D): 16(ptr) Variable UniformConstant
116 21(P2): 20(ptr) Variable Input
118 24(granularity): 23(ptr) Variable Input
136 76(bias): 75(ptr) Variable Input
138 125(lodClamp): 75(ptr) Variable Input
141 225(lod): 75(ptr) Variable Input
143 275(dx): 20(ptr) Variable Input
144 277(dy): 20(ptr) Variable Input
150 379: 378(ptr) Variable Uniform
[all …]
Dspv.subgroupExtendedTypesArithmetic.comp.out68 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
69 12(gl_SubgroupSize): 9(ptr) Variable Input
88 34(data): 33(ptr) Variable StorageBuffer
133 8(invocation): 7(ptr) Variable Function
140 40: 39(ptr) AccessChain 34(data) 37 37 38
143 44: 39(ptr) AccessChain 34(data) 35 37 38
146 49: 48(ptr) AccessChain 34(data) 46 37
150 53: 48(ptr) AccessChain 34(data) 45 37
155 59: 48(ptr) AccessChain 34(data) 57 37
159 63: 48(ptr) AccessChain 34(data) 56 37
[all …]
Dspv.subgroupArithmetic.comp.out48 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
49 12(gl_SubgroupSize): 9(ptr) Variable Input
61 27(data): 26(ptr) Variable StorageBuffer
99 8(invocation): 7(ptr) Variable Function
106 32: 31(ptr) AccessChain 27(data) 29 29 30
109 36: 31(ptr) AccessChain 27(data) 28 29 30
112 41: 40(ptr) AccessChain 27(data) 38 29
116 45: 40(ptr) AccessChain 27(data) 37 29
121 51: 40(ptr) AccessChain 27(data) 49 29
125 55: 40(ptr) AccessChain 27(data) 48 29
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_describe.c33 debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr) in debug_describe_reference() argument
39 debug_describe_resource(char* buf, const struct pipe_resource *ptr) in debug_describe_resource() argument
41 switch(ptr->target) in debug_describe_resource()
44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
47 …sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->la… in debug_describe_resource()
50 …printf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->… in debug_describe_resource()
53 …sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr-… in debug_describe_resource()
56 …ntf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->… in debug_describe_resource()
59 …, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name… in debug_describe_resource()
62 …uf, "pipe_texture_1darray<%u,%u,%s,%u>", ptr->width0, ptr->array_size, util_format_short_name(ptr-… in debug_describe_resource()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_debug.c86 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug() local
89 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug()
100 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug()
132 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_prim() local
133 const char *prim = get_prim_name( ptr[0] ); in debug_prim()
139 PRINTF(stream, "\t0x%08x\n", ptr[0]); in debug_prim()
142 PRINTF(stream, "\t0x%08x // %f\n", ptr[i], *(float *)&ptr[i]); in debug_prim()
144 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug_prim()
160 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_program() local
163 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug_program()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Derr_reference_bind_drops_quals.cpp4 typedef int* ptr; typedef
5 void test1(ptr p, const ptr cp, restrict ptr rp, const restrict ptr crp, in test1()
6 volatile ptr vp, const volatile ptr cvp, restrict volatile ptr rvp, in test1()
7 const restrict volatile ptr crvp) { in test1()
8 ptr& p1 = p; in test1()
9 ptr& p2 = cp; // expected-error {{drops 'const' qualifier}} in test1()
10 ptr& p3 = rp; // expected-error {{drops '__restrict' qualifier}} in test1()
11 ptr& p4 = crp; // expected-error {{drops 'const __restrict' qualifiers}} in test1()
12 ptr& p5 = vp; // expected-error {{drops 'volatile' qualifier}} in test1()
13 ptr& p6 = cvp; // expected-error {{drops 'const volatile' qualifiers}} in test1()
[all …]
/external/clang/test/SemaCXX/
Derr_reference_bind_drops_quals.cpp4 typedef int* ptr; typedef
5 void test1(ptr p, const ptr cp, restrict ptr rp, const restrict ptr crp, in test1()
6 volatile ptr vp, const volatile ptr cvp, restrict volatile ptr rvp, in test1()
7 const restrict volatile ptr crvp) { in test1()
8 ptr& p1 = p; in test1()
9 ptr& p2 = cp; // expected-error {{drops 'const' qualifier}} in test1()
10 ptr& p3 = rp; // expected-error {{drops 'restrict' qualifier}} in test1()
11 ptr& p4 = crp; // expected-error {{drops 'const' and 'restrict' qualifiers}} in test1()
12 ptr& p5 = vp; // expected-error {{drops 'volatile' qualifier}} in test1()
13 ptr& p6 = cvp; // expected-error {{drops 'const' and 'volatile' qualifiers}} in test1()
[all …]
/external/llvm/test/MC/X86/
Dintel-syntax-avx512.s5 vaddps zmm1, zmm1, zmmword ptr [rax]
270 vmovss dword ptr [rcx] {k2}, xmm13
274 vmovss dword ptr [rax+r14*8+0x1234],xmm13
278 vmovss dword ptr [rdx+0x1fc],xmm13
282 vmovss dword ptr [rdx+0x200],xmm13
286 vmovss dword ptr [rdx-0x200],xmm13
290 vmovss dword ptr [rdx-0x204],xmm13
294 vmovss dword ptr [rdx+0x1fc],xmm5
298 vmovss dword ptr [rdx+0x200],xmm5
302 vmovss dword ptr [rdx-0x200], xmm5
[all …]
Dintel-syntax-x86-64-avx512f_vl.s229 vgatherdpd xmm17 {k1}, xmmword ptr [r14 + 8*xmm31 + 123]
233 vgatherdpd xmm17 {k1}, xmmword ptr [r9 + xmm31 + 256]
237 vgatherdpd xmm17 {k1}, xmmword ptr [rcx + 4*xmm31 + 1024]
241 vgatherdpd ymm23 {k1}, ymmword ptr [r14 + 8*xmm31 + 123]
245 vgatherdpd ymm23 {k1}, ymmword ptr [r9 + xmm31 + 256]
249 vgatherdpd ymm23 {k1}, ymmword ptr [rcx + 4*xmm31 + 1024]
253 vgatherdpd xmm23 {k1}, xmmword ptr [r14 + 8*xmm31 - 123]
257 vgatherdpd xmm23 {k1}, xmmword ptr [r9 + xmm31 + 256]
261 vgatherdpd xmm23 {k1}, xmmword ptr [rcx + 4*xmm31 + 1024]
265 vgatherdpd ymm18 {k1}, ymmword ptr [r14 + 8*xmm31 - 123]
[all …]
/external/llvm-project/llvm/test/MC/X86/
Dintel-syntax-avx512.s5 vaddps zmm1, zmm1, zmmword ptr [rax]
274 vmovss dword ptr [rcx] {k2}, xmm13
278 vmovss dword ptr [rax+r14*8+0x1234],xmm13
282 vmovss dword ptr [rdx+0x1fc],xmm13
286 vmovss dword ptr [rdx+0x200],xmm13
290 vmovss dword ptr [rdx-0x200],xmm13
294 vmovss dword ptr [rdx-0x204],xmm13
298 vmovss dword ptr [rdx+0x1fc],xmm5
302 vmovss dword ptr [rdx+0x200],xmm5
306 vmovss dword ptr [rdx-0x200], xmm5
[all …]
Dintel-syntax-x86-64-avx512f_vl.s229 vgatherdpd xmm17 {k1}, xmmword ptr [r14 + 8*xmm31 + 123]
233 vgatherdpd xmm17 {k1}, xmmword ptr [r9 + xmm31 + 256]
237 vgatherdpd xmm17 {k1}, xmmword ptr [rcx + 4*xmm31 + 1024]
241 vgatherdpd ymm23 {k1}, ymmword ptr [r14 + 8*xmm31 + 123]
245 vgatherdpd ymm23 {k1}, ymmword ptr [r9 + xmm31 + 256]
249 vgatherdpd ymm23 {k1}, ymmword ptr [rcx + 4*xmm31 + 1024]
253 vgatherdpd xmm23 {k1}, xmmword ptr [r14 + 8*xmm31 - 123]
257 vgatherdpd xmm23 {k1}, xmmword ptr [r9 + xmm31 + 256]
261 vgatherdpd xmm23 {k1}, xmmword ptr [rcx + 4*xmm31 + 1024]
265 vgatherdpd ymm18 {k1}, ymmword ptr [r14 + 8*xmm31 - 123]
[all …]
/external/tcpdump/
Dprint-pptp.c522 const struct pptp_msg_sccrq *ptr = (const struct pptp_msg_sccrq *)dat; in pptp_sccrq_print() local
524 ND_TCHECK(ptr->proto_ver); in pptp_sccrq_print()
525 pptp_proto_ver_print(ndo, &ptr->proto_ver); in pptp_sccrq_print()
526 ND_TCHECK(ptr->reserved1); in pptp_sccrq_print()
527 ND_TCHECK(ptr->framing_cap); in pptp_sccrq_print()
528 pptp_framing_cap_print(ndo, &ptr->framing_cap); in pptp_sccrq_print()
529 ND_TCHECK(ptr->bearer_cap); in pptp_sccrq_print()
530 pptp_bearer_cap_print(ndo, &ptr->bearer_cap); in pptp_sccrq_print()
531 ND_TCHECK(ptr->max_channel); in pptp_sccrq_print()
532 pptp_max_channel_print(ndo, &ptr->max_channel); in pptp_sccrq_print()
[all …]
/external/python/cpython3/Modules/
Dsre_lib.h16 SRE(at)(SRE_STATE* state, const SRE_CHAR* ptr, SRE_CODE at) in SRE()
26 return ((void*) ptr == state->beginning); in SRE()
29 return ((void*) ptr == state->beginning || in SRE()
30 SRE_IS_LINEBREAK((int) ptr[-1])); in SRE()
33 return (((SRE_CHAR *)state->end - ptr == 1 && in SRE()
34 SRE_IS_LINEBREAK((int) ptr[0])) || in SRE()
35 ((void*) ptr == state->end)); in SRE()
38 return ((void*) ptr == state->end || in SRE()
39 SRE_IS_LINEBREAK((int) ptr[0])); in SRE()
42 return ((void*) ptr == state->end); in SRE()
[all …]
/external/rust/crates/memchr/src/x86/
Dsse2.rs115 let mut ptr = start_ptr; in memchr() localVariable
118 while ptr < end_ptr { in memchr()
119 if *ptr == n1 { in memchr()
120 return Some(sub(ptr, start_ptr)); in memchr()
122 ptr = ptr.offset(1); in memchr()
127 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
131 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr()
132 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
133 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
134 debug_assert_eq!(0, (ptr as usize) % VECTOR_SIZE); in memchr()
[all …]

12345678910>>...303