Home
last modified time | relevance | path

Searched refs:ptr (Results 1 - 25 of 7360) sorted by relevance

12345678910>>...295

/third_party/ltp/tools/sparse/sparse-src/validation/
H A 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 in test_spec()
22 const int obj, *ptr; test_const() local
34 volatile int obj, *ptr; test_volatile() local
48 int *restrict obj, *restrict *ptr; test_restrict() local
62 int _Atomic obj, *ptr; test_atomic() local
77 type_t obj, *ptr; test_bitwise() local
91 static int obj, *ptr; test_static() local
105 static __thread int obj, *ptr; test_tls() local
119 int __nocast obj, *ptr; test_nocast() local
[all...]
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmltok_impl.c44 # define IS_INVALID_CHAR(enc, ptr, n) (0)
47 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
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) \
59 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
60 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
61 INVALID_LEAD_CASE(4, ptr, nextTokPt
[all...]
/third_party/python/Modules/expat/
H A Dxmltok_impl.c45 # define IS_INVALID_CHAR(enc, ptr, n) (0)
48 # define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
50 if (end - ptr < n) \
52 if (IS_INVALID_CHAR(enc, ptr, n)) { \
53 *(nextTokPtr) = (ptr); \
56 ptr += n; \
59 # define INVALID_CASES(ptr, nextTokPtr) \
60 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
61 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
62 INVALID_LEAD_CASE(4, ptr, nextTokPt
145 scanComment(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanComment() argument
182 scanDecl(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanDecl() argument
231 checkPiTarget(const ENCODING *enc, const char *ptr, const char *end, int *tokPtr) checkPiTarget() argument
276 scanPi(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanPi() argument
336 scanCdataSection(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanCdataSection() argument
355 cdataSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) cdataSectionTok() argument
431 scanEndTag(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanEndTag() argument
482 scanHexCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanHexCharRef() argument
513 scanCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanCharRef() argument
544 scanRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanRef() argument
572 scanAtts(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanAtts() argument
725 scanLt(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanLt() argument
823 contentTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) contentTok() argument
923 scanPercent(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanPercent() argument
953 scanPoundName(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanPoundName() argument
983 scanLit(int open, const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) scanLit() argument
1017 prologTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) prologTok() argument
1261 attributeValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) attributeValueTok() argument
1330 entityValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) entityValueTok() argument
1397 ignoreSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) ignoreSectionTok() argument
1449 isPublicId(const ENCODING *enc, const char *ptr, const char *end, const char **badPtr) isPublicId() argument
1509 getAtts(const ENCODING *enc, const char *ptr, int attsMax, ATTRIBUTE *atts) getAtts() argument
1602 charRefNumber(const ENCODING *enc, const char *ptr) charRefNumber() argument
1660 predefinedEntityName(const ENCODING *enc, const char *ptr, const char *end) predefinedEntityName() argument
1733 nameLength(const ENCODING *enc, const char *ptr) nameLength() argument
1763 skipS(const ENCODING *enc, const char *ptr) skipS() argument
1778 updatePosition(const ENCODING *enc, const char *ptr, const char *end, POSITION *pos) updatePosition() argument
[all...]
/third_party/node/deps/openssl/openssl/include/internal/
H A Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed)
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed)
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed)
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed)
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquir
[all...]
/third_party/openssl/ohos_lite/include/internal/
H A Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed)
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed)
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed)
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed)
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquir
[all...]
/third_party/openssl/include/internal/
H A Dtsan_assist.h57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed)
58 # define tsan_store(ptr, val) atomic_store_explicit((ptr), (val), memory_order_relaxed)
59 # define tsan_counter(ptr) atomic_fetch_add_explicit((ptr), 1, memory_order_relaxed)
60 # define tsan_decr(ptr) atomic_fetch_add_explicit((ptr), -1, memory_order_relaxed)
61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquir
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A 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[ in debug_prim()
165 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_program() local
186 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_chain() local
209 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_variable_length_prim() local
274 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_load_immediate() local
377 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_load_indirect() local
498 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_copy_blit() local
520 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_color_blit() local
540 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_modes4() local
560 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_map_state() local
611 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_sampler_state() local
670 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_dest_vars() local
704 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); debug_buf_info() local
733 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); i915_debug_packet() local
[all...]
/third_party/mesa3d/src/util/
H A Du_debug_describe.c33 debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr) in debug_describe_reference()
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->last_level); in debug_describe_resource()
50 sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr in debug_describe_resource()
77 debug_describe_surface(char* buf, const struct pipe_surface *ptr) debug_describe_surface() argument
85 debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr) debug_describe_sampler_view() argument
93 debug_describe_image_view(char* buf, const struct pipe_image_view *ptr) debug_describe_image_view() argument
102 debug_describe_so_target(char* buf, const struct pipe_stream_output_target *ptr) debug_describe_so_target() argument
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dptrlist.h14 #define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0])
59 #define add_ptr_list(list, ptr) ({ \
61 CHECK_TYPE(*(list),ptr); \
62 (__typeof__(&(ptr))) __add_ptr_list(head, ptr); \
64 #define add_ptr_list_tag(list, ptr, tag) ({ \
66 CHECK_TYPE(*(list),ptr); \
67 (__typeof__(&(ptr))) __add_ptr_list_tag(head, ptr, ta
304 unsigned long *ptr = p; update_tag() local
308 tag_ptr(void *ptr, unsigned long tag) tag_ptr() argument
[all...]
/third_party/rust/crates/memchr/src/memchr/x86/
H A Dsse2.rs113 let mut ptr = start_ptr; in memchr() variables
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_pt in memchr()
197 let mut ptr = start_ptr; memchr2() variables
272 let mut ptr = start_ptr; memchr3() variables
348 let mut ptr = end_ptr; memrchr() variables
428 let mut ptr = end_ptr; memrchr2() variables
501 let mut ptr = end_ptr; memrchr3() variables
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfaccessat.c33 char ptr[PATH_MAX] = {0}; in faccessat_0100() local
34 FILE_ABSOLUTE_PATH(STR_FACCESSAT_TEST_TXT, ptr); in faccessat_0100()
35 int fd = open(ptr, O_RDWR | O_CREAT, TEST_MODE); in faccessat_0100()
37 int isExist = faccessat(fd, ptr, F_OK, 0); in faccessat_0100()
40 remove(ptr); in faccessat_0100()
50 char ptr[PATH_MAX] = {0}; in faccessat_0200() local
51 FILE_ABSOLUTE_PATH(STR_FACCESSAT_TEST_TXT, ptr); in faccessat_0200()
53 int isExist = faccessat(fd, ptr, F_OK, 0); in faccessat_0200()
56 remove(ptr); in faccessat_0200()
66 char ptr[PATH_MA in faccessat_0300() local
83 char ptr[PATH_MAX] = {0}; faccessat_0400() local
100 char ptr[PATH_MAX] = {0}; faccessat_0500() local
120 char ptr[PATH_MAX] = {0}; faccessat_0600() local
137 char ptr[PATH_MAX] = {0}; faccessat_0700() local
154 char ptr[PATH_MAX] = {0}; faccessat_0800() local
171 char ptr[PATH_MAX] = {0}; faccessat_0900() local
190 char ptr[PATH_MAX] = {0}; faccessat_1000() local
208 char ptr[PATH_MAX] = {0}; faccessat_1100() local
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dftmemory.h160 #define FT_MEM_ALLOC( ptr, size ) \
161 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \
165 #define FT_MEM_FREE( ptr ) \
167 FT_DEBUG_INNER( ft_mem_free( memory, (ptr) ) ); \
168 (ptr) = NULL; \
171 #define FT_MEM_NEW( ptr ) \
172 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) )
174 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \
175 FT_ASSIGNP_INNER( ptr, ft_mem_reallo
[all...]
/third_party/cups-filters/utils/
H A 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()
379 char *ptr, list_printers() local
[all...]
/third_party/python/Modules/_sre/
H A Dsre_lib.h16 SRE(at)(SRE_STATE* state, const SRE_CHAR* ptr, SRE_CODE at) in at() argument
26 return ((void*) ptr == state->beginning); in at()
29 return ((void*) ptr == state->beginning || in at()
30 SRE_IS_LINEBREAK((int) ptr[-1])); in at()
33 return (((SRE_CHAR *)state->end - ptr == 1 && in at()
34 SRE_IS_LINEBREAK((int) ptr[0])) || in at()
35 ((void*) ptr == state->end)); in at()
38 return ((void*) ptr == state->end || in at()
39 SRE_IS_LINEBREAK((int) ptr[0])); in at()
42 return ((void*) ptr in at()
209 const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr; count() local
521 const SRE_CHAR* ptr; global() member
586 const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr; match() local
1633 SRE_CHAR* ptr = (SRE_CHAR *)state->start; search() local
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dissue-1291.rs32 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_RTCRay()
44 unsafe { ::std::ptr::addr_of!((*ptr).org) as usize - ptr as usize }, in bindgen_test_layout_RTCRay()
54 unsafe { ::std::ptr::addr_of!((*ptr).align0) as usize - ptr as usize }, in bindgen_test_layout_RTCRay()
64 unsafe { ::std::ptr::addr_of!((*ptr).dir) as usize - ptr a in bindgen_test_layout_RTCRay()
[all...]
H A Dlayout_kni_mbuf.rs39 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_rte_kni_mbuf()
52 ::std::ptr::addr_of!((*ptr).buf_addr) as usize - ptr as usize in bindgen_test_layout_rte_kni_mbuf()
64 ::std::ptr::addr_of!((*ptr).buf_physaddr) as usize - ptr as usize in bindgen_test_layout_rte_kni_mbuf()
75 unsafe { ::std::ptr::addr_of!((*ptr).pad0) as usize - ptr a in bindgen_test_layout_rte_kni_mbuf()
[all...]
/third_party/libsnd/src/
H A Dsfendian.h177 psf_put_be64 (uint8_t *ptr, int offset, int64_t value) in psf_put_be64() argument
179 ptr [offset] = (uint8_t) (value >> 56) ; in psf_put_be64()
180 ptr [offset + 1] = (uint8_t) (value >> 48) ; in psf_put_be64()
181 ptr [offset + 2] = (uint8_t) (value >> 40) ; in psf_put_be64()
182 ptr [offset + 3] = (uint8_t) (value >> 32) ; in psf_put_be64()
183 ptr [offset + 4] = (uint8_t) (value >> 24) ; in psf_put_be64()
184 ptr [offset + 5] = (uint8_t) (value >> 16) ; in psf_put_be64()
185 ptr [offset + 6] = (uint8_t) (value >> 8) ; in psf_put_be64()
186 ptr [offset + 7] = (uint8_t) value ; in psf_put_be64()
190 psf_put_be32 (uint8_t *ptr, in argument
199 psf_put_be16(uint8_t *ptr, int offset, int16_t value) psf_put_be16() argument
206 psf_get_be64(const uint8_t *ptr, int offset) psf_get_be64() argument
224 psf_get_le64(const uint8_t *ptr, int offset) psf_get_le64() argument
240 psf_get_be32(const uint8_t *ptr, int offset) psf_get_be32() argument
249 psf_get_le32(const uint8_t *ptr, int offset) psf_get_le32() argument
258 psf_get_be24(const uint8_t *ptr, int offset) psf_get_be24() argument
266 psf_get_le24(const uint8_t *ptr, int offset) psf_get_le24() argument
274 psf_get_be16(const uint8_t *ptr, int offset) psf_get_be16() argument
283 endswap_short_array(short *ptr, int len) endswap_short_array() argument
300 endswap_int_array(int *ptr, int len) endswap_int_array() argument
320 endswap_int64_t_array(int64_t *ptr, int len) endswap_int64_t_array() argument
340 endswap_float_array(float *ptr, int len) endswap_float_array() argument
345 endswap_double_array(double *ptr, int len) endswap_double_array() argument
[all...]
/third_party/rust/crates/memchr/src/memchr/
H A Dfallback.rs52 let mut ptr = start_ptr; in memchr() variables
57 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
60 let chunk = (ptr as *const usize).read_unaligned(); in memchr()
62 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
65 ptr = ptr.add(USIZE_BYTES - (start_ptr as usize & align)); in memchr()
66 debug_assert!(ptr > start_ptr); in memchr()
68 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
69 debug_assert_eq!(0, (ptr as usize) % USIZE_BYTES); in memchr()
71 let a = *(ptr a in memchr()
91 let mut ptr = start_ptr; memchr2() variables
132 let mut ptr = start_ptr; memchr3() variables
177 let mut ptr = end_ptr; memrchr() variables
215 let mut ptr = end_ptr; memrchr2() variables
255 let mut ptr = end_ptr; memrchr3() variables
[all...]
/third_party/libcoap/src/oscore/
H A 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 in cose_encrypt0_set_ciphertext()
315 cose_encrypt0_set_plaintext(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size) cose_encrypt0_set_plaintext() argument
325 cose_encrypt0_set_partial_iv(cose_encrypt0_t *ptr, coap_bin_const_t *partial_iv) cose_encrypt0_set_partial_iv() argument
341 cose_encrypt0_get_partial_iv(cose_encrypt0_t *ptr) cose_encrypt0_get_partial_iv() argument
346 cose_encrypt0_set_key_id(cose_encrypt0_t *ptr, coap_bin_const_t *key_id) cose_encrypt0_set_key_id() argument
356 cose_encrypt0_get_key_id(cose_encrypt0_t *ptr, const uint8_t **buffer) cose_encrypt0_get_key_id() argument
362 cose_encrypt0_get_kid_context(cose_encrypt0_t *ptr, const uint8_t **buffer) cose_encrypt0_get_kid_context() argument
368 cose_encrypt0_set_kid_context(cose_encrypt0_t *ptr, coap_bin_const_t *kid_context) cose_encrypt0_set_kid_context() argument
379 cose_encrypt0_set_external_aad(cose_encrypt0_t *ptr, coap_bin_const_t *external_aad) cose_encrypt0_set_external_aad() argument
390 cose_encrypt0_set_aad(cose_encrypt0_t *ptr, coap_bin_const_t *aad) cose_encrypt0_set_aad() argument
401 cose_encrypt0_set_key(cose_encrypt0_t *ptr, coap_bin_const_t *key) cose_encrypt0_set_key() argument
411 cose_encrypt0_set_nonce(cose_encrypt0_t *ptr, coap_bin_const_t *nonce) cose_encrypt0_set_nonce() argument
421 cose_encrypt0_encrypt(cose_encrypt0_t *ptr, uint8_t *ciphertext_buffer, size_t ciphertext_len) cose_encrypt0_encrypt() argument
460 cose_encrypt0_decrypt(cose_encrypt0_t *ptr, uint8_t *plaintext_buffer, size_t plaintext_len) cose_encrypt0_decrypt() argument
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dparse_context.cc55 auto ptr = begin + overrun; in ParseEndsInSlopRegion() local
57 while (ptr < end) { in ParseEndsInSlopRegion()
59 ptr = ReadTag(ptr, &tag); in ParseEndsInSlopRegion()
60 if (ptr == nullptr || ptr > end) return false; in ParseEndsInSlopRegion()
67 ptr = VarintParse(ptr, &val); in ParseEndsInSlopRegion()
68 if (ptr == nullptr) return false; in ParseEndsInSlopRegion()
72 ptr in ParseEndsInSlopRegion()
157 DoneFallback(const char* ptr, int d) DoneFallback() argument
195 SkipFallback(const char* ptr, int size) SkipFallback() argument
199 ReadStringFallback(const char* ptr, int size, std::string* str) ReadStringFallback() argument
212 AppendStringFallback(const char* ptr, int size, std::string* str) AppendStringFallback() argument
226 ReadRepeatedFixed(const char* ptr, Tag expected_tag, RepeatedField<T>* out) ReadRepeatedFixed() argument
251 ReadPackedFixed(const char* ptr, int size, RepeatedField<T>* out) ReadPackedFixed() argument
294 auto ptr = static_cast<const char*>(data); InitFrom() local
303 auto ptr = buffer_ + 2 * kSlopBytes - size; InitFrom() local
315 ParseMessage(MessageLite* msg, const char* ptr) ParseMessage() argument
318 ParseMessage(Message* msg, const char* ptr) ParseMessage() argument
423 InlineGreedyStringParser(std::string* s, const char* ptr, ParseContext* ctx) InlineGreedyStringParser() argument
432 VarintParser(void* object, const char* ptr, ParseContext* ctx) VarintParser() argument
448 PackedInt32Parser(void* object, const char* ptr, ParseContext* ctx) PackedInt32Parser() argument
452 PackedUInt32Parser(void* object, const char* ptr, ParseContext* ctx) PackedUInt32Parser() argument
456 PackedInt64Parser(void* object, const char* ptr, ParseContext* ctx) PackedInt64Parser() argument
460 PackedUInt64Parser(void* object, const char* ptr, ParseContext* ctx) PackedUInt64Parser() argument
464 PackedSInt32Parser(void* object, const char* ptr, ParseContext* ctx) PackedSInt32Parser() argument
468 PackedSInt64Parser(void* object, const char* ptr, ParseContext* ctx) PackedSInt64Parser() argument
473 PackedEnumParser(void* object, const char* ptr, ParseContext* ctx) PackedEnumParser() argument
477 PackedBoolParser(void* object, const char* ptr, ParseContext* ctx) PackedBoolParser() argument
482 FixedParser(void* object, const char* ptr, ParseContext* ctx) FixedParser() argument
489 PackedFixed32Parser(void* object, const char* ptr, ParseContext* ctx) PackedFixed32Parser() argument
493 PackedSFixed32Parser(void* object, const char* ptr, ParseContext* ctx) PackedSFixed32Parser() argument
497 PackedFixed64Parser(void* object, const char* ptr, ParseContext* ctx) PackedFixed64Parser() argument
501 PackedSFixed64Parser(void* object, const char* ptr, ParseContext* ctx) PackedSFixed64Parser() argument
505 PackedFloatParser(void* object, const char* ptr, ParseContext* ctx) PackedFloatParser() argument
509 PackedDoubleParser(void* object, const char* ptr, ParseContext* ctx) PackedDoubleParser() argument
532 ParseLengthDelimited(uint32 num, const char* ptr, ParseContext* ctx) ParseLengthDelimited() argument
541 ParseGroup(uint32 num, const char* ptr, ParseContext* ctx) ParseGroup() argument
557 _InternalParse(const char* ptr, ParseContext* ctx) _InternalParse() argument
565 UnknownGroupLiteParse(std::string* unknown, const char* ptr, ParseContext* ctx) UnknownGroupLiteParse() argument
571 UnknownFieldParse(uint32 tag, std::string* unknown, const char* ptr, ParseContext* ctx) UnknownFieldParse() argument
[all...]
/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp36 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() local
37 if (ptr == nullptr) { in SaveString()
40 int ret = ptr->PutString(key, value); in SaveString()
41 ptr->Flush(); in SaveString()
47 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() local
48 if (ptr == nullptr) { in ObtainString()
51 return ptr->GetString(key, defValue); in ObtainString()
56 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() local
57 if (ptr == nullptr) { in SaveInt()
60 int ret = ptr in SaveInt()
67 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainInt() local
76 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveBool() local
87 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainBool() local
96 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveLong() local
107 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainLong() local
116 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveFloat() local
127 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainFloat() local
136 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); IsExistKey() local
145 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveKey() local
154 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveAll() local
163 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); Refresh() local
171 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RefreshSync() local
[all...]
/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp42 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() local
43 if (ptr == nullptr) { in SaveString()
46 int ret = ptr->PutString(key, value); in SaveString()
47 ptr->Flush(); in SaveString()
53 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() local
54 if (ptr == nullptr) { in ObtainString()
57 return ptr->GetString(key, defValue); in ObtainString()
62 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() local
63 if (ptr == nullptr) { in SaveInt()
66 int ret = ptr in SaveInt()
73 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainInt() local
82 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveBool() local
93 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainBool() local
102 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveLong() local
113 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainLong() local
122 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveFloat() local
133 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainFloat() local
142 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); IsExistKey() local
151 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveKey() local
160 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveAll() local
169 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); Refresh() local
177 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RefreshSync() local
[all...]
/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp40 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString() local
41 if (ptr == nullptr) { in SaveString()
44 int ret = ptr->PutString(key, value); in SaveString()
45 ptr->Flush(); in SaveString()
51 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString() local
52 if (ptr == nullptr) { in ObtainString()
55 return ptr->GetString(key, defValue); in ObtainString()
60 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt() local
61 if (ptr == nullptr) { in SaveInt()
64 int ret = ptr in SaveInt()
71 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainInt() local
80 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveBool() local
91 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainBool() local
100 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveLong() local
111 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainLong() local
120 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); SaveFloat() local
131 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); ObtainFloat() local
140 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); IsExistKey() local
149 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveKey() local
158 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RemoveAll() local
167 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); Refresh() local
175 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); RefreshSync() local
[all...]
/test/xts/hats/kernel/syscalls/mem/madvisecall/
H A DMadvisecallApiTest.cpp73 void *ptr; in HWTEST_F() local
77 ptr = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in HWTEST_F()
78 EXPECT_NE(ptr, MAP_FAILED); in HWTEST_F()
80 ret = madvise(ptr, size, MADV_DOFORK); in HWTEST_F()
82 munmap(ptr, size); in HWTEST_F()
95 void *ptr; in HWTEST_F() local
99 ptr = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in HWTEST_F()
100 EXPECT_NE(ptr, MAP_FAILED); in HWTEST_F()
102 ret = madvise(ptr, size, MADV_NORMAL); in HWTEST_F()
104 munmap(ptr, siz in HWTEST_F()
117 void *ptr; HWTEST_F() local
139 void *ptr; HWTEST_F() local
161 void *ptr; HWTEST_F() local
183 void *ptr; HWTEST_F() local
205 void *ptr; HWTEST_F() local
227 void *ptr; HWTEST_F() local
249 void *ptr; HWTEST_F() local
271 void *ptr; HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetfirewall_parcel.cpp54 sptr<NetFirewallIpParam> ptr = new (std::nothrow) NetFirewallIpParam(); in Unmarshalling() local
55 if (ptr == nullptr) { in Unmarshalling()
56 NETMGR_LOG_E("NetFirewallIpParam ptr is null"); in Unmarshalling()
59 parcel.ReadUint8(ptr->family); in Unmarshalling()
60 if (!parcel.ReadUint8(ptr->type)) { in Unmarshalling()
63 parcel.ReadUint8(ptr->mask); in Unmarshalling()
65 if (ptr->family == FAMILY_IPV4) { in Unmarshalling()
66 parcel.ReadUint32(ptr->ipv4.startIp.s_addr); in Unmarshalling()
67 if (ptr->type == MULTIPLE_IP) { in Unmarshalling()
68 parcel.ReadUint32(ptr in Unmarshalling()
142 sptr<NetFirewallPortParam> ptr = new (std::nothrow) NetFirewallPortParam(); Unmarshalling() local
170 sptr<NetFirewallDomainParam> ptr = new (std::nothrow) NetFirewallDomainParam(); Unmarshalling() local
196 sptr<NetFirewallDnsParam> ptr = new (std::nothrow) NetFirewallDnsParam(); Unmarshalling() local
281 sptr<NetFirewallRule> ptr = new (std::nothrow) NetFirewallRule(); Unmarshalling() local
354 sptr<NetFirewallBaseRule> ptr = new (std::nothrow) NetFirewallBaseRule(); Unmarshalling() local
364 UnmarshallingBase(Parcel &parcel, sptr<NetFirewallBaseRule> ptr) UnmarshallingBase() argument
391 sptr<NetFirewallIpRule> ptr = new (std::nothrow) NetFirewallIpRule(); Unmarshalling() local
431 sptr<NetFirewallDomainRule> ptr = new (std::nothrow) NetFirewallDomainRule(); Unmarshalling() local
459 sptr<NetFirewallDnsRule> ptr = new (std::nothrow) NetFirewallDnsRule(); Unmarshalling() local
498 sptr<InterceptRecord> ptr = new (std::nothrow) InterceptRecord(); Unmarshalling() local
[all...]

Completed in 12 milliseconds

12345678910>>...295