Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 90) sorted by relevance

1234

/developtools/packing_tool/adapter/ohos/
DCommandParser.java106 commandFuncs.put(CMD_MODE, entry -> { in initCommandFuncs()
107 entry.getKey().setMode(entry.getValue()); in initCommandFuncs()
110 commandFuncs.put(CMD_JSON_PATH, entry -> { in initCommandFuncs()
111 entry.getKey().setJsonPath(entry.getValue()); in initCommandFuncs()
114 commandFuncs.put(CMD_PROFILE_PATH, entry -> { in initCommandFuncs()
115 entry.getKey().setProfilePath(entry.getValue()); in initCommandFuncs()
118 commandFuncs.put(CMD_INDEX_PATH, entry -> { in initCommandFuncs()
119 entry.getKey().setIndexPath(entry.getValue()); in initCommandFuncs()
122 commandFuncs.put(CMD_JS_PATH, entry -> { in initCommandFuncs()
123 entry.getKey().setJsPath(entry.getValue()); in initCommandFuncs()
[all …]
DFileUtils.java217 ZipEntry entry = entries.nextElement(); in unzip() local
218 if (entry == null) { in unzip()
221 String filePath = destDir + File.separator + entry.getName(); in unzip()
225 if (entry.isDirectory()) { in unzip()
230 bis = new BufferedInputStream(zipFile.getInputStream(entry)); in unzip()
394 ZipEntry entry = null; in getJsonInZips() local
400 while ((entry = zin.getNextEntry()) != null) { in getJsonInZips()
401 if (entry.getName().toLowerCase().equals(jsonName)) { in getJsonInZips()
402 inputStream = zipFile.getInputStream(entry); in getJsonInZips()
438 final ZipEntry entry = entries.nextElement(); in getProfileJson() local
[all …]
DUncompress.java211 ZipEntry entry = null; in uncompressHapAndHspFromAppPath() local
217 entry = entries.nextElement(); in uncompressHapAndHspFromAppPath()
218 stream = appFile.getInputStream(entry); in uncompressHapAndHspFromAppPath()
219 if (!hapName.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressHapAndHspFromAppPath()
242 ZipEntry entry = null; in uncompressAllAppByPath() local
248 entry = entries.nextElement(); in uncompressAllAppByPath()
249 stream = appFile.getInputStream(entry); in uncompressAllAppByPath()
250 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllAppByPath()
257 if (entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressAllAppByPath()
258 || entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HSP_SUFFIX)) { in uncompressAllAppByPath()
[all …]
/developtools/profiler/device/plugins/memory_plugin/test/utresources/proc/
DdumpMem.txt91 Other: 5.40 KB (1 entry)
100 Other: 3.33 KB (1 entry)
107 Texture: 7.98 MB (1 entry)
109 Texture: 1.00 MB (1 entry)
112 StencilAttachment: 14.21 MB (1 entry)
121 Other: 3.33 KB (1 entry)
128 Other: 3.33 KB (1 entry)
135 Other: 3.33 KB (1 entry)
142 Other: 3.33 KB (1 entry)
149 Other: 3.33 KB (1 entry)
[all …]
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/testcase_def/
DREADME_zh.md11 | entry/preview/module.json | getPackageInfo | 应用于preview模式,读取bundle na…
12 | entry/build/module.json | getPackageInfo | 应用于build模式,读取bundle name…
13 | entry/build/sourceMaps.json | updateCachedSourceMaps | 应用于build模式(debug),更新Cach…
14 | entry/preview/sourceMaps.json | updateCachedSourceMaps | 应用于preview模式,更新CacheSour…
15 | entry/build/loader.json | initArkProjectConfig | 应用于build模式,给参数projectCon…
16 | entry/build/loader_aotMode.json | initArkProjectConfig | 应用于build模式(debug),给参数ace…
17 | entry/preview/loader.json | initArkProjectConfig | 应用于preview模式,给参数buildJso…
18 | entry/build/hotReload/sourceMaps.map | updateSourceMapFromFileList | 应用于hotReload模式,读取So…
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZip.java144 ZipEntry entry = new ZipEntry(); in getZipCentralDirectory() local
145 entry.setCentralDirectory(cd); in getZipCentralDirectory()
146 zipEntries.add(entry); in getZipCentralDirectory()
167 for (ZipEntry entry : zipEntries) { in getZipEntries()
168 CentralDirectory cd = entry.getCentralDirectory(); in getZipEntries()
178 entry.setZipEntryData(zipEntryData); in getZipEntries()
189 for (ZipEntry entry : zipEntries) { in toFile()
190 ZipEntryData zipEntryData = entry.getZipEntryData(); in toFile()
204 for (ZipEntry entry : zipEntries) { in toFile()
205 CentralDirectory cd = entry.getCentralDirectory(); in toFile()
[all …]
DZipEntryData.java86 ZipEntryData entry = new ZipEntryData(); in getZipEntry() local
87 entry.setFileOffset(offset); in getZipEntry()
88 entry.setFileSize(fileSize); in getZipEntry()
100 entry.setDataDescriptor(dataDesc); in getZipEntry()
102 entry.setZipEntryHeader(entryHeader); in getZipEntry()
103 entry.setLength(entryLength); in getZipEntry()
104 return entry; in getZipEntry()
/developtools/global_resource_tool/
DREADME_zh.md47 | --dependEntry | 可缺省 | 带参数 | FA模型下单独编译feature时,指定entry模块的编译结果目录。 |
71 例如:entry目录结构如下
73 entry/src/main
86 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTab…
93 restool -x entry/src/main/resource -o out
97 restool -i out1 -i out2 -o out -p com.ohos.demo -r out/ResourceTable.txt -j entry/src/main/module.j…
108 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTab…
113 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out1 -r out1/ResourceT…
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/testcase_def/entry/build/hotReload/
DsourceMaps.map2 "entry/src/main/entryability/EntryAbility.ts": {
5 "entry/src/main/entryability/EntryAbility.ts"
8 "entry/src/main/pages/Index.ets": {
11 "entry/src/main/pages/Index.ets"
/developtools/packing_tool/adapter/scanner/
DREADME_zh.md47 "/application-entry-default.hap/libs/armeabi-v7a/example.so",
48 "/entry-default.hap/libs/armeabi-v7a/example.so"
91 <td>/application-entry-default.hap/libs/armeabi-v7a/example.so</td>
94 <td>/entry-default.hap/libs/armeabi-v7a/example.so</td>
144 "file":"/application-entry-default.hap/libs/x86_64/example.so",
180 <td>/application-entry-default.hap/libs/x86_64/example.so</td>
230 "test.app/application-entry-default.hap",
231 "test.app/entry-default.hap"
238 "file":"/application-entry-default.hap/libs/x86_64/example.so",
246 "file":"/application-entry-default.hap/ets/modules.abc",
[all …]
/developtools/global_resource_tool/src/
Dresource_append.cpp76 FileEntry entry(folderPath); in Combine() local
77 if (!entry.Init()) { in Combine()
82 for (const auto &child : entry.GetChilds()) { in Combine()
123 FileEntry entry(resourcePath); in ScanResources() local
124 if (!entry.Init()) { in ScanResources()
128 if (entry.IsFile()) { in ScanResources()
132 return ScanSubResources(entry, resourcePath, outputPath); in ScanResources()
135 bool ResourceAppend::ScanSubResources(const FileEntry entry, const string &resourcePath, const stri… in ScanSubResources() argument
138 if (KeyParser::Parse(entry.GetFilePath().GetFilename(), keyParams)) { in ScanSubResources()
139 for (const auto &child : entry.GetChilds()) { in ScanSubResources()
[all …]
Dfile_entry.cpp86 struct dirent *entry; in GetChilds() local
87 while ((entry = readdir(handle)) != nullptr) { in GetChilds()
88 string filename(entry->d_name); in GetChilds()
287 bool FileEntry::RemoveAllDirInner(const FileEntry &entry) in RemoveAllDirInner() argument
289 string path = entry.GetFilePath().GetPath(); in RemoveAllDirInner()
290 if (entry.IsFile()) { in RemoveAllDirInner()
303 for (const auto &iter : entry.GetChilds()) { in RemoveAllDirInner()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/utils/
DHapUtils.java77 JarEntry entry = inputJar.getJarEntry(configFile); in checkCompressNativeLibs() local
78 if (entry == null) { in checkCompressNativeLibs()
81 try (InputStream data = inputJar.getInputStream(entry)) { in checkCompressNativeLibs()
82 … String jsonString = new String(InputStreamUtils.toByteArray(data, (int) entry.getSize()), in checkCompressNativeLibs()
107 for (Map.Entry<String, JsonElement> entry : curJsonObject.entrySet()) { in checkCompressNativeLibs()
108 if (entry.getValue().isJsonObject()) { in checkCompressNativeLibs()
109 queue.offer(entry.getValue().getAsJsonObject()); in checkCompressNativeLibs()
/developtools/smartperf_host/ide/src/hdc/hdcclient/
DAsyncQueue.ts25 public push(entry: T): boolean {
26 if (entry == null) {
29 this.eleArray.unshift(entry);
/developtools/profiler/host/smartperf/client/client_ui/
DBUILD.gn17 hap_profile = "entry/src/main/module.json"
30 source_dir = "entry/src/main/ets"
40 sources = [ "entry/src/main/resources" ]
42 hap_profile = "entry/src/main/module.json"
/developtools/hdc/hdc_rust/src/cffi/
Dusb_util.cpp30 struct dirent *entry = nullptr; in GetDevPath() local
31 while ((entry = ::readdir(dir))) { in GetDevPath()
32 if (*entry->d_name == '.') { in GetDevPath()
35 node = entry->d_name; in GetDevPath()
/developtools/global_resource_tool/include/
Dresource_append.h41 bool ScanSubResources(const FileEntry entry, const std::string &resourcePath,
43 bool ScanSubLimitkeyResources(const FileEntry entry, const std::string &resourcePath,
46 bool ScanLimitKey(const std::unique_ptr<FileEntry> &entry, const std::string &limitKey,
48 bool ScanFiles(const std::unique_ptr<FileEntry> &entry, const DirectoryInfo &directoryInfo,
/developtools/profiler/device/plugins/api/src/
Dplugin_watcher.cpp61 struct dirent* entry = nullptr; in ScanPlugins() local
70 entry = readdir(dir); in ScanPlugins()
71 if (!entry) { in ScanPlugins()
75 std::string fileName = entry->d_name; in ScanPlugins()
76 if (entry->d_type & DT_REG) { in ScanPlugins()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DIValueFormatter.ets35 …* @param entry the entry the value belongs to - in e.g. BarChart, this is of class BarEn…
36 * @param dataSetIndex the index of the DataSet the entry in focus belongs to
40 …getFormattedValue(value:number, entry:EntryOhos, dataSetIndex:number, viewPortHandler:ViewPortHan…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DLegendRenderer.ets164 } else { // add label to the last entry
483 * @param entry the entry to render
488 entry : LegendEntry,
491 if (entry.formColor == ColorTemplate.COLOR_SKIP ||
492 entry.formColor == ColorTemplate.COLOR_NONE ||
493 entry.formColor == 0)
496 var form : LegendForm = entry.form;
501 Number.isNaN(entry.formSize)
503 : entry.formSize);
518 circlePaint.setColor(entry.formColor);
[all …]
DBarLineScatterCandleBubbleRenderer.ets33 * minimum visible entry index
38 * maximum visible entry index
43 * range of visible entry indices
96 …* Checks if the provided entry object is in bounds for drawing considering the current animation p…
DDataRenderer.ets155 * Draws the value of the given entry by using the provided IValueFormatter.
160 * @param entry the entry the value belongs to
166 …public drawValue(formatter:IValueFormatter, value:number, entry:EntryOhos, dataSetIndex:number, x:…
170 … textPaint.setText(formatter.getFormattedValue(value, entry, dataSetIndex, this.mViewPortHandler));
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DCodeSigning.java211 for (ZipEntry entry : zip.getZipEntries()) { in computeDataSize()
212 ZipEntryHeader zipEntryHeader = entry.getZipEntryData().getZipEntryHeader(); in computeDataSize()
218 if (entry.getCentralDirectory().getOffset() == 0) { in computeDataSize()
222 dataSize = entry.getCentralDirectory().getOffset() + ZipEntryHeader.HEADER_LENGTH in computeDataSize()
262 JarEntry entry = e.nextElement(); in getNativeEntriesFromHap() local
263 if (!entry.isDirectory()) { in getNativeEntriesFromHap()
264 if (!isNativeFile(entry.getName())) { in getNativeEntriesFromHap()
267 result.add(entry.getName()); in getNativeEntriesFromHap()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DLegendEntry.ets22 * @param label The legend entry text. A `null` label will start a group.
23 * @param form The form to draw for this entry.
40 * The legend entry text.
46 * The form to draw for this entry.
DLegend.ets42 * Class representing the legend of the chart. The legend will contain one entry
163 for (let entry of this.mEntries) {
165 Number.isNaN(entry.formSize)
166 ? this.mFormSize : entry.formSize);
170 var label:string= entry.label;
192 for (let entry of this.mEntries) {
193 var label:string = entry.label;
224 var entry : LegendEntry = new LegendEntry();
225 entry.formColor = colors[i];
226 entry.label = labels[i];
[all …]

1234