/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_config_test.cpp | 155 uint32_t readCount = 0; variable 164 readCount++; 170 readCount++; 175 ASSERT_LE(DisplayManagerConfig::enableConfig_.size(), readCount); 202 uint32_t readCount = 0; variable 211 readCount++; 217 readCount++; 222 ASSERT_LE(DisplayManagerConfig::stringConfig_.size(), readCount);
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | zip_file_reader_mem.cpp | 36 auto const readCount = read(fd_, fileContent_.data() + pos, fileContent_.size() - pos); in init() local 37 if (readCount < 0) { in init() 41 } else if (readCount == 0) { in init() 45 pos += readCount; in init()
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_scene_config_test.cpp | 176 uint32_t readCount = 0; variable 187 readCount++; 218 uint32_t readCount = 0; variable 227 readCount++; 233 readCount++; 238 ASSERT_LE(ScreenSceneConfig::enableConfig_.size(), readCount); 265 uint32_t readCount = 0; variable 274 readCount++; 279 readCount++; 284 readCount++; [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | file_img_decoder.cpp | 67 int32_t readCount; in GetHeader() local 77 readCount = read(fd, &dsc.imgInfo.header, sizeof(ImageHeader)); in GetHeader() 80 if (readCount != sizeof(ImageHeader)) { in GetHeader() 103 int32_t readCount = read(dsc.fd, &dsc.imgInfo.header, sizeof(ImageHeader)); in ReadToCache() local 104 if (readCount != sizeof(ImageHeader)) { in ReadToCache() 112 uint32_t pxCount = info.st_size - readCount; in ReadToCache()
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
H A D | hc_file_posix.c | 133 int readCount = read(fp, dstBuffer + total, dstSize - total); in HcFileRead() local 134 if (readCount < 0 || readCount > (dstSize - total)) { in HcFileRead() 138 if (readCount == 0) { in HcFileRead() 142 total += readCount; in HcFileRead()
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | bluetooth_address.cpp | 77 int readCount = 0; in ParseAddressFromString() local 79 readCount = 0; in ParseAddressFromString() 80 if (sscanf_s(&string[offset], "%02hhx:%n", &address_[bytesIndex], &readCount) > 0) { in ParseAddressFromString() 81 if (readCount == 0 && bytesIndex != ADDRESS_SIZE - 1) { in ParseAddressFromString() 84 offset += readCount; in ParseAddressFromString()
|
/ohos5.0/base/update/updateservice/services/core/ability/utils/src/ |
H A D | sha256_utils.cpp | 83 int readCount = (sizeof(buffer) > (uint32_t)fLen) ? fLen : sizeof(buffer); in GetDigestFromFile() local 84 int count = (int)fread(buffer, 1, readCount, fp); in GetDigestFromFile() 85 if (count != readCount) { in GetDigestFromFile()
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_file.c | 131 int readCount = (int)fread(dstBuffer + total, 1, dstSize - total, fp); in HcFileRead() local 135 if (readCount == 0) { in HcFileRead() 138 total += readCount; in HcFileRead()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | callbacks.c | 722 sem->readCount = 0; in FillpAdaptSysArchRwsemInit() 732 sem->readCount++; in FillpAdaptSysArchRwsemTryrdwait() 733 if (sem->readCount == 1) { in FillpAdaptSysArchRwsemTryrdwait() 736 sem->readCount--; in FillpAdaptSysArchRwsemTryrdwait() 751 sem->readCount--; in FillpAdaptSysArchRwsemRdPost() 752 if (sem->readCount == 0) { in FillpAdaptSysArchRwsemRdPost() 778 sem->readCount = 0; in FillpAdaptSysArchRwsemDestroy()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/ |
H A D | oh_audio_renderer_test.cpp | 56 size_t readCount = fread(buffer, bufferLen, 1, g_file); in AudioRendererOnWriteData() local 57 if (!readCount) { in AudioRendererOnWriteData()
|
H A D | oh_audio_session_manager_test.cpp | 108 size_t readCount = fread(buffer, bufferLen, 1, g_file); in AudioRendererOnWriteData() local 109 if (!readCount) { in AudioRendererOnWriteData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_storage_executor.cpp | 394 uint64_t readCount = static_cast<uint64_t>(sqlite3_column_int64(countStatement, 0)); in GetCount() local 395 if (readCount > INT32_MAX) { in GetCount() 400 count = static_cast<int>(readCount); in GetCount() 717 uint64_t readCount = static_cast<uint64_t>(sqlite3_column_int64(countStatement, 0)); in OpenResultSet() local 718 if (readCount > INT32_MAX) { in OpenResultSet() 723 count = static_cast<int>(readCount); in OpenResultSet() 763 if (readCount <= static_cast<uint64_t>(offset)) { in OpenResultSet() 764 readCount = 0; in OpenResultSet() 766 readCount = std::min(readCount - offset, static_cast<uint64_t>(limit)); in OpenResultSet() 770 if (readCount > INT32_MAX) { in OpenResultSet() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_stream_builder_test/src/ |
H A D | oh_audio_stream_builder_unit_test.cpp | 67 size_t readCount = fread(buffer, bufferLen, 1, g_file); in AudioRendererOnWriteData() local 68 if (!readCount) { in AudioRendererOnWriteData() 83 size_t readCount = fread(audioData, audioDataSize, 1, g_file); in AudioRendererWriteDataWithMetadataCallback() local 84 if (!readCount) { in AudioRendererWriteDataWithMetadataCallback() 93 readCount = fread(metadata, metadataSize, 1, g_file); in AudioRendererWriteDataWithMetadataCallback() 94 if (!readCount) { in AudioRendererWriteDataWithMetadataCallback()
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | process_dumper.cpp | 358 …ssize_t readCount = OHOS_TEMP_FAILURE_RETRY(read(STDIN_FILENO, request.get(), sizeof(ProcessDumpRe… in ReadRequestAndCheck() local 363 if (readCount != static_cast<long>(sizeof(ProcessDumpRequest))) { in ReadRequestAndCheck() 364 DFXLOG_ERROR("Failed to read DumpRequest(%d), readCount(%zd).", errno, readCount); in ReadRequestAndCheck()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillptypes.h | 410 volatile int readCount; member
|