Searched refs:pbuf (Results 1 – 3 of 3) sorted by relevance
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_image_util.cpp | 50 auto pbuf = new (std::nothrow) uint8_t [size]; in PackImage() local 51 if (pbuf == nullptr) { in PackImage() 56 imagePacker.StartPacking(pbuf, size, option); in PackImage() 62 std::string pixelMapStr(reinterpret_cast<char*>(pbuf), static_cast<size_t>(packedSize)); in PackImage() 63 delete [] pbuf; in PackImage() 64 pbuf = nullptr; in PackImage()
|
/base/msdp/device_status/services/native/src/ |
D | devicestatus_dumper.cpp | 66 char *pbuf = buf + len; in ParseCommand() local 75 args[index].copy(pbuf, args[index].size()); in ParseCommand() 76 pbuf[args[index].size()] = '\0'; in ParseCommand() 78 argv[index + 1] = pbuf; in ParseCommand() 79 pbuf += len; in ParseCommand()
|
/base/msdp/device_status/utils/common/src/ |
D | utility.cpp | 185 struct passwd *pbuf = nullptr; in ShowUserAndGroup() local 191 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup() 205 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup()
|