Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 - 25 of 94) 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()
/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...]
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DPointerTest.cpp75 ptr2->data = PtrTestData::dataValue; in HWTEST_F()
76 EXPECT_NE(ptr->data, ptr2->data); in HWTEST_F()
80 ptr = ptr2; in HWTEST_F()
82 EXPECT_EQ(ptr->data, ptr2->data); in HWTEST_F()
84 ptr2.reset(); in HWTEST_F()
312 BASE_NS::weak_ptr<PtrTestData> ptr2 = ptr; in HWTEST_F() local
317 ASSERT_FALSE(ptr2.lock().get() == nullptr); in HWTEST_F()
318 ASSERT_FALSE(ptr2.lock() == nullptr); in HWTEST_F()
323 ASSERT_TRUE(ptr2.lock().get() != nullptr); in HWTEST_F()
324 ASSERT_TRUE(ptr2 in HWTEST_F()
466 auto* ptr2 = wb4.lock().get(); HWTEST_F() 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()
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Daudio_endpoint_separate_unit_test.cpp253 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); in HWTEST() local
254 ptr2->deviceRole = INPUT_DEVICE; in HWTEST()
255 ptr2->networkId = REMOTE_NETWORK_ID; in HWTEST()
256 auto ret = ptr->Config(*ptr2); in HWTEST()
258 ptr2->deviceRole = INPUT_DEVICE; in HWTEST()
259 ptr2->networkId = LOCAL_NETWORK_ID; in HWTEST()
260 ret = ptr->Config(*ptr2); in HWTEST()
262 ptr2->deviceRole = OUTPUT_DEVICE; in HWTEST()
263 ptr2->networkId = REMOTE_NETWORK_ID; in HWTEST()
264 ret = ptr->Config(*ptr2); in HWTEST()
280 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); HWTEST() local
304 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); HWTEST() local
344 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); HWTEST() local
367 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); HWTEST() local
697 std::shared_ptr<DeviceInfo> ptr2 = std::make_shared<DeviceInfo>(); HWTEST() local
[all...]
/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...]
/foundation/communication/ipc/ipc/test/rpc/client/
H A Drpc_client.c62 uintptr_t ptr2 = 0; in RpcClientTestOne() local
63 int32_t ret = SendRequest(sid, OP_ADD, &data2, &reply2, option, &ptr2); in RpcClientTestOne()
66 FreeBuffer((void *)ptr2); in RpcClientTestOne()
73 FreeBuffer((void *)ptr2); in RpcClientTestOne()
/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()
/foundation/communication/ipc/ipc/test/unittest/ipc/client/
H A DIpcClientTest.cpp133 uintptr_t ptr2 = 0; in HWTEST_F() local
134 int ret = SendRequest(sidServer, SERVER_OP_ADD, &data2, &reply2, g_option, &ptr2); in HWTEST_F()
138 FreeBuffer((void *)ptr2); in HWTEST_F()
241 uintptr_t ptr2 = 0; in HWTEST_F() local
249 SendRequest(sidServer, SERVER_OP_ADD, &data2, &reply2, g_option, &ptr2); in HWTEST_F()
251 FreeBuffer((void *)ptr2); in HWTEST_F()

Completed in 12 milliseconds

1234