Home
last modified time | relevance | path

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

12345678910>>...225

/third_party/skia/third_party/externals/expat/expat/lib/
Dxmltok_impl.c44 # define IS_INVALID_CHAR(enc, ptr, n) (0) argument
47 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument
49 if (end - ptr < n) \
51 if (IS_INVALID_CHAR(enc, ptr, n)) { \
52 *(nextTokPtr) = (ptr); \
55 ptr += n; \
58 # define INVALID_CASES(ptr, nextTokPtr) \ argument
59 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
60 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
61 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \
[all …]
/third_party/python/Modules/expat/
Dxmltok_impl.c44 # define IS_INVALID_CHAR(enc, ptr, n) (0) argument
47 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument
49 if (end - ptr < n) \
51 if (IS_INVALID_CHAR(enc, ptr, n)) { \
52 *(nextTokPtr) = (ptr); \
55 ptr += n; \
58 # define INVALID_CASES(ptr, nextTokPtr) \ argument
59 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
60 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
61 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/
Dtypeof-mods.c8 unsigned int obj, *ptr; in test_spec() local
10 typeof(ptr) ptr2 = ptr; in test_spec()
11 typeof(*ptr) var2 = obj; in test_spec()
12 typeof(*ptr) *ptr3 = ptr; in test_spec()
13 typeof(obj) *ptr4 = ptr; in test_spec()
15 ptr = ptr; in test_spec()
16 ptr = &obj; in test_spec()
17 obj = *ptr; in test_spec()
22 const int obj, *ptr; in test_const() local
24 typeof(ptr) ptr2 = ptr; in test_const()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dptrlist.h14 #define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0]) argument
59 #define add_ptr_list(list, ptr) ({ \ argument
61 CHECK_TYPE(*(list),ptr); \
62 (__typeof__(&(ptr))) __add_ptr_list(head, ptr); \
64 #define add_ptr_list_tag(list, ptr, tag) ({ \ argument
66 CHECK_TYPE(*(list),ptr); \
67 (__typeof__(&(ptr))) __add_ptr_list_tag(head, ptr, tag);\
71 PTRLIST_TYPE(*(l)) ptr; \
72 ptr = delete_ptr_list_last((struct ptr_list**)(l)); \
73 ptr; \
[all …]
/third_party/glslang/Test/baseResults/
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
134 8(invocation): 7(ptr) Variable Function
141 40: 39(ptr) AccessChain 34(data) 37 37 38
144 44: 39(ptr) AccessChain 34(data) 35 37 38
147 49: 48(ptr) AccessChain 34(data) 46 37
151 53: 39(ptr) AccessChain 34(data) 45 37 38
154 56: 39(ptr) AccessChain 34(data) 45 37 55
158 61: 48(ptr) AccessChain 34(data) 59 37
[all …]
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.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
100 8(invocation): 7(ptr) Variable Function
107 32: 31(ptr) AccessChain 27(data) 29 29 30
110 36: 31(ptr) AccessChain 27(data) 28 29 30
113 41: 40(ptr) AccessChain 27(data) 38 29
117 45: 31(ptr) AccessChain 27(data) 37 29 30
120 48: 31(ptr) AccessChain 27(data) 37 29 47
124 53: 40(ptr) AccessChain 27(data) 51 29
[all …]
Dspv.subgroupExtendedTypesClustered.comp.out68 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
69 12(gl_SubgroupSize): 9(ptr) Variable Input
88 34(data): 33(ptr) Variable StorageBuffer
134 8(invocation): 7(ptr) Variable Function
141 40: 39(ptr) AccessChain 34(data) 37 37 38
144 45: 39(ptr) AccessChain 34(data) 35 37 38
147 50: 49(ptr) AccessChain 34(data) 47 37
151 54: 39(ptr) AccessChain 34(data) 46 37 38
154 56: 39(ptr) AccessChain 34(data) 46 37 42
158 61: 49(ptr) AccessChain 34(data) 59 37
[all …]
Dspv.subgroupExtendedTypesPartitioned.comp.out70 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
71 12(gl_SubgroupSize): 9(ptr) Variable Input
92 37(data): 36(ptr) Variable StorageBuffer
138 8(invocation): 7(ptr) Variable Function
139 19(ballot): 18(ptr) Variable Function
145 42: 41(ptr) AccessChain 37(data) 39 39 40
149 48: 47(ptr) AccessChain 37(data) 45 39
154 54: 47(ptr) AccessChain 37(data) 52 39
159 59: 47(ptr) AccessChain 37(data) 58 39
163 63: 62(ptr) AccessChain 37(data) 39 45 40
[all …]
Dspv.subgroupPartitioned.comp.out50 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
51 12(gl_SubgroupSize): 9(ptr) Variable Input
64 31(data): 30(ptr) Variable StorageBuffer
106 8(invocation): 7(ptr) Variable Function
107 19(ballot): 18(ptr) Variable Function
117 37: 36(ptr) AccessChain 31(data) 34 34 35
120 41: 40(ptr) AccessChain 31(data) 32 33
123 45: 44(ptr) AccessChain 31(data) 34 34
127 49: 40(ptr) AccessChain 31(data) 42 33
130 52: 44(ptr) AccessChain 31(data) 34 34
[all …]
Dspv.subgroupExtendedTypesQuad.comp.out68 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
69 12(gl_SubgroupSize): 9(ptr) Variable Input
88 34(data): 33(ptr) Variable StorageBuffer
134 8(invocation): 7(ptr) Variable Function
141 40: 39(ptr) AccessChain 34(data) 37 37 38
144 45: 39(ptr) AccessChain 34(data) 35 37 38
147 50: 49(ptr) AccessChain 34(data) 47 37
151 54: 39(ptr) AccessChain 34(data) 46 37 38
154 56: 39(ptr) AccessChain 34(data) 46 37 42
158 61: 49(ptr) AccessChain 34(data) 59 37
[all …]
Dspv.subgroupClustered.comp.out48 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
49 12(gl_SubgroupSize): 9(ptr) Variable Input
61 27(data): 26(ptr) Variable StorageBuffer
100 8(invocation): 7(ptr) Variable Function
107 32: 31(ptr) AccessChain 27(data) 29 29 30
110 37: 31(ptr) AccessChain 27(data) 28 29 30
113 42: 41(ptr) AccessChain 27(data) 39 29
117 46: 31(ptr) AccessChain 27(data) 38 29 30
120 48: 31(ptr) AccessChain 27(data) 38 29 34
124 53: 41(ptr) AccessChain 27(data) 51 29
[all …]
Dspv.subgroupQuad.comp.out48 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
49 12(gl_SubgroupSize): 9(ptr) Variable Input
61 27(data): 26(ptr) Variable StorageBuffer
100 8(invocation): 7(ptr) Variable Function
107 32: 31(ptr) AccessChain 27(data) 29 29 30
110 37: 31(ptr) AccessChain 27(data) 28 29 30
113 42: 41(ptr) AccessChain 27(data) 39 29
117 46: 31(ptr) AccessChain 27(data) 38 29 30
120 48: 31(ptr) AccessChain 27(data) 38 29 34
124 53: 41(ptr) AccessChain 27(data) 51 29
[all …]
Dspv.subgroupExtendedTypesBallot.comp.out68 10(gl_SubgroupInvocationID): 9(ptr) Variable Input
69 12(gl_SubgroupSize): 9(ptr) Variable Input
88 34(data): 33(ptr) Variable StorageBuffer
134 8(invocation): 7(ptr) Variable Function
141 40: 39(ptr) AccessChain 34(data) 37 37 38
144 44: 39(ptr) AccessChain 34(data) 35 37 38
147 49: 48(ptr) AccessChain 34(data) 46 37
151 53: 39(ptr) AccessChain 34(data) 45 37 38
154 56: 39(ptr) AccessChain 34(data) 45 37 55
158 61: 48(ptr) AccessChain 34(data) 59 37
[all …]
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_debug.c71 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug() local
74 mesa_logi("Error - zero length packet (0x%08x)", stream->ptr[0]); in debug()
84 mesa_logi("\t0x%08x", ptr[i]); in debug()
142 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_prim() local
143 const char *prim = get_prim_name(ptr[0]); in debug_prim()
147 mesa_logi("\t0x%08x", ptr[0]); in debug_prim()
150 mesa_logi("\t0x%08x // %f", ptr[i], *(float *)&ptr[i]); in debug_prim()
152 mesa_logi("\t0x%08x", ptr[i]); in debug_prim()
165 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_program() local
168 mesa_logi("Error - zero length packet (0x%08x)", stream->ptr[0]); in debug_program()
[all …]
/third_party/openssl/ohos_lite/include/internal/
Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) argument
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed) argument
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed) argument
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed) argument
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire) argument
62 # define tsan_st_rel(ptr, val) atomic_store_explicit((ptr), (val), memory_order_release) argument
70 # define tsan_load(ptr) __atomic_load_n((ptr), __ATOMIC_RELAXED) argument
71 # define tsan_store(ptr, val) __atomic_store_n((ptr), (val), __ATOMIC_RELAXED) argument
72 # define tsan_counter(ptr) __atomic_fetch_add((ptr), 1, __ATOMIC_RELAXED) argument
73 # define tsan_decr(ptr) __atomic_fetch_add((ptr), -1, __ATOMIC_RELAXED) argument
[all …]
/third_party/openssl/include/internal/
Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) argument
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed) argument
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed) argument
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed) argument
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire) argument
62 # define tsan_st_rel(ptr, val) atomic_store_explicit((ptr), (val), memory_order_release) argument
70 # define tsan_load(ptr) __atomic_load_n((ptr), __ATOMIC_RELAXED) argument
71 # define tsan_store(ptr, val) __atomic_store_n((ptr), (val), __ATOMIC_RELAXED) argument
72 # define tsan_counter(ptr) __atomic_fetch_add((ptr), 1, __ATOMIC_RELAXED) argument
73 # define tsan_decr(ptr) __atomic_fetch_add((ptr), -1, __ATOMIC_RELAXED) argument
[all …]
/third_party/node/deps/openssl/openssl/include/internal/
Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) argument
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed) argument
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed) argument
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed) argument
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire) argument
62 # define tsan_st_rel(ptr, val) atomic_store_explicit((ptr), (val), memory_order_release) argument
70 # define tsan_load(ptr) __atomic_load_n((ptr), __ATOMIC_RELAXED) argument
71 # define tsan_store(ptr, val) __atomic_store_n((ptr), (val), __ATOMIC_RELAXED) argument
72 # define tsan_counter(ptr) __atomic_fetch_add((ptr), 1, __ATOMIC_RELAXED) argument
73 # define tsan_decr(ptr) __atomic_fetch_add((ptr), -1, __ATOMIC_RELAXED) argument
[all …]
/third_party/python/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 …]
/third_party/mesa3d/src/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 …]
/third_party/rust/crates/memchr/src/memchr/x86/
Dsse2.rs113 let mut ptr = start_ptr; in memchr() localVariable
116 while ptr < end_ptr { in memchr()
117 if *ptr == n1 { in memchr()
118 return Some(sub(ptr, start_ptr)); in memchr()
120 ptr = ptr.offset(1); in memchr()
125 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
129 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr()
130 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
131 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
132 debug_assert_eq!(0, (ptr as usize) % VECTOR_SIZE); in memchr()
[all …]
Davx.rs35 ptr: *const u8, in memchr()
41 let mut at = sub(ptr, start_ptr); in memchr()
67 let mut ptr = start_ptr; in memchr() localVariable
77 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
81 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr()
82 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
83 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
84 debug_assert_eq!(0, (ptr as usize) % VECTOR_SIZE); in memchr()
86 let a = _mm256_load_si256(ptr as *const __m256i); in memchr()
87 let b = _mm256_load_si256(ptr.add(VECTOR_SIZE) as *const __m256i); in memchr()
[all …]
/third_party/cups-filters/utils/
Ddriverless.c69 *ptr, /* Pointer into string */ in listPrintersInArray() local
94 ptr = ippfind_output; in listPrintersInArray()
108 service_hostname = ptr; in listPrintersInArray()
109 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
110 if (!ptr) in listPrintersInArray()
112 *ptr = '\0'; in listPrintersInArray()
113 ptr ++; in listPrintersInArray()
115 resource = ptr; in listPrintersInArray()
116 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
117 if (!ptr) goto read_error; in listPrintersInArray()
[all …]
/third_party/libcoap/src/oscore/
Doscore_cose.c278 cose_encrypt0_encode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t buf_len) { in cose_encrypt0_encode() argument
287 ptr->ciphertext.s, in cose_encrypt0_encode()
288 ptr->ciphertext.length); in cose_encrypt0_encode()
293 int cose_encrypt0_decode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size);
297 cose_encrypt0_init(cose_encrypt0_t *ptr) { in cose_encrypt0_init() argument
298 memset(ptr, 0, sizeof(cose_encrypt0_t)); in cose_encrypt0_init()
302 cose_encrypt0_set_alg(cose_encrypt0_t *ptr, uint8_t alg) { in cose_encrypt0_set_alg() argument
303 ptr->alg = alg; in cose_encrypt0_set_alg()
307 cose_encrypt0_set_ciphertext(cose_encrypt0_t *ptr, in cose_encrypt0_set_ciphertext() argument
310 ptr->ciphertext.s = buffer; in cose_encrypt0_set_ciphertext()
[all …]

12345678910>>...225