Home
last modified time | relevance | path

Searched refs:fileInfo (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/merge_abc/src/
H A DmergeProgram.cpp37 struct _finddata_t fileInfo; in EnumerateFilesWindows() local
39 if ((handle = _findfirst(path.assign(protoBinPath).append("\\*").c_str(), &fileInfo)) == -1) { in EnumerateFilesWindows()
43 if (fileInfo.attrib & _A_SUBDIR) { in EnumerateFilesWindows()
44 if ((!strncmp(fileInfo.name, ".", 1)) || (!strncmp(fileInfo.name, "..", 2))) { in EnumerateFilesWindows()
47 if (!GetProtoFiles(path.assign(protoBinPath).append("\\").append(fileInfo.name), protoBinSuffix, in EnumerateFilesWindows()
53 std::string fileName(fileInfo.name); in EnumerateFilesWindows()
58 } while (_findnext(handle, &fileInfo) == 0); in EnumerateFilesWindows()
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dextractor.cpp176 bool Extractor::GetFileInfo(const std::string &fileName, FileInfo &fileInfo) const in GetFileInfo()
190 fileInfo.fileName = fileName; in GetFileInfo()
191 fileInfo.offset = static_cast<uint32_t>(offset); in GetFileInfo()
192 fileInfo.length = static_cast<uint32_t>(length); in GetFileInfo()
193 fileInfo.lastModTime = zipEntry.modifiedTime; in GetFileInfo()
194 fileInfo.lastModDate = zipEntry.modifiedDate; in GetFileInfo()
H A Dextractor.h88 bool GetFileInfo(const std::string &fileName, FileInfo &fileInfo) const;
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
H A Dsnapshot_global_data.cpp89 auto fileInfo = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(Cast(CP_PANDA_INFO_ITEM::COUNT)); in AddSnapshotCpArrayToData() local
90 fileInfo->Set(thread, Cast(CP_PANDA_INFO_ITEM::NAME_ID), nameStr); in AddSnapshotCpArrayToData()
91 fileInfo->Set(thread, Cast(CP_PANDA_INFO_ITEM::INDEX_ID), JSTaggedValue(fileIndex)); in AddSnapshotCpArrayToData()
94 dataHandle->Set(thread, curDataIdx_ + Cast(CP_TOP_ITEM::PANDA_INFO_ID), fileInfo); in AddSnapshotCpArrayToData()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_module.cpp39 fileInfo(memPoolAllocator.Adapter()), in MIRModule()
185 if (!fileInfo.empty()) { in DumpGlobals()
187 size_t size = fileInfo.size(); in DumpGlobals()
189 LogInfo::MapleLogger() << " @" << GlobalTables::GetStrTable().GetStringFromStrIdx(fileInfo[i].first) in DumpGlobals()
192 LogInfo::MapleLogger() << "0x" << std::hex << fileInfo[i].second; in DumpGlobals()
195 << GlobalTables::GetStrTable().GetStringFromStrIdx(GStrIdx(fileInfo[i].second)) in DumpGlobals()
482 for (auto &infoElem : fileInfo) { in GetFileinfo()
495 if (!fileInfo.empty()) { in GetFileNameAsPostfix()
/arkcompiler/ets_runtime/ecmascript/extractortool/tests/
H A Dextractor_test.cpp197 FileInfo fileInfo; in HWTEST_F_L0() local
198 EXPECT_FALSE(extractorFriend.extractor_.GetFileInfo("TestFileName", fileInfo)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Daot_compiler_preprocessor.cpp267 AbcFileInfo fileInfo(extendedFilePath, jsPandaFile); in GenerateAbcFileInfos()
282 fileInfos_.emplace_back(fileInfo); in GenerateAbcFileInfos()
290 for (const AbcFileInfo &fileInfo : fileInfos_) { in GenerateBytecodeInfoCollectors()
291 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GenerateBytecodeInfoCollectors()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_module.h557 return fileInfo; in GetFileInfo()
561 fileInfo.push_back(pair); in PushFileInfoPair()
565 fileInfo = fileInf; in SetFileInfo()
844 MIRInfoVector fileInfo; // store info provided under fileInfo keyword member in maple::MIRModule
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.cpp524 JSMutableHandle<TaggedArray> fileInfo(thread, JSTaggedValue::Undefined()); in ParseDeserializedData()
528 fileInfo.Update(aiData->Get(i + SnapshotGlobalData::Cast(SnapshotGlobalData::CP_TOP_ITEM::PANDA_INFO_ID))); in ParseDeserializedData()
531 CString fileNameCStr = EcmaStringAccessor(fileInfo->Get(nameOffset)).ToCString(); in ParseDeserializedData()
532 std::string fileNameStr = EcmaStringAccessor(fileInfo->Get(nameOffset)).ToStdString(); in ParseDeserializedData()
533 uint32_t fileIndex = static_cast<uint32_t>(fileInfo->Get(indexOffset).GetInt()); in ParseDeserializedData()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_profiler.cpp343 struct stat fileInfo; in GetFileSize() local
344 if (stat(inputFilePath.c_str(), &fileInfo) == 0) { in GetFileSize()
345 return fileInfo.st_size; in GetFileSize()

Completed in 10 milliseconds