/developtools/ace-js2bundle/ace-loader/plugin/templater/ |
D | content.js | 36 if (path.parent && path.node.type === "Identifier") { 38 if (['ConditionalExpression', 'BinaryExpression'].includes(path.parent.type) || 39 path.parent.type === 'CallExpression' && path.parent.callee === path.node) { 42 …else if (path.parent.type === "ObjectProperty" && !path.parent.computed && path.parent.value === p… 46 flag = addPrefix(path.node, path.parent) 66 function addPrefix(node, parent) { argument 69 let keyArr = Object.keys(parent) 72 if (parent[attrArr1[i]] === node || ['expressions', 'elements'].includes(attrArr1[i]) && 73 parent[attrArr1[i]].includes(node)) { 76 if('arguments' === attrArr1[i] && parent.arguments[0].type === 'Identifier') { [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/layout/chartview/ |
D | ProfilerScrollbar.java | 51 private final ProfilerChartsView parent; field in ProfilerScrollbar 73 public ProfilerScrollbar(ProfilerChartsView parent) { in ProfilerScrollbar() argument 74 this.parent = parent; in ProfilerScrollbar() 83 if (parent == null) { in initBar() 93 moveScopeWidth = parent.getWidth(); in initBar() 149 if (moveScopeWidth == (barWidth + newLocationX) && !parent.isStop()) { in dragEvent() 154 if (!parent.isStop()) { in dragEvent() 167 parent.getPublisher().restartRefresh(); in setRestartRefresh() 168 parent.setPause(false); in setRestartRefresh() 175 parent.getPublisher().pauseRefresh(); in setPauseRefresh() [all …]
|
D | MonitorItemInterface.java | 31 void init(ProfilerChartsView bottomPanel, ItemsView parent, ProfilerMonitorItem item); in init() argument
|
/developtools/ace-js2bundle/ace-loader/src/ |
D | genBin-plugin.js | 73 const parent = path.join(output, '..') 74 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 75 mkDir(parent) 86 const parent = path.join(path_, '..') 87 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) { 88 mkDir(parent) 112 const parent = path.join(lastFilePath, '..') 113 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 114 mkDir(parent)
|
D | genAbc-plugin.js | 147 const parent = path.join(output, '..'); 148 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 149 mkDir(parent); 166 const parent = path.join(path_, '..'); 167 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) { 168 mkDir(parent);
|
D | resource-plugin.js | 41 const parent = path.join(output, '..'); 42 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 43 mkDir(parent); 90 const parent = path.join(file, '..'); 91 const parent_ = path.join(parent, '..'); 92 if (path.parse(parent).name === 'i18n' && path.parse(parent_).name === 'share') {
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/distributed/ |
D | IDistributedData.java | 48 default void expandAll(JTree tree, TreePath parent, boolean expand) { in expandAll() argument 49 if (parent.getLastPathComponent() instanceof TreeNode) { in expandAll() 50 TreeNode node = (TreeNode) parent.getLastPathComponent(); in expandAll() 56 TreePath path = parent.pathByAddingChild(treeNode); in expandAll() 62 tree.expandPath(parent); in expandAll() 64 tree.collapsePath(parent); in expandAll()
|
/developtools/ace-ets2bundle/compiler/src/ |
D | gen_abc_plugin.ts | 108 let parent: string = path.join(output, '..'); 109 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 110 mkDir(parent); 121 parent = path.join(cacheOutputPath, '..'); 122 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 123 mkDir(parent); 138 const parent: string = path.join(path_, '..'); constant 139 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) { 140 mkDir(parent); 311 let parent = path.join(hashJsonPath, '..'); [all …]
|
D | utils.ts | 197 const parent: string = path.join(outputFile, '..'); constant 198 if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) { 199 mkDir(parent); 216 const parent: string = path.join(path_, '..'); constant 217 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) { 218 mkDir(parent); 241 const parent: string = path.join(filePath, '..'); constant 242 if (!(fs.existsSync(parent) && !fs.statSync(parent).isFile())) { 243 mkDir(parent);
|
D | process_component_class.ts | 338 stateObjectCollection.has(node.name.escapedText.toString()) && node.parent && 339 ts.isCallExpression(node.parent) && ts.isPropertyAccessExpression(node.parent.expression) && 340 node.parent.expression.name.escapedText.toString() !== FOREACH_GET_RAW_OBJECT) { 403 if (node.parent.parent.expression && ts.isIdentifier(node.parent.parent.expression) && 404 !BUILDIN_STYLE_NAMES.has(node.parent.parent.expression.escapedText.toString()) && 406 node.parent.parent.expression.escapedText.toString())) { 408 } else if (ts.isPropertyAccessExpression(node.parent.parent.expression) && 409 ts.isIdentifier(node.parent.parent.expression.expression) && 411 node.parent.parent.expression.name.escapedText.toString())) { 420 node.parent && ts.isObjectLiteralExpression(node.parent) && node.parent.parent && [all …]
|
D | ets_checker.ts | 193 value.parent = value.parent || []; 194 value.parent.push(path.resolve(containingFile)); 195 value.parent = [...new Set(value.parent)]; 197 cache[file] = { mtimeMs, children: [], parent: [containingFile], error }; 202 parent: cache[path.resolve(containingFile)] && cache[path.resolve(containingFile)].parent ? 203 cache[path.resolve(containingFile)].parent : [], error }; 321 …if (!INNER_COMPONENT_NAMES.has(parentComponentName) && node.parent && node.parent.statements && in… 322 …node.parent.statements[index - 1].expression && node.parent.statements[index - 1].expression.expre… 323 parentComponentName = node.parent.statements[index - 1].expression.expression.escapedText;
|
D | process_ui_syntax.ts | 150 node = createCustomDialogController(node.parent, node, transformLog.errors); 164 const tempParent: ts.Node = node.parent; 166 if (!node.parent && node.original) { 168 node.parent = node.original.parent; 175 node.parent = tempParent; 180 function createCustomDialogController(parent: ts.Expression, node: ts.NewExpression, 186 … item = processCustomDialogControllerPropertyAssignment(parent, item as ts.PropertyAssignment); 217 function processCustomDialogControllerPropertyAssignment(parent: ts.Expression, 221 processCustomDialogControllerBuilder(parent, node.initializer)); 225 function processCustomDialogControllerBuilder(parent: ts.Expression, [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/applicationtrace/bean/ |
D | TreeNodeToTree.java | 51 protected abstract void addChildrens(T node, T parent); in addChildrens() argument 71 T parent = newMap.get(getParentId(tree)); in listToTree() local 72 if (parent != null) { in listToTree() 73 addChildrens(tree, parent); in listToTree()
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/charts/tooltip/ |
D | LegendTooltip.java | 162 …public void showTip(JComponent parent, String timeline, String totalValue, List<TooltipItem> toolt… in showTip() argument 164 if (parent != null && parent.getRootPane() != null) { in showTip() 168 rebuild(parent); in showTip() 185 private void rebuild(JComponent parent) { in rebuild() argument 186 parentRootPane = parent.getRootPane(); in rebuild() 309 … public void showThreadStatusTip(JComponent parent, String timeline, ChartDataModel chartDataModel, in showThreadStatusTip() argument 311 if (parent != null && parent.getRootPane() != null) { in showThreadStatusTip() 314 rebuild(parent); in showThreadStatusTip() 391 …public void showGpuTip(JComponent parent, String timeline, List<TooltipItem> tooltipItems, boolean… in showGpuTip() argument 392 if (parent != null && parent.getRootPane() != null) { in showGpuTip() [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/ |
D | SpProbesConfig.ts | 56 let parent = this.shadowRoot?.querySelector('.user-events') as Element 57 …const siblingNode = parent?.querySelectorAll<LitCheckBox>(`lit-check-box[name=userEvents][checked]… 130 let parent = this.shadowRoot?.querySelector('.user-events') as Element 142 … const nodes = parent?.querySelectorAll<LitCheckBox>(`lit-check-box[name=userEvents]`); 153 parent.append(litCheckBox) 253 let parent = this.shadowRoot?.querySelector('.user-events') as Element 254 const siblingNode = parent?.querySelectorAll<LitCheckBox>(`lit-check-box[name=userEvents]`);
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/common/treetable/ |
D | FilterTreeTableModel.java | 162 public int getChildCount(Object parent) { in getChildCount() argument 163 int realCount = super.getChildCount(parent); in getChildCount() 170 Object childObject = super.getChild(parent, index); in getChildCount() 189 public Object getChild(Object parent, int index) { in getChild() argument 191 return ((TreeNode) parent).getChildAt(index); in getChild() 194 for (int count = 0; count < super.getChildCount(parent); count++) { in getChild() 196 Object childObject = super.getChild(parent, count); in getChild()
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/layout/chartview/memory/nativehook/ |
D | NativeHookTreeTableRowSorter.java | 65 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortDescTree() 66 Enumeration<TreeNode> children = parent.children(); in sortDescTree() 74 parent.removeAllChildren(); in sortDescTree() 75 childs.stream().sorted(condition).collect(Collectors.toList()).forEach(parent::add); in sortDescTree() 100 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortTree() 101 Enumeration<TreeNode> children = parent.children(); in sortTree() 109 parent.removeAllChildren(); in sortTree() 110 … childs.stream().sorted(condition.reversed()).collect(Collectors.toList()).forEach(parent::add); in sortTree()
|
D | NativeHookTreeTableModel.java | 161 public int getChildCount(Object parent) { in getChildCount() argument 162 int realCount = super.getChildCount(parent); in getChildCount() 169 Object childObject = super.getChild(parent, index); in getChildCount() 197 public Object getChild(Object parent, int index) { in getChild() argument 199 return ((TreeNode) parent).getChildAt(index); in getChild() 202 for (int count = 0; count < super.getChildCount(parent); count++) { in getChild() 204 Object childObject = super.getChild(parent, count); in getChild()
|
D | NativeHookTreeTablePanel.java | 307 DefaultMutableTreeNode parent = null; in updateParentUserObject() local 310 parent = (DefaultMutableTreeNode) object; in updateParentUserObject() 312 Object parentUserObject = parent.getUserObject(); in updateParentUserObject() 323 parent.setUserObject(parNode); in updateParentUserObject() 324 updateParentUserObject(parent, childNodeUserObject); in updateParentUserObject() 336 DefaultMutableTreeNode parent = null; in updateParentByAddInstance() local 339 parent = (DefaultMutableTreeNode) object; in updateParentByAddInstance() 341 Object parentUserObject = parent.getUserObject(); in updateParentByAddInstance() 355 parent.setUserObject(parNode); in updateParentByAddInstance() 356 updateParentByAddInstance(parent, nativeInstance); in updateParentByAddInstance()
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/layout/chartview/memory/heapdump/ |
D | HeapDumpTreeTableRowSorter.java | 66 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortDescTree() 67 Enumeration<TreeNode> children = parent.children(); in sortDescTree() 75 parent.removeAllChildren(); in sortDescTree() 76 childs.stream().sorted(condition).collect(Collectors.toList()).forEach(parent::add); in sortDescTree() 101 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortTree() 102 Enumeration<TreeNode> children = parent.children(); in sortTree() 110 parent.removeAllChildren(); in sortTree() 111 … childs.stream().sorted(condition.reversed()).collect(Collectors.toList()).forEach(parent::add); in sortTree()
|
/developtools/profiler/host/smartperf/ide/src/base-ui/radiobox/ |
D | LitRadioBox.ts | 22 private parent: LitRadioGroup | undefined | null property in LitRadioBox 199 this.parent = this.group || this.getRootNode(); 204 const siblingNode = this.parent?.querySelector(selector) as LitRadioBox;
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/applicationtrace/analysis/ |
D | TreeTableRowSorter.java | 82 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortDescTree() 83 Enumeration<TreeNode> children = parent.children(); in sortDescTree() 91 parent.removeAllChildren(); in sortDescTree() 93 .forEach(parent::add); in sortDescTree() 118 Consumer<DefaultMutableTreeNode> sort = parent -> { in sortTree() 119 Enumeration<TreeNode> children = parent.children(); in sortTree() 127 parent.removeAllChildren(); in sortTree() 129 .forEach(parent::add); in sortTree()
|
D | FlameChart.java | 309 JBScrollPane parent = (JBScrollPane) getParent().getParent(); in translation() local 310 int width = parent.getViewport().getVisibleRect().width; in translation() 312 JScrollBar jsBar = parent.getHorizontalScrollBar(); in translation() 331 JBScrollPane parent = (JBScrollPane) getParent().getParent(); in scale() local 332 visibleWidth = parent.getViewport().getVisibleRect().width; in scale() 333 JScrollBar jsBar = parent.getHorizontalScrollBar(); in scale() 353 JBScrollPane parent = (JBScrollPane) getParent().getParent(); in scrollToBottom() local 354 JScrollBar jsBar = parent.getVerticalScrollBar(); in scrollToBottom()
|
/developtools/global_resource_tool/src/ |
D | config_parser.cpp | 310 bool ConfigParser::ParseRefImpl(Json::Value &parent, const std::string &key, Json::Value &node) in ParseRefImpl() argument 315 return ParseJsonArrayRef(parent, key, node); in ParseRefImpl() 330 return ParseJsonStringRef(parent, key, node); in ParseRefImpl() 335 bool ConfigParser::ParseJsonArrayRef(Json::Value &parent, const string &key, Json::Value &node) in ParseJsonArrayRef() argument 354 parent[key + "Id"] = array; in ParseJsonArrayRef() 358 bool ConfigParser::ParseJsonStringRef(Json::Value &parent, const string &key, Json::Value &node) in ParseJsonStringRef() argument 371 parent[key + "Id"] = atoi(value.c_str()); in ParseJsonStringRef()
|
/developtools/global_resource_tool/include/ |
D | config_parser.h | 65 bool ParseRefImpl(Json::Value &parent, const std::string &key, Json::Value &node); 66 bool ParseJsonArrayRef(Json::Value &parent, const std::string &key, Json::Value &node); 67 bool ParseJsonStringRef(Json::Value &parent, const std::string &key, Json::Value &node);
|