Searched refs:bufp (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/commonlibrary/ets_utils/js_sys_module/process/ |
H A D | js_process.cpp | 382 struct passwd *bufp = nullptr; in GetUidForName() local 391 if (getpwnam_r(result.c_str(), &user, buf.data(), bufLen, &bufp) == 0 && bufp != nullptr) { in GetUidForName() 392 uid = static_cast<int32_t>(bufp->pw_uid); in GetUidForName() 500 struct passwd *bufp = nullptr; in GetUidForName() local 509 if (getpwnam_r(result.c_str(), &user, buf.data(), bufLen, &bufp) == 0 && bufp != nullptr) { in GetUidForName() 510 uid = static_cast<int32_t>(bufp->pw_uid); in GetUidForName()
|
/ohos5.0/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_mms_test.cpp | 1215 std::unique_ptr<char[]> bufp = std::make_unique<char[]>(BUF_LEN); variable 1217 EXPECT_EQ(client.WriteBufferToFile(bufp, BUF_LEN, storeDirName), false); 1218 EXPECT_EQ(client.WriteBufferToFile(bufp, BUF_LEN, storeDirName), false);
|