| /ide/tools/previewer/util/ |
| H A D | EndianUtil.cpp | 24 char buffer[sizeof(uint32_t)]; in IsBigEndian() member 27 return test.buffer[0] == BIG_ENDIAN_FIRST_BYTE; in IsBigEndian()
|
| H A D | EndianUtil.h | 34 unsigned char buffer[sizeof(T)]; in ToNetworkEndian() member 39 dest.buffer[i] = source.buffer[sizeof(T) - i - 1]; in ToNetworkEndian()
|
| H A D | LocalSocket.h | 51 char buffer[sizeof(T)]; in operator <<() local 52 std::copy(startPos, startPos + sizeof(dataToSend), buffer); in operator <<() 53 WriteData(buffer, sizeof(dataToSend)); in operator <<()
|
| /ide/tools/previewer/test/unittest/util/ |
| H A D | NativeFileSystemTest.cpp | 32 char buffer[FILENAME_MAX]; in SetUpTestCase() local 33 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in SetUpTestCase() 34 currDir = std::string(buffer); in SetUpTestCase()
|
| H A D | CommandParserTest.cpp | 37 char buffer[FILENAME_MAX]; in SetUpTestCase() local 38 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in SetUpTestCase() 39 currDir = std::string(buffer); in SetUpTestCase()
|
| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | StageContextTest.cpp | 45 char buffer[FILENAME_MAX]; in SetUpTestCase() local 46 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in SetUpTestCase() 47 testDir = std::string(buffer); in SetUpTestCase() 85 char buffer[FILENAME_MAX]; in TearDownTestCase() local 86 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in TearDownTestCase() 87 testDir = std::string(buffer); in TearDownTestCase() 240 char buffer[FILENAME_MAX]; in TEST_F() local 241 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in TEST_F() 242 testDir = std::string(buffer); in TEST_F() 375 char buffer[FILENAME_MA in TEST_F() local 408 char buffer[FILENAME_MAX]; TEST_F() local 425 char buffer[FILENAME_MAX]; TEST_F() local [all...] |
| H A D | JsAppImplTest.cpp | 52 char buffer[FILENAME_MAX]; in SetUpTestCase() local 53 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in SetUpTestCase() 54 testDir = std::string(buffer); in SetUpTestCase()
|
| /ide/tools/previewer/test/mock/ |
| H A D | MockFile.cpp | 98 void* buffer = malloc(bufferSize); in AddFileToZip() local 100 while ((size = fread(buffer, 1, bufferSize, file)) > 0) { in AddFileToZip() 101 if (zipWriteInFileInZip(zip, buffer, size) < 0) { in AddFileToZip() 103 free(buffer); in AddFileToZip() 113 free(buffer); in AddFileToZip()
|
| /ide/tools/previewer/test/fuzztest/paramsparse_fuzzer/ |
| H A D | ParamsParseFuzzer.h | 88 char buffer[FILENAME_MAX]; in SetUpTestCase() local 89 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in SetUpTestCase() 90 g_currDir = std::string(buffer); in SetUpTestCase()
|
| /ide/tools/previewer/jsapp/rich/external/ |
| H A D | StageContext.cpp | 223 ELOG("read modules.abc buffer failed."); in GetLocalModuleBuffer() 362 // unzip and get ets/moudles.abc buffer in GetCloudModuleBuffer() 365 ELOG("read modules.abc buffer failed."); in GetCloudModuleBuffer() 405 char buffer[1024]; in GetModuleBufferFromHsp() local 412 while ((bytesRead = unzReadCurrentFile(zipfile, buffer, sizeof(buffer))) > 0) { in GetModuleBufferFromHsp() 413 fileContent->insert(fileContent->end(), buffer, buffer + bytesRead); in GetModuleBufferFromHsp() 525 // unzip and get ets/moudles.abc buffer in GetSystemModuleBuffer() 528 ELOG("read modules.abc buffer faile in GetSystemModuleBuffer() [all...] |
| /ide/tools/previewer/test/mock_lite/ui_lite/ |
| H A D | MockSoftEngine.cpp | 59 void SoftEngine::FreeBuffer(uint8_t* buffer, uint32_t usage) {} in FreeBuffer() argument
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineInterfaceTest.cpp | 285 char buffer[FILENAME_MAX]; in TEST() local 286 if (getcwd(buffer, FILENAME_MAX) != nullptr) { in TEST() 287 std::string currDir = std::string(buffer); in TEST()
|