Home
last modified time | relevance | path

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

123

/external/python/cpython2/Objects/
Dbytes_methods.c11 _Py_bytes_isspace(const char *cptr, Py_ssize_t len) in _Py_bytes_isspace() argument
14 = (unsigned char *) cptr; in _Py_bytes_isspace()
41 _Py_bytes_isalpha(const char *cptr, Py_ssize_t len) in _Py_bytes_isalpha() argument
44 = (unsigned char *) cptr; in _Py_bytes_isalpha()
71 _Py_bytes_isalnum(const char *cptr, Py_ssize_t len) in _Py_bytes_isalnum() argument
74 = (unsigned char *) cptr; in _Py_bytes_isalnum()
101 _Py_bytes_isdigit(const char *cptr, Py_ssize_t len) in _Py_bytes_isdigit() argument
104 = (unsigned char *) cptr; in _Py_bytes_isdigit()
131 _Py_bytes_islower(const char *cptr, Py_ssize_t len) in _Py_bytes_islower() argument
134 = (unsigned char *) cptr; in _Py_bytes_islower()
[all …]
/external/python/cpython3/Include/
Dbytes_methods.h9 extern PyObject* _Py_bytes_isspace(const char *cptr, Py_ssize_t len);
10 extern PyObject* _Py_bytes_isalpha(const char *cptr, Py_ssize_t len);
11 extern PyObject* _Py_bytes_isalnum(const char *cptr, Py_ssize_t len);
12 extern PyObject* _Py_bytes_isdigit(const char *cptr, Py_ssize_t len);
13 extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len);
14 extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len);
15 extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len);
18 extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len);
19 extern void _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len);
/external/python/cpython2/Include/
Dbytes_methods.h8 extern PyObject* _Py_bytes_isspace(const char *cptr, Py_ssize_t len);
9 extern PyObject* _Py_bytes_isalpha(const char *cptr, Py_ssize_t len);
10 extern PyObject* _Py_bytes_isalnum(const char *cptr, Py_ssize_t len);
11 extern PyObject* _Py_bytes_isdigit(const char *cptr, Py_ssize_t len);
12 extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len);
13 extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len);
14 extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len);
17 extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len);
18 extern void _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len);
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spd-tar.c16 int *cptr, *pptr; variable
20 cptr[2] = 1; in wait_parent()
21 while (!cptr[1]) in wait_parent()
31 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar()
34 cptr[2] = 0; in tm_spd_tar()
75 : [val] "r" (cptr[1]), [sprn_dscr]"i"(SPRN_DSCR), in tm_spd_tar()
85 if (!cptr[0]) in tm_spd_tar()
92 shmdt(&cptr); in tm_spd_tar()
101 shmdt(&cptr); in tm_spd_tar()
Dptrace-tm-spd-gpr.c17 int *cptr, *pptr; variable
26 cptr[2] = 1; in wait_parent()
27 while (!cptr[1]) in wait_parent()
37 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr()
40 cptr[2] = 0; in tm_spd_gpr()
79 if (!cptr[0]) in tm_spd_gpr()
82 shmdt((void *)cptr); in tm_spd_gpr()
93 shmdt((void *)cptr); in tm_spd_gpr()
Dptrace-tm-spd-vsx.c16 int *cptr, *pptr; variable
41 cptr[2] = 1; in wait_parent()
42 while (!cptr[1]) in wait_parent()
51 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx()
54 cptr[2] = 0; in tm_spd_vsx()
87 if (!cptr[0]) in tm_spd_vsx()
89 shmdt((void *)cptr); in tm_spd_vsx()
97 shmdt((void *)cptr); in tm_spd_vsx()
Dptrace-tm-gpr.c17 unsigned long *cptr, *pptr; variable
30 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr()
33 cptr[1] = 0; in tm_gpr()
63 [flt_2] "r" (&b), [cptr1] "r" (&cptr[1]) in tm_gpr()
72 if (!cptr[0]) in tm_gpr()
75 shmdt((void *)cptr); in tm_gpr()
87 shmdt((void *)cptr); in tm_gpr()
Dptrace-tm-tar.c16 unsigned long *cptr, *pptr; variable
25 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar()
28 cptr[1] = 0; in tm_tar()
68 [dscr_2]"i"(DSCR_2), [cptr1] "r" (&cptr[1]) in tm_tar()
74 if (!cptr[0]) in tm_tar()
81 shmdt(&cptr); in tm_tar()
90 shmdt(&cptr); in tm_tar()
Dptrace-tm-vsx.c16 unsigned long *cptr, *pptr; variable
38 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx()
41 cptr[1] = 0; in tm_vsx()
69 [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "r" (&cptr[1]) in tm_vsx()
75 if (!cptr[0]) in tm_vsx()
78 shmdt((void *)cptr); in tm_vsx()
85 shmdt((void *)cptr); in tm_vsx()
Dptrace-tar.c16 int *cptr; variable
24 cptr = (int *)shmat(shm_id, NULL, 0); in tar()
32 cptr[2] = 1; in tar()
35 while (!cptr[0]) in tar()
46 cptr[1] = 1; in tar()
47 shmdt((int *)cptr); in tar()
Dptrace-tm-spr.c22 struct shared *cptr, *pptr; variable
41 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr()
87 if (!cptr->flag) in tm_spr()
90 ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); in tm_spr()
91 shmdt((void *)cptr); in tm_spr()
97 shmdt((void *)cptr); in tm_spr()
Dptrace-gpr.c17 int *cptr, *pptr; variable
28 cptr = (int *)shmat(shm_id, NULL, 0); in gpr()
41 cptr[1] = 1; in gpr()
43 while (!cptr[0]) in gpr()
46 shmdt((void *)cptr); in gpr()
Dptrace-vsx.c16 int *cptr, *pptr; variable
26 cptr = (int *)shmat(shm_id, NULL, 0); in vsx()
28 cptr[1] = 1; in vsx()
30 while (!cptr[0]) in vsx()
32 shmdt((void *) cptr); in vsx()
/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 …]
/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/python/cpython3/Objects/
Dbytes_methods.c12 _Py_bytes_isspace(const char *cptr, Py_ssize_t len) in _Py_bytes_isspace() argument
15 = (unsigned char *) cptr; in _Py_bytes_isspace()
42 _Py_bytes_isalpha(const char *cptr, Py_ssize_t len) in _Py_bytes_isalpha() argument
45 = (unsigned char *) cptr; in _Py_bytes_isalpha()
72 _Py_bytes_isalnum(const char *cptr, Py_ssize_t len) in _Py_bytes_isalnum() argument
75 = (unsigned char *) cptr; in _Py_bytes_isalnum()
102 _Py_bytes_isdigit(const char *cptr, Py_ssize_t len) in _Py_bytes_isdigit() argument
105 = (unsigned char *) cptr; in _Py_bytes_isdigit()
132 _Py_bytes_islower(const char *cptr, Py_ssize_t len) in _Py_bytes_islower() argument
135 = (unsigned char *) cptr; in _Py_bytes_islower()
[all …]
/external/libcups/cups/
Dppd-conflicts.c79 _ppd_cups_uiconst_t *cptr; /* Current constraint */ in cupsGetConflicts() local
108 for (i = c->num_constraints, cptr = c->constraints; in cupsGetConflicts()
110 i --, cptr ++) in cupsGetConflicts()
111 if (_cups_strcasecmp(cptr->option->keyword, option)) in cupsGetConflicts()
113 if (cptr->choice) in cupsGetConflicts()
114 num_options = cupsAddOption(cptr->option->keyword, in cupsGetConflicts()
115 cptr->choice->choice, num_options, in cupsGetConflicts()
118 cptr->option->keyword)) != NULL) in cupsGetConflicts()
119 num_options = cupsAddOption(cptr->option->keyword, marked->choice, in cupsGetConflicts()
371 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 …]
/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
/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()

123