Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 11 of 11) sorted by relevance

/base/global/i18n_lite/frameworks/i18n/src/
Ddata_resource.cpp173 int32_t readSize = read(infile, cache, GLOBAL_RESOURCE_HEADER_LEFT); in ReadHeader() local
174 if (readSize != GLOBAL_RESOURCE_HEADER_LEFT) { in ReadHeader()
190 int32_t readSize = read(infile, locales, localeSize); in PrepareData() local
191 if (readSize < 0 || localeSize != static_cast<uint32_t>(readSize)) { in PrepareData()
277 int32_t readSize = read(infile, configs, resourceSize); in PrepareLocaleData() local
278 if (readSize != resourceSize) { in PrepareLocaleData()
410 int32_t readSize = read(infile, temp, length); in Retrieve() local
412 if ((readSize < 0) || (static_cast<uint32_t>(readSize) != length)) { in Retrieve()
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp77 int32_t readSize; in ReadSysfsFile() local
83 readSize = read(fd, buf, size - 1); in ReadSysfsFile()
84 if (readSize < NUM_ZERO) { in ReadSysfsFile()
90 buf[readSize] = '\0'; in ReadSysfsFile()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_storage.c139 uint32_t readSize = CmFileRead(path, fileName, 0, data, fileSize); in CmStorageGetBuf() local
140 if (readSize == 0) { in CmStorageGetBuf()
/base/security/selinux/interfaces/policycoreutils/src/
Dcontexts_trie.c243 …uint32_t readSize = dataLen + sizeof(SharedMem); // space used for read Shar… in ReadParamFromSharedMem() local
244 currentPos += readSize; in ReadParamFromSharedMem()
248 memPtr = (SharedMem *)((char *)memPtr + readSize); in ReadParamFromSharedMem()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c96 unsigned int readSize = buf.st_size; in ReadString() local
97 char *rst = (char *)HalMalloc(readSize); in ReadString()
103 if (memset_s(rst, readSize, 0x0, readSize) != EOK) { in ReadString()
116 int ret = read(fd, rst, readSize); in ReadString()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dhap_parser.cpp201 uint32_t readSize = offset - startOffset; in ParseStringArray() local
202 if (readSize + 1 == arrLen) { in ParseStringArray()
206 if (readSize + 1 > arrLen) { in ParseStringArray()
/base/global/resource_management/frameworks/resmgr/src/utils/
Dhap_parser.cpp287 uint32_t readSize = offset - startOffset; in ParseStringArray() local
288 if (readSize + 1 == arrLen) { in ParseStringArray()
292 if (readSize + 1 > arrLen) { in ParseStringArray()
/base/request/request/upload/frameworks/libs/src/
Dcurl_adp.cpp433 size_t readSize = fread(buffer, size, nitems, fData->fp); in ReadCallback() local
436 return readSize; in ReadCallback()
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_action_report_test.cpp95 int32_t readSize; in ReadSysfsFile() local
102 readSize = read(fd, buf, size - 1); in ReadSysfsFile()
103 if (readSize < NUM_ZERO) { in ReadSysfsFile()
109 buf[readSize] = '\0'; in ReadSysfsFile()
Dthermal_mgr_policy_test.cpp60 int32_t readSize; in ReadSysfsFile() local
67 readSize = read(fd, buf, size - 1); in ReadSysfsFile()
68 if (readSize < 0) { in ReadSysfsFile()
74 buf[readSize] = '\0'; in ReadSysfsFile()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp631 int readSize = read(fd, paperBuf, length); in SetWallpaperByFD() local
632 if (readSize <= 0) { in SetWallpaperByFD()