Home
last modified time | relevance | path

Searched refs:iptr (Results 1 – 25 of 70) sorted by relevance

123

/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dnacl-atomic-intrinsics.ll29 define internal i32 @test_atomic_load_8(i32 %iptr) {
31 %ptr = inttoptr i32 %iptr to i8*
38 ; CHECK: define internal i32 @test_atomic_load_8(i32 %iptr) {
40 ; CHECK-NEXT: %i = call i8 @llvm.nacl.atomic.load.i8(i32 %iptr, i32 6)
45 define internal i32 @test_atomic_load_16(i32 %iptr) {
47 %ptr = inttoptr i32 %iptr to i16*
53 ; CHECK-NEXT: define internal i32 @test_atomic_load_16(i32 %iptr) {
55 ; CHECK-NEXT: %i = call i16 @llvm.nacl.atomic.load.i16(i32 %iptr, i32 6)
60 define internal i32 @test_atomic_load_32(i32 %iptr) {
62 %ptr = inttoptr i32 %iptr to i32*
[all …]
/external/fdlibm/
Ds_modf.c33 double ieee_modf(double x, double *iptr) in ieee_modf() argument
35 double ieee_modf(x, iptr) in ieee_modf()
36 double x,*iptr; in ieee_modf()
46 __HIp(iptr) = i0&0x80000000;
47 __LOp(iptr) = 0; /* *iptr = +-0 */
52 *iptr = x;
57 __HIp(iptr) = i0&(~i);
58 __LOp(iptr) = 0;
59 return x - *iptr;
63 *iptr = x*one;
[all …]
/external/clang/test/CodeGen/
DPR8880.c3 void pr8880_cg_1(int *iptr) { in pr8880_cg_1() argument
16 *iptr = 7; in pr8880_cg_1()
33 void pr8880_cg_2(int *iptr) { in pr8880_cg_2() argument
46 *iptr = 7; in pr8880_cg_2()
63 void pr8880_cg_3(int *iptr) { in pr8880_cg_3() argument
80 *iptr = 7; in pr8880_cg_3()
94 void pr8880_cg_4(int *iptr) { in pr8880_cg_4() argument
111 *iptr = 7; in pr8880_cg_4()
125 void pr8880_cg_5(int x, int *iptr) { in pr8880_cg_5() argument
139 *iptr = 7; in pr8880_cg_5()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dnacl-atomic-errors.ll26 define internal i32 @error_atomic_load_8(i32 %iptr) {
28 %ptr = inttoptr i32 %iptr to i8*
35 define internal i32 @error_atomic_load_16(i32 %iptr) {
37 %ptr = inttoptr i32 %iptr to i16*
44 define internal i64 @error_atomic_load_64(i32 %iptr) {
46 %ptr = inttoptr i32 %iptr to i64*
56 define internal void @error_atomic_store_32(i32 %iptr, i32 %v) {
58 %ptr = inttoptr i32 %iptr to i32*
64 define internal void @error_atomic_store_64(i32 %iptr, i64 %v) {
66 %ptr = inttoptr i32 %iptr to i64*
[all …]
Dnacl-atomic-intrinsics.ll76 define internal i32 @test_atomic_load_8(i32 %iptr) {
78 %ptr = inttoptr i32 %iptr to i8*
97 define internal i32 @test_atomic_load_16(i32 %iptr) {
99 %ptr = inttoptr i32 %iptr to i16*
117 define internal i32 @test_atomic_load_32(i32 %iptr) {
119 %ptr = inttoptr i32 %iptr to i32*
135 define internal i64 @test_atomic_load_64(i32 %iptr) {
137 %ptr = inttoptr i32 %iptr to i64*
151 define internal i32 @test_atomic_load_32_with_arith(i32 %iptr) {
156 %ptr = inttoptr i32 %iptr to i32*
[all …]
Dnacl-atomic-cmpxchg-optimization.ll17 define internal i32 @test_atomic_cmpxchg_loop(i32 %iptr, i32 %expected,
25 %ptr = inttoptr i32 %iptr to i32*
49 define internal i32 @test_atomic_cmpxchg_loop2(i32 %iptr, i32 %expected,
56 %ptr = inttoptr i32 %iptr to i32*
72 define internal i32 @test_atomic_cmpxchg_loop_const(i32 %iptr, i32 %desired) {
78 %ptr = inttoptr i32 %iptr to i32*
93 define internal i32 @test_atomic_cmpxchg_no_opt(i32 %iptr, i32 %expected,
100 %ptr = inttoptr i32 %iptr to i32*
116 define internal i32 @test_atomic_cmpxchg_no_opt2(i32 %iptr, i32 %expected,
123 %ptr = inttoptr i32 %iptr to i32*
/external/ppp/pppd/plugins/radius/
Dconfig.c65 int *iptr; in set_option_int() local
72 if ((iptr = (int *) malloc(sizeof(iptr))) == NULL) { in set_option_int()
77 *iptr = atoi(p); in set_option_int()
78 option->val = (void *) iptr; in set_option_int()
135 int *iptr; in set_option_auo() local
142 if ((iptr = (int *) malloc(sizeof(iptr))) == NULL) { in set_option_auo()
147 *iptr = 0; in set_option_auo()
151 *iptr = AUTH_LOCAL_FST; in set_option_auo()
153 *iptr = AUTH_RADIUS_FST; in set_option_auo()
162 if ((*iptr & AUTH_RADIUS_FST) && !strcmp(p, "local")) in set_option_auo()
[all …]
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp14 void test(int *iptr, float *fptr, int diff) { in test() argument
16 iptr = next(iptr, diff); in test()
25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
26 iptr = next(iptr, diff); in test2()
/external/vboot_reference/utility/
Dbmpblk_util.c393 ImageInfo *iptr = in dump_bmpblock() local
395 if (iptr->tag == TAG_HWID) { in dump_bmpblock()
398 RENDER_HWID, iptr->tag, iptr->format, iptr->compression, in dump_bmpblock()
399 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
400 } else if (iptr->tag == TAG_HWID_RTOL) { in dump_bmpblock()
403 RENDER_HWID_RTOL, iptr->tag, in dump_bmpblock()
404 iptr->format, iptr->compression, in dump_bmpblock()
405 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
411 iptr->tag, iptr->format, iptr->compression, in dump_bmpblock()
412 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
/external/libvncserver/libvncserver/
Dtabletrans24template.c52 char *iptr, char *optr, in rfbTranslateWithSingleTable24to24() argument
56 uint8_t *ip = (uint8_t *)iptr; in rfbTranslateWithSingleTable24to24()
91 char *iptr, char *optr, in rfbTranslateWithRGBTables24to24() argument
95 uint8_t *ip = (uint8_t *)iptr; in rfbTranslateWithRGBTables24to24()
143 char *iptr, char *optr, in rfbTranslateWithSingleTable24toOUT() argument
147 uint8_t *ip = (uint8_t *)iptr; in rfbTranslateWithSingleTable24toOUT()
176 char *iptr, char *optr, in rfbTranslateWithRGBTables24toOUT() argument
180 uint8_t *ip = (uint8_t *)iptr; in rfbTranslateWithRGBTables24toOUT()
213 char *iptr, char *optr, in rfbTranslateWithSingleTableINto24() argument
217 IN_T *ip = (IN_T *)iptr; in rfbTranslateWithSingleTableINto24()
[all …]
Dtabletranstemplate.c57 char *iptr, char *optr, in rfbTranslateWithSingleTableINtoOUT() argument
61 IN_T *ip = (IN_T *)iptr; in rfbTranslateWithSingleTableINtoOUT()
88 char *iptr, char *optr, in rfbTranslateWithRGBTablesINtoOUT() argument
92 IN_T *ip = (IN_T *)iptr; in rfbTranslateWithRGBTablesINtoOUT()
/external/pcre/dist2/src/
Dpcre2_jit_test.c954 PCRE2_SPTR8 iptr = input; in convert_utf8_to_utf16() local
961 while (*iptr && max_length > 1) { in convert_utf8_to_utf16()
964 *offsetmap++ = (int)(iptr - (unsigned char*)input); in convert_utf8_to_utf16()
966 if (*iptr < 0xc0) in convert_utf8_to_utf16()
967 c = *iptr++; in convert_utf8_to_utf16()
968 else if (!(*iptr & 0x20)) { in convert_utf8_to_utf16()
969 c = ((iptr[0] & 0x1f) << 6) | (iptr[1] & 0x3f); in convert_utf8_to_utf16()
970 iptr += 2; in convert_utf8_to_utf16()
971 } else if (!(*iptr & 0x10)) { in convert_utf8_to_utf16()
972 c = ((iptr[0] & 0x0f) << 12) | ((iptr[1] & 0x3f) << 6) | (iptr[2] & 0x3f); in convert_utf8_to_utf16()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll9 @iptr = external global i64
166 store i64 %or9, i64 *@iptr
177 ; CHECK: iptr
184 %int0 = load volatile i64 , i64 *@iptr
187 %int1 = load volatile i64 , i64 *@iptr
190 %int2 = load volatile i64 , i64 *@iptr
193 %int3 = load volatile i64 , i64 *@iptr
196 %int4 = load volatile i64 , i64 *@iptr
199 %int5 = load volatile i64 , i64 *@iptr
202 %int6 = load volatile i64 , i64 *@iptr
[all …]
/external/autotest/client/deps/glbench/src/
Dutils.cc230 GLushort *iptr = *indices = new GLushort[2 * 3 * (width * height)]; in CreateMesh() local
244 *iptr++ = first; in CreateMesh()
245 *iptr++ = flag ? second : third; in CreateMesh()
246 *iptr++ = flag ? third : second; in CreateMesh()
248 *iptr++ = fourth; in CreateMesh()
249 *iptr++ = flag ? third : second; in CreateMesh()
250 *iptr++ = flag ? second : third; in CreateMesh()
254 *size = (iptr - *indices) * sizeof(GLushort); in CreateMesh()
256 return iptr - *indices; in CreateMesh()
/external/e2fsprogs/lib/ext2fs/
Dinode.c582 struct ext2_inode_large *iptr = (struct ext2_inode_large *)inode; in ext2fs_get_next_inode_full() local
650 retval = ext2fs_get_mem(length, &iptr); in ext2fs_get_next_inode_full()
673 memset(iptr, 0, length); in ext2fs_get_next_inode_full()
675 (struct ext2_inode_large *) iptr, in ext2fs_get_next_inode_full()
679 memcpy(iptr, scan->temp_buffer, length); in ext2fs_get_next_inode_full()
693 memset(iptr, 0, length); in ext2fs_get_next_inode_full()
695 (struct ext2_inode_large *) iptr, in ext2fs_get_next_inode_full()
699 memcpy(iptr, scan->ptr, length); in ext2fs_get_next_inode_full()
713 if (iptr != (struct ext2_inode_large *)inode) { in ext2fs_get_next_inode_full()
714 memcpy(inode, iptr, bufsize); in ext2fs_get_next_inode_full()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/assembler/x86/
Djump_encodings.ll13 define internal void @test_near_backward(i32 %iptr, i32 %val) {
17 %ptr = inttoptr i32 %iptr to i32*
37 define internal void @test_far_backward1(i32 %iptr, i32 %val) {
41 %ptr = inttoptr i32 %iptr to i32*
82 define internal void @test_far_backward2(i32 %iptr, i32 %val) {
86 %ptr = inttoptr i32 %iptr to i32*
129 define internal void @test_near_forward(i32 %iptr, i32 %val) {
133 %ptr = inttoptr i32 %iptr to i32*
161 define internal void @test_local_forward_then_back(i64 %val64, i32 %iptr,
166 %ptr = inttoptr i32 %iptr to i32*
[all …]
/external/speex/libspeex/
Dfftwrap.c209 float *iptr = t->in; in spx_fft() local
213 iptr[i]=in[i] * m; in spx_fft()
227 float *iptr = t->in; in spx_ifft() local
230 iptr[0] = in[0]; in spx_ifft()
231 iptr[1] = 0.0f; in spx_ifft()
233 iptr[i+1] = in[i]; in spx_ifft()
234 iptr[N+1] = 0.0f; in spx_ifft()
Dresample.c349 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_single() local
355 accum[0] += sinc[j]*iptr[j]; in resampler_basic_direct_single()
356 accum[1] += sinc[j+1]*iptr[j+1]; in resampler_basic_direct_single()
357 accum[2] += sinc[j+2]*iptr[j+2]; in resampler_basic_direct_single()
358 accum[3] += sinc[j+3]*iptr[j+3]; in resampler_basic_direct_single()
363 sum = inner_product_single(sinc, iptr, N); in resampler_basic_direct_single()
401 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_double() local
407 accum[0] += sinc[j]*iptr[j]; in resampler_basic_direct_double()
408 accum[1] += sinc[j+1]*iptr[j+1]; in resampler_basic_direct_double()
409 accum[2] += sinc[j+2]*iptr[j+2]; in resampler_basic_direct_double()
[all …]
/external/clang/test/Sema/
Dattr-malloc.c14 typedef int * iptr; typedef
15 iptr returns_iptr (void) __attribute((malloc)); // no-warning
Dnullability.c93 int * _Nonnull iptr; in printing_nullability() local
94 …float *fptr = iptr; // expected-warning{{incompatible pointer types initializing 'float *' with an… in printing_nullability()
/external/clang/test/SemaCXX/
Dwarn-bad-memaccess.cpp115 int i, *iptr; in test_nowarn() local
120 memset(&iptr, 0, sizeof iptr); in test_nowarn()
/external/ltp/lib/
Dself_exec.c75 int *iptr, i, j; in maybe_run_child() local
105 iptr = va_arg(ap, int *); in maybe_run_child()
112 *iptr = i; in maybe_run_child()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c407 uint8_t *iptr = img; in fill_col_to_arr() local
409 for (i = 0; i < len; ++i, iptr += stride) { in fill_col_to_arr()
410 *aptr++ = *iptr; in fill_col_to_arr()
416 uint8_t *iptr = img; in fill_arr_to_col() local
418 for (i = 0; i < len; ++i, iptr += stride) { in fill_arr_to_col()
419 *iptr = *aptr++; in fill_arr_to_col()
695 uint16_t *iptr = img; in highbd_fill_col_to_arr() local
697 for (i = 0; i < len; ++i, iptr += stride) { in highbd_fill_col_to_arr()
698 *aptr++ = *iptr; in highbd_fill_col_to_arr()
705 uint16_t *iptr = img; in highbd_fill_arr_to_col() local
[all …]
/external/curl/tests/server/
Dutil.c71 char *iptr = data; in data_to_hex() local
78 *optr++ = *iptr++; in data_to_hex()
80 snprintf(optr, 4, "%%%02x", *iptr++); in data_to_hex()
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1.cpp180 int* iptr = &i; variable
185 X0<iptr> x0b;

123