Home
last modified time | relevance | path

Searched refs:pathSize (Results 1 – 2 of 2) sorted by relevance

/base/startup/appspawn/interfaces/innerkits/client/
Dappspawn_socket.cpp58 socklen_t pathSize = sizeof(socketAddr_.sun_path); in PackSocketAddr() local
59 if (pathLen >= pathSize) { in PackSocketAddr()
66 len = snprintf_s(socketAddr_.sun_path, pathSize, (pathSize - 1), "%s", socketName_.c_str()); in PackSocketAddr()
68 len = snprintf_s(socketAddr_.sun_path, pathSize, (pathSize - 1), "%s%s", in PackSocketAddr()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c33 uint32_t pathSize = strlen(path) + 1; in MallocCertPath() local
34 cPath->data = (uint8_t *)CMMalloc(pathSize); in MallocCertPath()
39 cPath->size = pathSize; in MallocCertPath()
40 (void)memset_s(cPath->data, pathSize, 0, pathSize); in MallocCertPath()
207 uint32_t pathSize = strlen(path) + 1; in MallocCertNameAndPath() local
208 certFile->path.data = (uint8_t *)CMMalloc(pathSize); in MallocCertNameAndPath()
213 certFile->path.size = pathSize; in MallocCertNameAndPath()
214 (void)memset_s(certFile->path.data, pathSize, 0, pathSize); in MallocCertNameAndPath()