Home
last modified time | relevance | path

Searched refs:ptr (Results 676 - 700 of 11165) sorted by relevance

1...<<21222324252627282930>>...447

/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/
H A Dess.h44 #define sk_ESS_CERT_ID_delete_ptr(sk, ptr) ((ESS_CERT_ID *)OPENSSL_sk_delete_ptr(ossl_check_ESS_CERT_ID_sk_type(sk), ossl_check_ESS_CERT_ID_type(ptr)))
45 #define sk_ESS_CERT_ID_push(sk, ptr) OPENSSL_sk_push(ossl_check_ESS_CERT_ID_sk_type(sk), ossl_check_ESS_CERT_ID_type(ptr))
46 #define sk_ESS_CERT_ID_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ESS_CERT_ID_sk_type(sk), ossl_check_ESS_CERT_ID_type(ptr))
50 #define sk_ESS_CERT_ID_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ESS_CERT_ID_sk_type(sk), ossl_check_ESS_CERT_ID_type(ptr), (idx))
51 #define sk_ESS_CERT_ID_set(sk, idx, ptr) ((ESS_CERT_ID *)OPENSSL_sk_set(ossl_check_ESS_CERT_ID_sk_type(sk), (idx), ossl_check_ESS_CERT_ID_type(ptr)))
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dmachine_kexec.c75 unsigned long *ptr; in machine_kexec() local
83 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); in machine_kexec()
84 ptr = (entry & IND_INDIRECTION) ? in machine_kexec()
85 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
86 if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION || in machine_kexec()
87 *ptr & IND_DESTINATION) in machine_kexec()
88 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dmachine_kexec.c75 unsigned long *ptr; in machine_kexec() local
83 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); in machine_kexec()
84 ptr = (entry & IND_INDIRECTION) ? in machine_kexec()
85 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
86 if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION || in machine_kexec()
87 *ptr & IND_DESTINATION) in machine_kexec()
88 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
[all...]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_seal.c75 u16 *ptr; in setup_token() local
81 ptr = (u16 *)token->data; in setup_token()
82 g_make_token_header(&ctx->mech_used, body_size, (unsigned char **)&ptr); in setup_token()
84 /* ptr now at start of header described in rfc 1964, section 1.2.1: */ in setup_token()
85 krb5_hdr = ptr; in setup_token()
86 *ptr++ = KG_TOK_MIC_MSG; in setup_token()
91 *ptr++ = (__force u16)cpu_to_le16(ctx->gk5e->signalg); in setup_token()
92 *ptr++ = SEAL_ALG_NONE; in setup_token()
93 *ptr = 0xffff; in setup_token()
101 u16 *ptr; in setup_token_v2() local
133 void *ptr; gss_get_mic_v1() local
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dissue-372.rs23 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_i()
35 unsafe { ::std::ptr::addr_of!((*ptr).j) as usize - ptr as usize }, in bindgen_test_layout_i()
40 unsafe { ::std::ptr::addr_of!((*ptr).k) as usize - ptr as usize }, in bindgen_test_layout_i()
45 unsafe { ::std::ptr::addr_of!((*ptr).l) as usize - ptr a in bindgen_test_layout_i()
[all...]
H A Dclass_1_0.rs91 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_C()
103 unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize }, in bindgen_test_layout_C()
109 ::std::ptr::addr_of!((*ptr).big_array) as usize - ptr as usize in bindgen_test_layout_C()
129 ::std::ptr::write_bytes(&mut s, 0, 1); in default()
149 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_C_with_zero_length_array()
161 unsafe { ::std::ptr in bindgen_test_layout_C_with_zero_length_array()
[all...]
H A Dunion_with_anon_unnamed_struct.rs26 let ptr = UNINIT.as_ptr(); in bindgen_test_layout_pixel__bindgen_ty_1()
38 unsafe { ::std::ptr::addr_of!((*ptr).r) as usize - ptr as usize }, in bindgen_test_layout_pixel__bindgen_ty_1()
48 unsafe { ::std::ptr::addr_of!((*ptr).g) as usize - ptr as usize }, in bindgen_test_layout_pixel__bindgen_ty_1()
58 unsafe { ::std::ptr::addr_of!((*ptr).b) as usize - ptr a in bindgen_test_layout_pixel__bindgen_ty_1()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dcrash_dump.c358 static void *fill_cpu_elf_notes(void *ptr, int cpu, struct save_area *sa) in fill_cpu_elf_notes() argument
374 ptr = nt_init(ptr, NT_PRSTATUS, &nt_prstatus, sizeof(nt_prstatus)); in fill_cpu_elf_notes()
375 ptr = nt_init(ptr, NT_PRFPREG, &nt_fpregset, sizeof(nt_fpregset)); in fill_cpu_elf_notes()
376 ptr = nt_init(ptr, NT_S390_TIMER, &sa->timer, sizeof(sa->timer)); in fill_cpu_elf_notes()
377 ptr = nt_init(ptr, NT_S390_TODCMP, &sa->todcmp, sizeof(sa->todcmp)); in fill_cpu_elf_notes()
378 ptr in fill_cpu_elf_notes()
416 nt_prpsinfo(void *ptr) nt_prpsinfo() argument
459 nt_vmcoreinfo(void *ptr) nt_vmcoreinfo() argument
498 nt_final(void *ptr) nt_final() argument
581 notes_init(Elf64_Phdr *phdr, void *ptr, u64 notes_offset) notes_init() argument
631 void *ptr, *hdr; elfcorehdr_alloc() local
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dcrash_dump.c299 static void *fill_cpu_elf_notes(void *ptr, int cpu, struct save_area *sa) in fill_cpu_elf_notes() argument
315 ptr = nt_init(ptr, NT_PRSTATUS, &nt_prstatus, sizeof(nt_prstatus)); in fill_cpu_elf_notes()
316 ptr = nt_init(ptr, NT_PRFPREG, &nt_fpregset, sizeof(nt_fpregset)); in fill_cpu_elf_notes()
317 ptr = nt_init(ptr, NT_S390_TIMER, &sa->timer, sizeof(sa->timer)); in fill_cpu_elf_notes()
318 ptr = nt_init(ptr, NT_S390_TODCMP, &sa->todcmp, sizeof(sa->todcmp)); in fill_cpu_elf_notes()
319 ptr in fill_cpu_elf_notes()
357 nt_prpsinfo(void *ptr) nt_prpsinfo() argument
400 nt_vmcoreinfo(void *ptr) nt_vmcoreinfo() argument
439 nt_final(void *ptr) nt_final() argument
522 notes_init(Elf64_Phdr *phdr, void *ptr, u64 notes_offset) notes_init() argument
573 void *ptr, *hdr; elfcorehdr_alloc() local
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_csi.c62 cfr_dump_list_t *ptr, *next, *new; in dhd_csi_event_handler() local
76 list_for_each_entry_safe(ptr, next, &dhd->csi_list, list) { in dhd_csi_event_handler()
77 if (bcmp(&ptr->entry.header.peer_macaddr, &p_event->header.peer_macaddr, in dhd_csi_event_handler()
83 bcopy(&p_event->header, &ptr->entry.header, sizeof(cfr_dump_header_t)); in dhd_csi_event_handler()
86 bcopy(&p_event->data, &ptr->entry.data, dump_len); in dhd_csi_event_handler()
89 uint8 *p = (uint8 *)&ptr->entry.data; in dhd_csi_event_handler()
151 cfr_dump_list_t *ptr, *next; in dhd_csi_deinit() local
156 list_for_each_entry_safe(ptr, next, &dhd->csi_list, list) { in dhd_csi_deinit()
157 list_del(&ptr->list); in dhd_csi_deinit()
158 MFREE(dhd->osh, ptr, sizeo in dhd_csi_deinit()
167 cfr_dump_list_t *ptr, *next; dhd_csi_clean_list() local
192 cfr_dump_list_t *ptr, *next; dhd_csi_dump_list() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Duaccess.h53 #define __get_user_asm(insn, x, ptr, err) \
62 : "m" (*(ptr))); \
67 #define __get_user_8(x, ptr, err) \
68 __get_user_asm("ld", x, ptr, err)
70 #define __get_user_8(x, ptr, err) \
72 u32 __user *__ptr = (u32 __user *)(ptr); \
114 * @ptr: Source address, in user space.
122 * @ptr must have pointer-to-simple-variable type, and the result of
123 * dereferencing @ptr must be assignable to @x without a cast.
131 #define __get_user(x, ptr) \
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dmigration.c63 int migrate(uint64_t *ptr, int n1, int n2) in migrate() argument
79 ret = move_pages(0, 1, (void **) &ptr, &n2, &status, in migrate()
97 void *access_mem(void *ptr) in access_mem() argument
100 volatile uint64_t *x = ptr; in access_mem()
120 uint64_t *ptr; variable
126 ptr = mmap(NULL, TWOMEG, PROT_READ | PROT_WRITE,
128 ASSERT_NE(ptr, MAP_FAILED);
130 memset(ptr, 0xde, TWOMEG);
132 if (pthread_create(&self->threads[i], NULL, access_mem, ptr))
135 ASSERT_EQ(migrate(ptr, sel
146 uint64_t *ptr; global() variable
164 access_mem(ptr); global() variable
180 uint64_t *ptr; global() variable
[all...]
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Dtypeof-addresspace.c5 int __as obj, *ptr; in test_as() local
7 typeof(ptr) ptr2 = ptr; in test_as()
8 typeof(*ptr) var2 = obj; in test_as()
9 typeof(*ptr) *ptr3 = ptr; /* check-should-pass */ in test_as()
10 typeof(obj) *ptr4 = ptr; /* check-should-pass */ in test_as()
12 ptr = ptr; in test_as()
13 ptr in test_as()
[all...]
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h54 void* ptr; member
57 explicit Ctx(void**& p) : ptr(nullptr), program(p) {} in Ctx()
61 if (!ptr) { ptr = load_and_inc(program); } in operator T*()
62 return (T*)ptr; in operator T*()
143 SI void load2(const uint16_t* ptr, size_t tail, U16* r, U16* g) { in load2() argument
144 *r = ptr[0]; in load2()
145 *g = ptr[1]; in load2()
147 SI void store2(uint16_t* ptr, size_t tail, U16 r, U16 g) { in store2() argument
148 ptr[ in store2()
151 load3(const uint16_t* ptr, size_t tail, U16* r, U16* g, U16* b) load3() argument
156 load4(const uint16_t* ptr, size_t tail, U16* r, U16* g, U16* b, U16* a) load4() argument
162 store4(uint16_t* ptr, size_t tail, U16 r, U16 g, U16 b, U16 a) store4() argument
169 load2(const float* ptr, size_t tail, F* r, F* g) load2() argument
173 store2(float* ptr, size_t tail, F r, F g) store2() argument
177 load4(const float* ptr, size_t tail, F* r, F* g, F* b, F* a) load4() argument
183 store4(float* ptr, size_t tail, F r, F g, F b, F a) store4() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/
H A Dssh_parser.h20 * @ptr: Pointer to the beginning of the buffer.
25 u8 *ptr; member
33 * @ptr: The memory backing the buffer.
39 static inline void sshp_buf_init(struct sshp_buf *buf, u8 *ptr, size_t cap) in sshp_buf_init() argument
41 buf->ptr = ptr; in sshp_buf_init()
59 u8 *ptr; in sshp_buf_alloc() local
61 ptr = kzalloc(cap, flags); in sshp_buf_alloc()
62 if (!ptr) in sshp_buf_alloc()
65 sshp_buf_init(buf, ptr, ca in sshp_buf_alloc()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dlstat.c34 char ptr[PATH_MAX] = {0}; in lstat_0100() local
35 FILE_ABSOLUTE_PATH(STR_STAT_TEST_TXT, ptr); in lstat_0100()
38 FILE *fptr = fopen(ptr, "w+"); in lstat_0100()
42 int32_t back = lstat(ptr, &statbuff); in lstat_0100()
46 remove(ptr); in lstat_0100()
56 char ptr[PATH_MAX] = {0}; in lstat_time64_0100() local
57 FILE_ABSOLUTE_PATH(STR_STAT_TEST_TXT, ptr); in lstat_time64_0100()
60 FILE *fptr = fopen(ptr, "w+"); in lstat_time64_0100()
64 int32_t back = __lstat_time64(ptr, &statbuff); in lstat_time64_0100()
68 remove(ptr); in lstat_time64_0100()
91 char ptr[PATH_MAX] = {0}; lstat_0300() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dchown.c29 const char *ptr = "/data/test.txt"; in chown_0100() local
30 FILE *fp = fopen(ptr, "w+"); in chown_0100()
33 int result = chown(ptr, 0, 0); in chown_0100()
34 int ret = stat(ptr, &buf); in chown_0100()
41 remove(ptr); in chown_0100()
52 const char *ptr = "/data/test.txt"; in chown_0200() local
53 FILE *fp = fopen(ptr, "w+"); in chown_0200()
56 int result = chown(ptr, 0, -1); in chown_0200()
57 int ret = stat(ptr, &buf); in chown_0200()
63 remove(ptr); in chown_0200()
74 const char *ptr = "/data/test.txt"; chown_0300() local
[all...]
/third_party/mksh/
H A Dlalloc.c46 free_osimalloc(void *ptr) in free_osimalloc() argument
48 struct lalloc_item *lp = ptr; in free_osimalloc()
55 remalloc(void *ptr, size_t size) in remalloc() argument
57 struct lalloc_item *lp, *lold = ptr; in remalloc()
62 return (ptr); in remalloc()
100 findptr(struct lalloc_common **lpp, char *ptr, Area *ap) in findptr() argument
105 if (ALLOC_ISUNALIGNED(ptr)) in findptr()
110 * note: the alignment of "ptr" to ALLOC_ITEM is checked in findptr()
113 *lpp = (lp = ptr - sizeof(ALLOC_ITEM)); in findptr()
122 (size_t)ptr, (size_ in findptr()
133 aresize2(void *ptr, size_t fac1, size_t fac2, Area *ap) aresize2() argument
141 aresize(void *ptr, size_t numb, Area *ap) aresize() argument
168 afree(void *ptr, Area *ap) afree() argument
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dgpio-regulator.c48 int ptr; in gpio_regulator_get_value() local
50 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_get_value()
51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value()
52 return data->states[ptr].value; in gpio_regulator_get_value()
62 int ptr, target = 0, state, best_val = INT_MAX; in gpio_regulator_set_voltage() local
64 for (ptr = 0; ptr < data->nr_states; ptr in gpio_regulator_set_voltage()
101 int ptr, target = 0, state, best_val = 0; gpio_regulator_set_current_limit() local
243 int ptr, ret, state, i; gpio_regulator_probe() local
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dpaccess.h28 #define put_dbe(x, ptr) __put_dbe((x), (ptr), sizeof(*(ptr)))
29 #define get_dbe(x, ptr) __get_dbe((x), (ptr), sizeof(*(ptr)))
34 #define __get_dbe(x, ptr, size) \
37 __typeof__(*(ptr)) __gu_val; \
40 __gu_addr = (unsigned long) (ptr); \
49 x = (__typeof__(*(ptr))) __gu_va
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dpaccess.h28 #define put_dbe(x, ptr) __put_dbe((x), (ptr), sizeof(*(ptr)))
29 #define get_dbe(x, ptr) __get_dbe((x), (ptr), sizeof(*(ptr)))
34 #define __get_dbe(x, ptr, size) \
37 __typeof__(*(ptr)) __gu_val; \
40 __gu_addr = (unsigned long) (ptr); \
49 x = (__typeof__(*(ptr))) __gu_va
[all...]
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
H A Dcmpxchg.h35 #define __raw_cmpxchg(ptr, old, new, size, lock) \
37 __typeof__(*(ptr)) __ret; \
38 __typeof__(*(ptr)) __old = (old); \
39 __typeof__(*(ptr)) __new = (new); \
43 volatile u8 *__ptr = (volatile u8 *)(ptr); \
52 volatile u16 *__ptr = (volatile u16 *)(ptr); \
61 volatile u32 *__ptr = (volatile u32 *)(ptr); \
70 volatile u64 *__ptr = (volatile u64 *)(ptr); \
83 #define __cmpxchg(ptr, old, new, size) \
84 __raw_cmpxchg((ptr), (ol
[all...]
/kernel/linux/linux-6.6/tools/arch/x86/include/asm/
H A Dcmpxchg.h35 #define __raw_cmpxchg(ptr, old, new, size, lock) \
37 __typeof__(*(ptr)) __ret; \
38 __typeof__(*(ptr)) __old = (old); \
39 __typeof__(*(ptr)) __new = (new); \
43 volatile u8 *__ptr = (volatile u8 *)(ptr); \
52 volatile u16 *__ptr = (volatile u16 *)(ptr); \
61 volatile u32 *__ptr = (volatile u32 *)(ptr); \
70 volatile u64 *__ptr = (volatile u64 *)(ptr); \
83 #define __cmpxchg(ptr, old, new, size) \
84 __raw_cmpxchg((ptr), (ol
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Dlanginfo_sup.c39 char *ptr = nl_langinfo(DAY_2); in langinfo_0100() local
40 EXPECT_STREQ("nl_langinfo_0100", ptr, "Monday"); in langinfo_0100()
56 char *ptr = nl_langinfo(DAY_2); in nl_langinfo_0200() local
57 if (ptr) { in nl_langinfo_0200()
58 EXPECT_STRNE("nl_langinfo_0200", ptr, "lm星期一"); in nl_langinfo_0200()
76 char *ptr = nl_langinfo(TIME_ERROR_INFO); in nl_langinfo_0300() local
77 EXPECT_STREQ("nl_langinfo_0300", ptr, ""); in nl_langinfo_0300()
89 char *ptr = nl_langinfo(MESSAGES_ERROR_INFO); in nl_langinfo_0400() local
90 EXPECT_STREQ("nl_langinfo_0400", ptr, ""); in nl_langinfo_0400()
106 char *ptr in nl_langinfo_0500() local
[all...]
/kernel/linux/linux-5.10/include/linux/unaligned/
H A Dpacked_struct.h12 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16() local
13 return ptr->x; in __get_unaligned_cpu16()
18 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32() local
19 return ptr->x; in __get_unaligned_cpu32()
24 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64() local
25 return ptr->x; in __get_unaligned_cpu64()
30 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16() local
31 ptr->x = val; in __put_unaligned_cpu16()
36 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32() local
37 ptr in __put_unaligned_cpu32()
42 struct __una_u64 *ptr = (struct __una_u64 *)p; __put_unaligned_cpu64() local
[all...]

Completed in 12 milliseconds

1...<<21222324252627282930>>...447