Lines Matching refs:nullptr
57 if (ptr == nullptr) {
70 if (ptr == nullptr) {
75 if (ptr == nullptr) {
91 if (ptr == nullptr) {
105 void* handle = nullptr;
106 DepthMallocSo mallocFunc = nullptr;
107 DepthFreeSo freeFunc = nullptr;
112 if (handle == nullptr) {
118 if (mallocFunc == nullptr || freeFunc == nullptr) {
122 char* ptr = nullptr;
128 if (handle != nullptr) {
138 char* ptr = static_cast<char*>(mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0));
141 ptr = nullptr;
154 if (ptr == nullptr) {
172 if (ptr == nullptr) {
189 if (ptr == nullptr) {
207 if (ptr == nullptr) {
224 if (ptr == nullptr) {
248 return nullptr;
261 void* mapAddr1 = mmap(nullptr, smallSize, PROT_WRITE | PROT_READ, MAP_SHARED | MAP_POPULATE, fd, 0);
269 void* mapAddr2 = mmap(nullptr, bigSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
317 if (pthread_create(thrArray + idx, nullptr, HhreadFuncCpp, static_cast<void*>(&forNum)) != 0) {
322 pthread_join(thrArray[idx], nullptr);