| /developtools/packing_tool/adapter/ohos/ |
| D | CommandParser.java | 95 commandFuncs.put(CMD_MODE, entry -> { in initCommandFuncs() 96 entry.getKey().setMode(entry.getValue()); in initCommandFuncs() 99 commandFuncs.put(CMD_JSON_PATH, entry -> { in initCommandFuncs() 100 entry.getKey().setJsonPath(entry.getValue()); in initCommandFuncs() 103 commandFuncs.put(CMD_PROFILE_PATH, entry -> { in initCommandFuncs() 104 entry.getKey().setProfilePath(entry.getValue()); in initCommandFuncs() 107 commandFuncs.put(CMD_INDEX_PATH, entry -> { in initCommandFuncs() 108 entry.getKey().setIndexPath(entry.getValue()); in initCommandFuncs() 111 commandFuncs.put(CMD_JS_PATH, entry -> { in initCommandFuncs() 112 entry.getKey().setJsPath(entry.getValue()); in initCommandFuncs() [all …]
|
| D | FileUtils.java | 217 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 …]
|
| D | Uncompress.java | 211 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/global_resource_tool/ |
| D | README_zh.md | 47 | --dependEntry | 可缺省 | 带参数 | FA模型下单独编译feature时,指定entry模块的编译结果目录。 | 51 例如:entry目录结构如下 53 entry/src/main 66 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTab… 73 restool -x entry/src/main/resource -o out 77 restool -i out1 -i out2 -o out -p com.ohos.demo -r out/ResourceTable.txt -j entry/src/main/module.j… 88 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTab… 93 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out1 -r out1/ResourceT…
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
| D | Zip.java | 144 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 …]
|
| D | ZipEntryData.java | 86 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/src/ |
| D | resource_append.cpp | 75 FileEntry entry(folderPath); in Combine() local 76 if (!entry.Init()) { in Combine() 81 for (const auto &child : entry.GetChilds()) { in Combine() 122 FileEntry entry(resourcePath); in ScanResources() local 123 if (!entry.Init()) { in ScanResources() 127 if (entry.IsFile()) { in ScanResources() 131 return ScanSubResources(entry, resourcePath, outputPath); in ScanResources() 134 bool ResourceAppend::ScanSubResources(const FileEntry entry, const string &resourcePath, const stri… in ScanSubResources() argument 137 if (KeyParser::Parse(entry.GetFilePath().GetFilename(), keyParams)) { in ScanSubResources() 138 for (const auto &child : entry.GetChilds()) { in ScanSubResources() [all …]
|
| D | file_entry.cpp | 86 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/ |
| D | HapUtils.java | 77 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/ |
| D | AsyncQueue.ts | 25 public push(entry: T): boolean { 26 if (entry == null) { 29 this.eleArray.unshift(entry);
|
| /developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/ |
| D | AsyncQueue.ts | 25 public push(entry: T): boolean { 26 if (entry == null) { 29 this.eleArray.unshift(entry);
|
| /developtools/profiler/host/smartperf/client/client_ui/ |
| D | BUILD.gn | 17 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/global_resource_tool/include/ |
| D | resource_append.h | 41 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/ |
| D | plugin_watcher.cpp | 61 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/ |
| D | IValueFormatter.ets | 35 …* @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/ |
| D | LegendRenderer.ets | 164 } 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 …]
|
| D | BarLineScatterCandleBubbleRenderer.ets | 33 * 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…
|
| D | DataRenderer.ets | 155 * 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/ |
| D | CodeSigning.java | 211 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/ |
| D | LegendEntry.ets | 22 * @param label The legend entry text. A `null` label will start a group. 23 * @param form The form to draw for this entry. 42 * The legend entry text. 48 * The form to draw for this entry.
|
| D | Legend.ets | 42 * 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 …]
|
| /developtools/ace_ets2bundle/compiler/ |
| D | main.js | 152 projectConfig.entryObj['./' + sourcePath] = fileName + '?entry'; 273 …throw Error('\u001b[31m' + `BUIDERROR: not find entry file in ${rootPackageJsonPath}.` + '\u001b[3… 323 projectConfig.entryObj[`./${entryFileName}`] = entryFilePath + '?entry'; 388 projectConfig.entryObj[entryPageKey] = projectAbilityPath + '?entry';
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/ |
| D | EntryOhos.ets | 22 * Class representing one entry in the chart. Might contain multiple values. 54 * returns an exact copy of the entry 89 * returns a string representation of the entry containing x-index and value
|
| /developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
| D | printk_formats_parser_test.cpp | 175 for (auto& entry : PrintkFormatsParser::GetInstance().printkFormats_) { variable 176 uint64_t addr = entry.first; 177 std::string symbol = entry.second;
|
| /developtools/profiler/device/services/plugin_service/src/ |
| D | plugin_session_manager.cpp | 98 for (auto& entry : tmpPluginSessions) { in CreatePluginSessions() local 99 pluginSessions_.insert(entry); in CreatePluginSessions() 118 for (auto& entry : tmpPluginSessions) { in CreatePluginSessions() local 119 pluginSessions_.insert(entry); in CreatePluginSessions()
|