Home
last modified time | relevance | path

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

12345678910>>...204

/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/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/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/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/cares/src/lib/
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 …]
/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/mesa3d/src/gallium/drivers/i915/
Di915_debug.c73 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug() local
76 mesa_logi("Error - zero length packet (0x%08x)", stream->ptr[0]); in debug()
86 mesa_logi("\t0x%08x", ptr[i]); in debug()
144 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_prim() local
145 const char *prim = get_prim_name(ptr[0]); in debug_prim()
149 mesa_logi("\t0x%08x", ptr[0]); in debug_prim()
152 mesa_logi("\t0x%08x // %f", ptr[i], *(float *)&ptr[i]); in debug_prim()
154 mesa_logi("\t0x%08x", ptr[i]); in debug_prim()
167 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_program() local
170 mesa_logi("Error - zero length packet (0x%08x)", stream->ptr[0]); in debug_program()
[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/glslang/Test/baseResults/
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 …]
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: 49(ptr) AccessChain 34(data) 46 37
156 60: 49(ptr) AccessChain 34(data) 58 37
160 64: 49(ptr) AccessChain 34(data) 57 37
[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
133 8(invocation): 7(ptr) Variable Function
140 40: 39(ptr) AccessChain 34(data) 37 37 38
143 45: 39(ptr) AccessChain 34(data) 35 37 38
146 50: 49(ptr) AccessChain 34(data) 47 37
150 54: 49(ptr) AccessChain 34(data) 46 37
155 60: 49(ptr) AccessChain 34(data) 58 37
159 64: 49(ptr) AccessChain 34(data) 57 37
[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
105 8(invocation): 7(ptr) Variable Function
106 19(ballot): 18(ptr) Variable Function
116 37: 36(ptr) AccessChain 31(data) 34 34 35
119 41: 40(ptr) AccessChain 31(data) 32 33
122 45: 44(ptr) AccessChain 31(data) 34 34
126 49: 40(ptr) AccessChain 31(data) 42 33
129 52: 44(ptr) AccessChain 31(data) 34 34
[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
137 8(invocation): 7(ptr) Variable Function
138 19(ballot): 18(ptr) Variable Function
144 42: 41(ptr) AccessChain 37(data) 39 39 40
148 48: 47(ptr) AccessChain 37(data) 45 39
153 54: 47(ptr) AccessChain 37(data) 52 39
158 59: 47(ptr) AccessChain 37(data) 58 39
162 63: 62(ptr) AccessChain 37(data) 39 45 40
[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: 41(ptr) AccessChain 27(data) 38 29
122 52: 41(ptr) AccessChain 27(data) 50 29
126 56: 41(ptr) AccessChain 27(data) 49 29
[all …]
Dspv.shaderBallotAMD.comp.out68 23: 22(ptr) Variable Uniform
94 26: 25(ptr) AccessChain 23 24
97 30: 25(ptr) AccessChain 23 24
99 33: 32(ptr) AccessChain 23 31
106 40: 32(ptr) AccessChain 23 31
108 43: 42(ptr) AccessChain 23 41
117 52: 42(ptr) AccessChain 23 41
119 55: 54(ptr) AccessChain 23 53
130 66: 54(ptr) AccessChain 23 53
132 69: 68(ptr) AccessChain 23 67
[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/musl/libc-test/src/functionalext/supplement/unistd/
Dfaccessat.c32 const char *ptr = "/data/tests/libc-test/src/functionalext/supplement/unistd/faccessattest.txt"; in faccessat_0100() local
33 int fd = open(ptr, O_RDWR | O_CREAT); in faccessat_0100()
35 int isExist = faccessat(fd, ptr, F_OK, 0); in faccessat_0100()
38 remove(ptr); in faccessat_0100()
39 ptr = NULL; in faccessat_0100()
49 const char *ptr = "/data/tests/libc-test/src/functionalext/supplement/unistd/faccessattest.txt"; in faccessat_0200() local
51 int isExist = faccessat(fd, ptr, F_OK, 0); in faccessat_0200()
54 remove(ptr); in faccessat_0200()
55 ptr = NULL; in faccessat_0200()
65 const char *ptr = "/data/tests/libc-test/src/functionalext/supplement/unistd/faccessattest.txt"; in faccessat_0300() local
[all …]
/third_party/freetype/include/freetype/internal/
Dftmemory.h160 #define FT_MEM_ALLOC( ptr, size ) \ argument
161 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \
165 #define FT_MEM_FREE( ptr ) \ argument
167 FT_DEBUG_INNER( ft_mem_free( memory, (ptr) ) ); \
168 (ptr) = NULL; \
171 #define FT_MEM_NEW( ptr ) \ argument
172 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) )
174 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ argument
175 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \
179 (ptr), \
[all …]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftmemory.h160 #define FT_MEM_ALLOC( ptr, size ) \ argument
161 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \
165 #define FT_MEM_FREE( ptr ) \ argument
167 FT_DEBUG_INNER( ft_mem_free( memory, (ptr) ) ); \
168 (ptr) = NULL; \
171 #define FT_MEM_NEW( ptr ) \ argument
172 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) )
174 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ argument
175 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \
179 (ptr), \
[all …]
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/internal/
Dftmemory.h151 #define FT_MEM_ALLOC( ptr, size ) \ argument
152 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \
156 #define FT_MEM_FREE( ptr ) \ argument
158 ft_mem_free( memory, (ptr) ); \
159 (ptr) = NULL; \
162 #define FT_MEM_NEW( ptr ) \ argument
163 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) )
165 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ argument
166 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \
170 (ptr), \
[all …]
/third_party/e2fsprogs/ext2ed/
Dinit.c161 struct struct_descriptor *ptr,*next; in free_struct_descriptors() local
163 ptr=first_type; in free_struct_descriptors()
164 while (ptr!=NULL) { in free_struct_descriptors()
165 next=ptr->next; in free_struct_descriptors()
166 free_user_commands (&ptr->type_commands); in free_struct_descriptors()
167 free (ptr); in free_struct_descriptors()
168 ptr=next; in free_struct_descriptors()
173 void free_user_commands (struct struct_commands *ptr) in free_user_commands() argument
178 for (i=0;i<=ptr->last_command;i++) { in free_user_commands()
179 free (ptr->names [i]); in free_user_commands()
[all …]
/third_party/protobuf/src/google/protobuf/
Dparse_context.h115 void BackUp(const char* ptr) { in BackUp() argument
116 GOOGLE_DCHECK(ptr <= buffer_end_ + kSlopBytes); in BackUp()
119 count = static_cast<int>(buffer_end_ + kSlopBytes - ptr); in BackUp()
121 count = size_ + static_cast<int>(buffer_end_ - ptr); in BackUp()
127 PROTOBUF_MUST_USE_RESULT int PushLimit(const char* ptr, int limit) { in PushLimit() argument
131 limit += static_cast<int>(ptr - buffer_end_); in PushLimit()
147 PROTOBUF_MUST_USE_RESULT const char* Skip(const char* ptr, int size) { in Skip() argument
148 if (size <= buffer_end_ + kSlopBytes - ptr) { in Skip()
149 return ptr + size; in Skip()
151 return SkipFallback(ptr, size); in Skip()
[all …]

12345678910>>...204