Home
last modified time | relevance | path

Searched refs:cptr (Results 1 – 25 of 50) sorted by relevance

12

/external/llvm/test/CodeGen/SystemZ/
Dint-cmp-45.ll8 define i32 @f1(i32 %a, i32 %b, i32 *%cptr) {
15 %c = load i32 , i32 *%cptr
22 define i32 @f2(i32 %a, i32 %b, i32 *%cptr) {
29 %c = load i32 , i32 *%cptr
31 store i32 %newval, i32 *%cptr
49 define i32 @f4(i32 %a, i32 %b, i32 *%cptr) {
56 %c = load i32 , i32 *%cptr
63 define i32 @f5(i32 %a, i32 %b, i32 *%cptr) {
70 %c = load i32 , i32 *%cptr
72 store i32 %newval, i32 *%cptr
[all …]
Dfp-copysign-01.ll81 define void @f7(fp128 *%cptr, fp128 *%aptr, float %bf) {
92 store fp128 %c, fp128 *%cptr
97 define void @f8(fp128 *%cptr, fp128 *%aptr, double %bd) {
108 store fp128 %c, fp128 *%cptr
114 define void @f9(fp128 *%cptr, fp128 *%aptr, fp128 *%bptr) {
126 store fp128 %c, fp128 *%cptr
/external/selinux/mcstrans/src/
Dmcscolor.c151 setab_t *cptr; in add_secolor() local
153 cptr = calloc(1, sizeof(setab_t)); in add_secolor()
154 if (!cptr) return -1; in add_secolor()
156 cptr->pattern = strdup(pattern); in add_secolor()
157 if (!cptr->pattern) { in add_secolor()
158 free(cptr); in add_secolor()
162 cptr->color.fg = fg & 0xffffff; in add_secolor()
163 cptr->color.bg = bg & 0xffffff; in add_secolor()
166 cend[idx]->next = cptr; in add_secolor()
167 cend[idx] = cptr; in add_secolor()
[all …]
/external/libcups/cups/
Dppd-conflicts.c80 _ppd_cups_uiconst_t *cptr; /* Current constraint */ in cupsGetConflicts() local
109 for (i = c->num_constraints, cptr = c->constraints; in cupsGetConflicts()
111 i --, cptr ++) in cupsGetConflicts()
112 if (_cups_strcasecmp(cptr->option->keyword, option)) in cupsGetConflicts()
114 if (cptr->choice) in cupsGetConflicts()
115 num_options = cupsAddOption(cptr->option->keyword, in cupsGetConflicts()
116 cptr->choice->choice, num_options, in cupsGetConflicts()
119 cptr->option->keyword)) != NULL) in cupsGetConflicts()
120 num_options = cupsAddOption(cptr->option->keyword, marked->choice, in cupsGetConflicts()
372 ppd_choice_t *cptr; /* Current choice */ in cupsResolveConflicts() local
[all …]
Dppd-emit.c776 char *cptr; /* Pointer into code */ in ppdEmitString() local
780 for (cptr = choices[i]->code; *cptr && bufptr < bufend;) in ppdEmitString()
782 if (*cptr == '\\') in ppdEmitString()
784 cptr ++; in ppdEmitString()
786 if (isdigit(*cptr & 255)) in ppdEmitString()
792 pnum = *cptr++ - '0'; in ppdEmitString()
793 while (isdigit(*cptr & 255)) in ppdEmitString()
794 pnum = pnum * 10 + *cptr++ - '0'; in ppdEmitString()
832 else if (*cptr) in ppdEmitString()
833 *bufptr++ = *cptr++; in ppdEmitString()
[all …]
Dtestconflicts.c37 *cptr; /* Pointer to first choice */ in main() local
106 for (*ptr++ = '\0', cptr = ptr; *ptr && !isspace(*ptr & 255); ptr ++); in main()
112 choice = strdup(cptr); in main()
/external/llvm/test/CodeGen/AMDGPU/
Dmin3.ll7 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
11 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
26 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
30 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
46 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
51 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
55 %gep5 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid2
80 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
85 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
89 %gep5 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid2
Dfmax3.ll13 …* %out, float addrspace(1)* %aptr, float addrspace(1)* %bptr, float addrspace(1)* %cptr) nounwind {
16 %c = load volatile float, float addrspace(1)* %cptr, align 4
31 …* %out, float addrspace(1)* %aptr, float addrspace(1)* %bptr, float addrspace(1)* %cptr) nounwind {
34 %c = load volatile float, float addrspace(1)* %cptr, align 4
Dfmin3.ll14 …* %out, float addrspace(1)* %aptr, float addrspace(1)* %bptr, float addrspace(1)* %cptr) nounwind {
17 %c = load volatile float, float addrspace(1)* %cptr, align 4
32 …* %out, float addrspace(1)* %aptr, float addrspace(1)* %bptr, float addrspace(1)* %cptr) nounwind {
35 %c = load volatile float, float addrspace(1)* %cptr, align 4
Dmax3.ll7 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
11 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
26 …ace(1)* %out, i32 addrspace(1)* %aptr, i32 addrspace(1)* %bptr, i32 addrspace(1)* %cptr) nounwind {
30 %gep2 = getelementptr i32, i32 addrspace(1)* %cptr, i32 %tid
Dfmax3.f64.ll16 %cptr = getelementptr double, double addrspace(1)* %aptr, i32 2
19 %c = load volatile double, double addrspace(1)* %cptr, align 8
/external/syslinux/com32/lib/sys/vesa/
Ddrawtxt.c82 struct vesa_char *rowptr, *rowsptr, *cptr, *csptr; in vesacon_update_characters() local
106 cptr = rowptr; in vesacon_update_characters()
130 chbits = __vesacon_graphics_font[cptr->ch][pixrow]; in vesacon_update_characters()
131 if (__unlikely(cptr == cursor_pointer)) in vesacon_update_characters()
133 sha = console_color_table[cptr->attr].shadow; in vesacon_update_characters()
137 fgcolor = console_color_table[cptr->attr].argb_fg; in vesacon_update_characters()
138 bgcolor = console_color_table[cptr->attr].argb_bg; in vesacon_update_characters()
139 cptr++; in vesacon_update_characters()
/external/llvm/test/Transforms/CodeGenPrepare/
Dbuiltin-condition.ll8 ; char *cptr;
12 ; cptr = chararray2;
14 ; cptr = chararray;
16 ; return __builtin_object_size(cptr, 2);
48 %cptr.0 = select i1 %tobool, i8* %0, i8* %1
49 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %cptr.0, i1 true)
/external/clang/test/SemaCXX/
Dwarn-memset-bad-sizeof.cpp79 char *cptr; in f() local
80 memcpy(&cptr, buffer, sizeof(cptr)); in f()
81 memcpy((char*)&cptr, buffer, sizeof(cptr)); in f()
/external/clang/test/CodeGen/
Dbuiltins-systemz-vector-error.c26 const void * volatile cptr; variable
30 __builtin_s390_lcbb(cptr, -1); // expected-error {{argument should be a value from 0 to 15}} in test_core()
31 __builtin_s390_lcbb(cptr, 16); // expected-error {{argument should be a value from 0 to 15}} in test_core()
32 __builtin_s390_lcbb(cptr, len); // expected-error {{must be a constant integer}} in test_core()
34 __builtin_s390_vlbb(cptr, -1); // expected-error {{argument should be a value from 0 to 15}} in test_core()
35 __builtin_s390_vlbb(cptr, 16); // expected-error {{argument should be a value from 0 to 15}} in test_core()
36 __builtin_s390_vlbb(cptr, len); // expected-error {{must be a constant integer}} in test_core()
Dbuiltins-systemz-zvector-error.c32 const void * volatile cptr; variable
61 len = __lcbb(cptr, idx); // expected-error {{no matching function}} in test_core()
63 len = __lcbb(cptr, 200); // expected-error {{no matching function}} in test_core()
65 len = __lcbb(cptr, 32); // expected-error {{no matching function}} in test_core()
67 len = __lcbb(cptr, 8192); // expected-error {{no matching function}} in test_core()
Dbuiltins-systemz-vector.c26 const void * volatile cptr; variable
31 len = __builtin_s390_lcbb(cptr, 0); in test_core()
33 len = __builtin_s390_lcbb(cptr, 15); in test_core()
36 vsc = __builtin_s390_vlbb(cptr, 0); in test_core()
38 vsc = __builtin_s390_vlbb(cptr, 15); in test_core()
41 vsc = __builtin_s390_vll(len, cptr); in test_core()
/external/selinux/libsepol/src/
Dcontext.h13 context_struct_t ** cptr,
24 context_struct_t ** cptr,
Dcontext.c146 context_struct_t ** cptr, in context_from_record() argument
221 *cptr = scontext; in context_from_record()
294 context_struct_t ** cptr, in context_from_string() argument
320 if (context_from_record(handle, policydb, cptr, ctx_record) < 0) in context_from_string()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
Denable_shared_from_this.pass.cpp144 const T* cptr = ptr; in main() local
147 static_assert(noexcept(cptr->weak_from_this()), "Operation must be noexcept"); in main()
152 std::weak_ptr<T const> my_const_weak = cptr->weak_from_this(); in main()
/external/llvm/test/Transforms/LICM/
Dhoist-deref-load.ll259 ; void test1(int * __restrict__ a, int *b, int **cptr, int n) {
260 ; c = *cptr;
266 ; because the dereferenceable meatdata on the c = *cptr load.
272 define void @test7(i32* noalias %a, i32* %b, i32** %cptr, i32 %n) #0 {
274 %c = load i32*, i32** %cptr, !dereferenceable !0
304 ; void test1(int * __restrict__ a, int *b, int **cptr, int n) {
305 ; c = *cptr;
312 ; because the dereferenceable_or_null meatdata on the c = *cptr load and there
319 define void @test8(i32* noalias %a, i32* %b, i32** %cptr, i32 %n) #0 {
321 %c = load i32*, i32** %cptr, !dereferenceable_or_null !0
[all …]
/external/syslinux/com32/menu/
Dreadconfig.c782 struct color_table *cptr; in parse_config_file() local
784 cptr = m->color_table; in parse_config_file()
786 if ((ep = looking_at(p, cptr->name))) { in parse_config_file()
792 refstr_put(cptr->ansi); in parse_config_file()
793 cptr->ansi = refdup_word(&p); in parse_config_file()
801 cptr->argb_fg = parse_argb(&p); in parse_config_file()
808 cptr->argb_bg = parse_argb(&p); in parse_config_file()
814 cptr->shadow = SHADOW_NONE; in parse_config_file()
816 cptr->shadow = SHADOW_NORMAL; in parse_config_file()
818 cptr->shadow = SHADOW_ALL; in parse_config_file()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c392 char *cptr; /* temp char pointer */ in main() local
806 cptr = optarg; in main()
807 for (Nseeds = 1; *cptr; Nseeds++) { in main()
808 if ((filename = strchr(cptr, ',')) == NULL) in main()
810 cptr = filename; in main()
811 cptr++; in main()
819 filename = cptr = optarg; in main()
820 for (Nseeds = 0; *cptr; Nseeds++) { in main()
821 if ((filename = strchr(cptr, ',')) == NULL) { in main()
822 if (sscanf(cptr, "%i", &Seeds[Nseeds]) < in main()
[all …]
/external/syslinux/com32/modules/
Delf.c61 char *cptr = ptr; in boot_elf() local
126 ph = (Elf32_Phdr *) (cptr + eh->e_phoff); in boot_elf()
153 (&ml, addr, (addr_t) cptr + ph->p_offset, dsize)) in boot_elf()
/external/syslinux/com32/elflink/ldlinux/
Dreadconfig.c977 struct color_table *cptr; in parse_config_file() local
979 cptr = m->color_table; in parse_config_file()
981 if ((ep = looking_at(p, cptr->name))) { in parse_config_file()
987 refstr_put(cptr->ansi); in parse_config_file()
988 cptr->ansi = refdup_word(&p); in parse_config_file()
996 cptr->argb_fg = parse_argb(&p); in parse_config_file()
1003 cptr->argb_bg = parse_argb(&p); in parse_config_file()
1009 cptr->shadow = SHADOW_NONE; in parse_config_file()
1011 cptr->shadow = SHADOW_NORMAL; in parse_config_file()
1013 cptr->shadow = SHADOW_ALL; in parse_config_file()
[all …]

12