Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/selinux/libselinux/src/
H A Dmatchmediacon.c18 char *ptr, *ptr2 = NULL; in matchmediacon() local
39 ptr2 = ptr; in matchmediacon()
40 while (*ptr2 && !isspace(*ptr2)) in matchmediacon()
41 ptr2++; in matchmediacon()
42 if (!(*ptr2)) in matchmediacon()
45 *ptr2++ = 0; in matchmediacon()
56 while (*ptr2 && isspace(*ptr2)) in matchmediacon()
57 ptr2 in matchmediacon()
[all...]
/third_party/json/docs/examples/
H A Djson_pointer__operator__equal.cpp11 json::json_pointer ptr2("/foo"); in main()
17 << "\"" << ptr1 << "\" == \"" << ptr2 << "\": " << (ptr1 == ptr2) << '\n' in main()
18 << "\"" << ptr2 << "\" == \"" << ptr2 << "\": " << (ptr2 == ptr2) << std::endl; in main()
H A Djson_pointer__operator__notequal.cpp11 json::json_pointer ptr2("/foo"); in main()
17 << "\"" << ptr1 << "\" != \"" << ptr2 << "\": " << (ptr1 != ptr2) << '\n' in main()
18 << "\"" << ptr2 << "\" != \"" << ptr2 << "\": " << (ptr2 != ptr2) << std::endl; in main()
H A Djson_pointer__operator__equal_stringtype.cpp12 json::json_pointer ptr2("/foo"); in main()
23 << "\"" << ptr2 << "\" == \"" << str1 << "\": " << (ptr2 == str1) << std::endl; in main()
27 std::cout << "\"" << str2 << "\" == \"" << ptr2 << "\": " << (str2 == ptr2) << std::endl; in main()
H A Djson_pointer__operator__notequal_stringtype.cpp11 json::json_pointer ptr2("/foo"); in main()
22 << "\"" << ptr2 << "\" != \"" << str1 << "\": " << (ptr2 != str1) << std::endl; in main()
26 std::cout << "\"" << str2 << "\" != \"" << ptr2 << "\": " << (str2 != ptr2) << std::endl; in main()
H A Djson_pointer__back.cpp10 json::json_pointer ptr2("/foo/0"); in main()
14 << "last reference token of \"" << ptr2 << "\" is \"" << ptr2.back() << "\"" << std::endl; in main()
H A Djson_pointer__empty.cpp11 json::json_pointer ptr2("/foo"); in main()
18 << "\"" << ptr2 << "\": " << ptr2.empty() << '\n' in main()
H A Djson_pointer__parent_pointer.cpp10 json::json_pointer ptr2("/foo"); in main()
16 << "parent of \"" << ptr2 << "\" is \"" << ptr2.parent_pointer() << "\"\n" in main()
H A Djson_pointer__operator_string_t.cpp10 json::json_pointer ptr2("/a~1b"); in main()
16 s += ptr2; in main()
H A Djson_pointer__to_string.cpp10 json::json_pointer ptr2("/foo"); in main()
23 << "\"" << ptr2.to_string() << "\"\n" in main()
/third_party/ffmpeg/libavcodec/
H A Dsunrast.c37 uint8_t *ptr, *ptr2 = NULL; in sunrast_decode_frame() local
149 ptr = ptr2 = av_malloc_array((w + 15), h); in sunrast_decode_frame()
194 uint8_t *ptr_free = ptr2; in sunrast_decode_frame()
199 ptr[8*x] = ptr2[x] >> 7; in sunrast_decode_frame()
200 ptr[8*x+1] = ptr2[x] >> 6 & 1; in sunrast_decode_frame()
201 ptr[8*x+2] = ptr2[x] >> 5 & 1; in sunrast_decode_frame()
202 ptr[8*x+3] = ptr2[x] >> 4 & 1; in sunrast_decode_frame()
203 ptr[8*x+4] = ptr2[x] >> 3 & 1; in sunrast_decode_frame()
204 ptr[8*x+5] = ptr2[x] >> 2 & 1; in sunrast_decode_frame()
205 ptr[8*x+6] = ptr2[ in sunrast_decode_frame()
[all...]
H A Dphotocd.c80 uint8_t *ptr, *ptr1, *ptr2; in interp_lowres() local
86 ptr2 = picture->data[2]; in interp_lowres()
127 dst = ptr2; in interp_lowres()
137 ptr2 += picture->linesize[2] << 1; in interp_lowres()
299 uint8_t *ptr, *ptr1, *ptr2; in photocd_decode_frame() local
339 ptr2 = p->data[2]; in photocd_decode_frame()
356 bytestream2_get_buffer(gb, ptr2, avctx->width >> 1); in photocd_decode_frame()
357 ptr2 += p->linesize[2]; in photocd_decode_frame()
363 ptr2 = p->data[2]; in photocd_decode_frame()
368 interp_lines(ptr2, in photocd_decode_frame()
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeUniquePtr.cpp132 MovePtr<Object> ptr2 = ptr; in UniquePtr_selfTest() local
134 // Ownership moved to ptr2, should be deleted when ptr2 goes out of scope. in UniquePtr_selfTest()
145 MovePtr<Object> ptr2 = ptr.move(); in UniquePtr_selfTest() local
147 // Ownership moved to ptr2, should be deleted when ptr2 goes out of scope. in UniquePtr_selfTest()
167 MovePtr<Object> ptr2(new Object(exists2)); in UniquePtr_selfTest()
168 ptr1 = ptr2; in UniquePtr_selfTest()
195 MovePtr<Object> ptr2(new Object(exists)); in UniquePtr_selfTest()
196 ptr1 = ptr2; in UniquePtr_selfTest()
[all...]
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Dtypeof-mods.c10 typeof(ptr) ptr2 = ptr; in test_spec()
24 typeof(ptr) ptr2 = ptr; in test_const()
36 typeof(ptr) ptr2 = ptr; in test_volatile()
50 typeof(ptr) ptr2 = ptr; in test_restrict()
64 typeof(ptr) ptr2 = ptr; in test_atomic()
79 typeof(ptr) ptr2 = ptr; in test_bitwise()
93 typeof(ptr) ptr2 = ptr; in test_static()
107 typeof(ptr) ptr2 = ptr; in test_tls()
121 typeof(ptr) ptr2 = ptr; in test_nocast()
/third_party/lwip/test/unit/core/
H A Dtest_mem.c144 u8_t *ptr1b, *ptr1, *ptr2, *ptr3; in START_TEST() local
154 ptr2 = (u8_t *)mem_malloc(1); in START_TEST()
155 fail_unless(ptr2 != NULL); in START_TEST()
163 mem_free(ptr2); in START_TEST()
167 mem_free(ptr2); in START_TEST()
175 mem_free(ptr2); in START_TEST()
184 mem_free(ptr2); in START_TEST()
189 /* reallocate lowest memory, now overlapping already freed ptr2 */ in START_TEST()
197 mem_free(ptr2); in START_TEST()
203 mem_free(ptr2); in START_TEST()
[all...]
/third_party/vulkan-loader/loader/
H A DcJSON.c258 char *ptr2; in parse_string() local
277 ptr2 = out; in parse_string()
280 *ptr2++ = *ptr++; in parse_string()
285 *ptr2++ = '\b'; in parse_string()
288 *ptr2++ = '\f'; in parse_string()
291 *ptr2++ = '\n'; in parse_string()
294 *ptr2++ = '\r'; in parse_string()
297 *ptr2++ = '\t'; in parse_string()
321 ptr2 += len; in parse_string()
325 *--ptr2 in parse_string()
350 char *ptr2; print_string_ptr() local
[all...]
/third_party/lwip/src/core/
H A Dmem.c702 mem_size_t ptr, ptr2; in mem_trim() local
761 ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); in mem_trim()
763 lfree = ptr_to_mem(ptr2); in mem_trim()
765 mem2 = ptr_to_mem(ptr2); in mem_trim()
772 mem->next = ptr2; in mem_trim()
777 ptr_to_mem(mem2->next)->prev = ptr2; in mem_trim()
789 ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize); in mem_trim()
791 mem2 = ptr_to_mem(ptr2); in mem_trim()
798 mem->next = ptr2; in mem_trim()
800 ptr_to_mem(mem2->next)->prev = ptr2; in mem_trim()
833 mem_size_t ptr, ptr2, size; mem_malloc() local
[all...]
/third_party/gn/src/gn/
H A Dtagged_pointer_unittest.cc16 TaggedPointer<Point, 2> ptr2(&point1, 2); in TEST()
17 EXPECT_EQ(&point1, ptr2.ptr()); in TEST()
18 EXPECT_EQ(2u, ptr2.tag()); in TEST()
/third_party/node/test/cctest/
H A Dtest_base_object_ptr.cc143 BaseObjectPtr<DummyBaseObject> ptr2 = std::move(ptr); in TEST_F() local
144 EXPECT_EQ(weak_ptr.get(), ptr2.get()); in TEST_F()
148 EXPECT_EQ(weak_ptr2.get(), ptr2.get()); in TEST_F()
152 ptr2.reset(); in TEST_F()
164 BaseObjectPtr<BaseObject> ptr2; in TEST_F() member in ObjectWithPtr
187 obj->ptr2 = DummyBaseObject::New(env); in TEST_F()
/third_party/ffmpeg/libavcodec/x86/
H A Dsynth_filter.asm48 ; reading backwards: ptr1 = synth_buf + j + i; ptr2 = synth_buf + j - i
51 SHUF m5, ptr2 + j + (15 - 3) * 4, m6
54 SHUF m11, ptr2 + j + (15 - 3) * 4 - mmsize, m12
80 SHUF m6, ptr2 + j + (31 - 3) * 4, m5
83 SHUF m12, ptr2 + j + (31 - 3) * 4 - mmsize, m11
159 %define ptr2 r1q
170 %define ptr2 r7q ; must be loaded
180 mov ptr2, synth_bufmp
184 sub ptr2, i
194 sub ptr2,
[all...]
/third_party/python/Modules/
H A D_tracemalloc.c619 void *ptr2; in tracemalloc_realloc() local
621 ptr2 = alloc->realloc(alloc->ctx, ptr, new_size); in tracemalloc_realloc()
622 if (ptr2 == NULL) in tracemalloc_realloc()
631 a trace at address ptr2 */ in tracemalloc_realloc()
632 if (ptr2 != ptr) { in tracemalloc_realloc()
636 if (ADD_TRACE(ptr2, new_size) < 0) { in tracemalloc_realloc()
654 if (ADD_TRACE(ptr2, new_size) < 0) { in tracemalloc_realloc()
657 alloc->free(alloc->ctx, ptr2); in tracemalloc_realloc()
662 return ptr2; in tracemalloc_realloc()
727 void *ptr2; in tracemalloc_realloc_gil() local
804 void *ptr2; tracemalloc_raw_realloc() local
[all...]
/third_party/unity/test/tests/
H A Dtest_unity_core.c199 const char* ptr2 = "hello"; in testIsNull() local
202 TEST_ASSERT_NOT_NULL(ptr2); in testIsNull()
226 const char* ptr2 = "hello"; in testIsEmpty() local
229 TEST_ASSERT_NOT_EMPTY(ptr2); in testIsEmpty()
/third_party/toybox/toys/pending/
H A Ddiff.c653 struct diff *t, *ptr1 = d, *ptr2 = d; in do_diff() local
675 if ((ptr2->b + TT.ct) >= (ptr2 + 1)->a) { in do_diff()
676 ptr2++; in do_diff()
679 } else ptr2->prev = ptr2->b + TT.ct; in do_diff()
680 } else ptr2->prev = ptr2->b; in do_diff()
681 start1 = (ptr2->prev - ptr1->suff + 1); in do_diff()
684 end2 = ptr2 in do_diff()
[all...]
/test/xts/acts/security/huks/huks_napi_BasicTest/src/
H A Dhuks_mem.cpp26 int32_t HksMemCmp(const void *ptr1, const void *ptr2, uint32_t size) { return memcmp(ptr1, ptr2, size); argument
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_transfer_helper.c86 void *ptr, *ptr2; /* ptr to trans, and trans2 */ member
287 trans->ptr2 = helper->vtbl->transfer_map(pctx, stencil, level, in u_transfer_helper_transfer_map()
300 trans->ptr2, in u_transfer_helper_transfer_map()
310 trans->ptr2, in u_transfer_helper_transfer_map()
422 dst = (uint8_t *)trans->ptr2 + in flush_region()
450 dst = (uint8_t *)trans->ptr2 + in flush_region()
629 trans->ptr2 = NULL; in u_transfer_helper_deinterleave_transfer_map()
631 trans->ptr2 = helper->vtbl->transfer_map(pctx, prsc, level, in u_transfer_helper_deinterleave_transfer_map()
643 trans->ptr2, in u_transfer_helper_deinterleave_transfer_map()
653 trans->ptr2, in u_transfer_helper_deinterleave_transfer_map()
[all...]

Completed in 11 milliseconds

1234