Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 - 4 of 4) sorted by relevance

/base/msdp/device_status/intention/services/intention_service/src/
H A Dintention_dumper.cpp38 char *pbuf = buf + len; in Dump() local
47 args[index].copy(pbuf, args[index].size()); in Dump()
48 pbuf[args[index].size()] = '\0'; in Dump()
50 argv[index + 1] = pbuf; in Dump()
51 pbuf += len; in Dump()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_image_util.cpp54 auto pbuf = new (std::nothrow) uint8_t [size]; in PackImage() local
55 if (pbuf == nullptr) { in PackImage()
60 imagePacker.StartPacking(pbuf, size, option); in PackImage()
66 std::string pixelMapStr(reinterpret_cast<char*>(pbuf), static_cast<size_t>(packedSize)); in PackImage()
67 delete [] pbuf; in PackImage()
68 pbuf = nullptr; in PackImage()
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_dumper.cpp64 char *pbuf = buf + len; in ParseCommand() local
73 args[index].copy(pbuf, args[index].size()); in ParseCommand()
74 pbuf[args[index].size()] = '\0'; in ParseCommand()
76 argv[index + 1] = pbuf; in ParseCommand()
77 pbuf += len; in ParseCommand()
/base/msdp/device_status/utils/common/src/
H A Dutility.cpp193 struct passwd *pbuf = nullptr; in ShowUserAndGroup() local
199 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup()
213 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup()

Completed in 3 milliseconds