Home
last modified time | relevance | path

Searched refs:maxFileLength (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/
H A Ddistributeddb_tools_test.cpp36 static const int maxFileLength = 1024; in GetCurrentDir() local
38 char buffer[maxFileLength] = {0}; in GetCurrentDir()
39 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()
40 if (length < 0 || length >= maxFileLength) { in GetCurrentDir()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_nb_test_tools.cpp613 static const int maxFileLength = 1024; in GetCurrentDir() local
615 char buffer[maxFileLength] = {0}; in GetCurrentDir()
617 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()
620 if (_getcwd(buffer, maxFileLength) != nullptr) { in GetCurrentDir()
624 if (length < 0 || length >= maxFileLength) { in GetCurrentDir()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.cpp225 static const int maxFileLength = 1024; in GetCurrentDir() local
227 char buffer[maxFileLength] = {0}; in GetCurrentDir()
228 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()
229 if (length < 0 || length >= maxFileLength) { in GetCurrentDir()
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.h557 const int32_t maxFileLength = 32 * 1024 * 1024; variable
H A Davsession_service.cpp2952 if (fileLength > maxFileLength) { in LoadStringFromFileEx()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/
H A Dsystem_sound_manager_impl.cpp397 const long maxFileLength = 32 * 1024 * 1024; // max size of the json file in GetJsonValue() local
399 if (fileLength > maxFileLength) { in GetJsonValue()