Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestFFmpegAvcConfigDataParser.cpp28 const uint8_t* ptr1 = nullptr; variable
29 auto parser1 = std::make_shared<AVCConfigDataParser>(ptr1, 0);
51 const uint8_t* ptr1 = &num; variable
52 auto parser = std::make_shared<AVCConfigDataParser>(ptr1, 1);
59 const uint8_t* ptr1 = nullptr; variable
60 auto parser1 = std::make_shared<AVCConfigDataParser>(ptr1, 0);
/ohos5.0/foundation/multimodalinput/input/intention/prototype/include/
H A Di_device_observer.h35 inline bool operator<(std::weak_ptr<IDeviceObserver> ptr1, std::weak_ptr<IDeviceObserver> ptr2)
37 return (ptr1.lock() < ptr2.lock());
40 inline bool operator==(const std::weak_ptr<IDeviceObserver> ptr1, std::nullptr_t) noexcept
42 return (ptr1.lock() == nullptr);
/ohos5.0/base/msdp/device_status/intention/prototype/include/
H A Di_device_observer.h35 inline bool operator<(std::weak_ptr<IDeviceObserver> ptr1, std::weak_ptr<IDeviceObserver> ptr2)
37 return (ptr1.lock() < ptr2.lock());
40 inline bool operator==(const std::weak_ptr<IDeviceObserver> ptr1, std::nullptr_t) noexcept
42 return (ptr1.lock() == nullptr);
/ohos5.0/base/security/asset/frameworks/os_dependency/memory/src/
H A Dasset_mem.c45 int32_t AssetMemCmp(const void *ptr1, const void *ptr2, uint32_t size) in AssetMemCmp() argument
47 return memcmp(ptr1, ptr2, size); in AssetMemCmp()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/posix/
H A Dhks_mem.c45 int32_t HksMemCmp(const void *ptr1, const void *ptr2, uint32_t size) in HksMemCmp() argument
47 return memcmp(ptr1, ptr2, size); in HksMemCmp()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h351 auto const* ptr1 = begin_; in compare() local
354 while (ptr1 != end) { in compare()
355 auto const res = static_cast<int>(*ptr1++) - static_cast<int>(*ptr2++); in compare()
385 auto const* ptr1 = begin_; in compare() local
388 while ((ptr1 != end) && *ptr2) { in compare()
389 auto const res = static_cast<int>(*ptr1++) - static_cast<int>(*ptr2++); in compare()
394 if ((ptr1 == end) && *ptr2) { in compare()
396 } else if ((ptr1 != end) && !*ptr2) { in compare()
783 auto const* ptr1 = begin_; in starts_with() local
786 while ((ptr1 != end) && *ptr2) { in starts_with()
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-memory-corrupt.md59 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
62 memset(ptr1, 0, 8 + 4);
H A Dkernel-mini-memory-debug.md202 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
330 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
333 memset(ptr1, 0, 8 + 4);
H A Dkernel-small-debug-memory-leak.md88 void *ptr1 = LOS_MemAlloc(pool, TEST_MALLOC_SIZE);
/ohos5.0/base/security/asset/frameworks/os_dependency/memory/inc/
H A Dasset_mem.h29 int32_t AssetMemCmp(const void *ptr1, const void *ptr2, uint32_t size);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_mem.h38 int32_t HksMemCmp(const void *ptr1, const void *ptr2, uint32_t size);
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_ipc_cmd_parser_service.cpp1322 OnIpcCmdFunc ptr1 = GetIpcCmdFunc(cmdCode); variable
1323 if (ptr1) {
1324 ret = ptr1(data, reply);
1360 OnIpcCmdFunc ptr1 = GetIpcCmdFunc(cmdCode); variable
1361 if (ptr1) {
1362 ret = ptr1(data, reply);
1519 OnIpcCmdFunc ptr1 = GetIpcCmdFunc(cmdCode); variable
1520 if (ptr1) {
1521 ret = ptr1(data, reply);
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-memory-corrupt.md58 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
61 memset(ptr1, 0, 8 + 4);
H A Dkernel-mini-memory-debug.md204 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
333 void *ptr1 = LOS_MemAlloc(LOSCFG_SYS_HEAP_ADDR, 8);
336 memset(ptr1, 0, 8 + 4);
H A Dkernel-small-debug-memory-leak.md89 void *ptr1 = LOS_MemAlloc(pool, TEST_MALLOC_SIZE);
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Djsvm-data-types-interfaces.md1600 void *ptr1;
1630 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1652 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1674 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1701 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1723 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1747 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1768 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1792 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1837 test->ptr1 = (void *)test1;
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_native_test.cpp286 std::shared_ptr<RunningLockMgr::LockCounter> ptr1 = variable
289 ptr1->activate_(true, runningLockParam1);
290 ptr1->activate_(false, runningLockParam1);
/ohos5.0/docs/en/application-dev/napi/
H A Djsvm-data-types-interfaces.md1600 void *ptr1;
1630 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1652 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1674 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1701 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1723 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1747 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1768 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1792 callTest1 callTe = reinterpret_cast<callTest1>(test->ptr1);
1837 test->ptr1 = (void *)test1;