/external/perfetto/ui/src/frontend/ |
D | publish.ts | 32 globals, 44 if (!globals.overviewStore.has(key)) { 45 globals.overviewStore.set(key, []); 48 globals.overviewStore.get(key)!.push(...value); 50 globals.overviewStore.get(key)!.push(value); 53 globals.rafScheduler.scheduleRedraw(); 57 globals.setTrackData(args.id, args.data); 59 const data = globals.trackDataStore.get(LogExistsKey) as LogExists; 60 if (data && data.exists) globals.rafScheduler.scheduleFullRedraw(); 62 globals.rafScheduler.scheduleRedraw(); [all …]
|
D | keyboard_event_handler.ts | 20 import {Flow, globals} from './globals'; 42 const selection = globals.state.currentSelection; 50 globals.dispatch(Actions.toggleMarkCurrentArea({persistent: e.shiftKey})); 59 globals.dispatch(Actions.toggleSidebar({})); 69 globals.frontendLocalState.deselectArea(); 70 globals.makeSelection(Actions.deselect({})); 71 globals.dispatch(Actions.removeNote({id: '0'})); 87 globals.frontendLocalState.togglePivotTable(); 89 if (globals.state.pivotTable[pivotTableId] === undefined) { 90 globals.dispatch(Actions.addNewPivotTable({ [all …]
|
D | topbar.ts | 21 import {globals} from './globals'; 50 globals.rafScheduler.scheduleFullRedraw(); 56 globals.rafScheduler.scheduleFullRedraw(); 72 globals.dispatch(Actions.deleteQuery({queryId: 'command'})); 76 globals.rafScheduler.scheduleFullRedraw(); 80 globals.dispatch(Actions.executeQuery( 93 const msgTTL = globals.state.status.timestamp + 1 - Date.now() / 1e3; 95 for (const engine of Object.values(globals.state.engines)) { 101 () => globals.rafScheduler.scheduleFullRedraw(), msgTTL * 1000); 104 m(`input[placeholder=${globals.state.status.msg}][readonly]`, { [all …]
|
D | search_handler.ts | 19 import {globals} from './globals'; 24 globals.dispatch(Actions.setSearchIndex({index})); 29 Math.min(current + 1, globals.currentSearchResults.totalResults - 1); 30 globals.dispatch(Actions.setSearchIndex({index})); 34 const index = globals.state.searchIndex; 35 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 36 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 37 const currentTs = globals.currentSearchResults.tsStarts[index]; 44 searchSegment(globals.currentSearchResults.tsStarts, endNs); 49 globals.dispatch(Actions.setSearchIndex({index: smaller})); [all …]
|
D | track_panel.ts | 23 import {globals} from './globals'; 35 return globals.state.pinnedTracks.indexOf(id) !== -1; 39 const selection = globals.state.currentSelection; 41 const selectedArea = globals.state.areas[selection.areaId]; 64 const searchIndex = globals.state.searchIndex; 66 const trackId = globals.currentSearchResults.trackIds[searchIndex]; 98 globals.dispatch( 105 globals.state.currentSelection !== null && 106 globals.state.currentSelection.kind === 'AREA' ? 109 globals.dispatch(Actions.toggleTrackSelection( [all …]
|
D | track_group_panel.ts | 26 import {globals} from './globals'; 59 const engine = globals.engines.get(engineId); 67 return assertExists(globals.state.trackGroups[this.trackGroupId]); 71 return assertExists(globals.state.tracks[this.trackGroupState.tracks[0]]); 84 const searchIndex = globals.state.searchIndex; 86 const trackId = globals.currentSearchResults.trackIds[searchIndex]; 87 const parentTrackId = getContainingTrackId(globals.state, trackId); 93 const selection = globals.state.currentSelection; 95 const trackGroup = globals.state.trackGroups[attrs.trackGroupId]; 98 const selectedArea = globals.state.areas[selection.areaId]; [all …]
|
D | viewer_page.ts | 22 import {globals} from './globals'; 41 const selection = globals.state.currentSelection; 45 const area = globals.frontendLocalState.selectedArea ? 46 globals.frontendLocalState.selectedArea : 47 globals.state.areas[selection.areaId]; 48 const start = globals.frontendLocalState.timeScale.timeToPx(area.startSec); 49 const end = globals.frontendLocalState.timeScale.timeToPx(area.endSec); 73 const frontendLocalState = globals.frontendLocalState; 87 globals.rafScheduler.scheduleFullRedraw(); 101 const traceTime = globals.state.traceTime; [all …]
|
D | notes_panel.ts | 24 import {globals} from './globals'; 40 return globals.state.areas[note.areaId].startSec; 52 globals.rafScheduler.scheduleRedraw(); 56 globals.rafScheduler.scheduleRedraw(); 60 globals.dispatch(Actions.setHoveredNoteTimestamp({ts: -1})); 65 const allCollapsed = Object.values(globals.state.trackGroups) 81 globals.dispatch( 92 const timeScale = globals.frontendLocalState.timeScale; 93 const range = globals.frontendLocalState.visibleWindowTime; 105 for (const note of Object.values(globals.state.notes)) { [all …]
|
D | flow_events_panel.ts | 20 import {Flow, globals} from './globals'; 41 const selection = globals.state.currentSelection; 47 const uiTrackId = globals.state.uiTrackIdByTraceTrackId[trackId]; 49 globals.makeSelection( 58 globals.connectedFlows.filter(flow => flow.category).length > 0; 79 globals.connectedFlows.forEach(flow => { 90 onmousemove: () => globals.dispatch( 93 globals.dispatch(Actions.setHighlightedSliceId({sliceId: -1})), 126 const selection = globals.state.currentSelection; 146 globals.selectedFlows.forEach(flow => { [all …]
|
D | index.ts | 36 import {globals} from './globals'; 76 globals.state = this.state; 81 globals.frontendLocalState.mergeState(this.state.frontendLocalState); 87 globals.rafScheduler.scheduleFullRedraw(); 122 globals.dispatch(Actions.setExtensionAvailable({ 182 css.href = globals.root + 'perfetto.css'; 186 if (favicon) favicon.href = globals.root + 'assets/favicon.png'; 194 script.onerror = () => globals.logging.initialize(); 195 script.onload = () => globals.logging.initialize(); 196 setTimeout(() => globals.logging.initialize(), 5000); [all …]
|
D | sidebar.ts | 27 import {globals} from './globals'; 115 globals.dispatch(Actions.executeQuery({ 126 globals.dispatch(Actions.addDebugTrack({ 127 engineId: Object.keys(globals.state.engines)[0], 188 isPending: () => globals.getConversionJobStatus('create_permalink') === 213 isPending: () => globals.getConversionJobStatus('open_in_legacy') === 220 isPending: () => globals.getConversionJobStatus('convert_json') === 229 isVisible: () => globals.hasFtrace, 230 isPending: () => globals.getConversionJobStatus('convert_systrace') === 344 globals.dispatch(Actions.updateStatus({ [all …]
|
D | scroll_helper.ts | 19 import {globals} from './globals'; 28 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 29 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 33 globals.frontendLocalState.updateVisibleTime(new TimeSpan( 43 const visibleDur = globals.frontendLocalState.visibleWindowTime.end - 44 globals.frontendLocalState.visibleWindowTime.start; 50 const viewStartNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 51 const viewEndNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 54 globals.frontendLocalState.updateVisibleTime( 77 const trackGroupId = getContainingTrackId(globals.state, trackIdString); [all …]
|
D | trace_url_handler.ts | 21 import {globals} from './globals'; 30 globals.dispatch(Actions.loadPermalink({hash: route.args.s})); 96 if (traceUuid === globals.state.traceUuid) { 114 for (const eng of Object.values(globals.state.engines)) { 126 `#!/viewer?local_cache_key=${globals.state.traceUuid || ''}`); 153 if (globals.state.traceUuid === undefined) { 154 globals.dispatch(Actions.openTraceFromBuffer(maybeTrace)); 175 `Old trace: ${globals.state.traceUuid || '<no trace>'}\n` + 185 globals.dispatch(Actions.openTraceFromBuffer(maybeTrace)); 213 globals.dispatch(Actions.openTraceFromFile({ [all …]
|
D | record_page.ts | 44 import {globals} from './globals'; 141 const cfg = globals.state.recordConfig; 149 const traceCfg = produce(globals.state.recordConfig, draft => { 152 globals.dispatch(Actions.setRecordConfig({config: traceCfg})); 158 m(`img[src=${globals.root}assets/${img}]`), 217 if (globals.isInternalUser) { 393 globals.state.recordConfig.hpContinuousDumpsInterval === 0 ? 399 disabled: globals.state.recordConfig.hpContinuousDumpsInterval === 0, 471 globals.state.recordConfig.jpContinuousDumpsInterval === 0 ? 477 disabled: globals.state.recordConfig.jpContinuousDumpsInterval === 0, [all …]
|
D | details_panel.ts | 33 import {globals} from './globals'; 62 const data = globals.trackDataStore.get(LogExistsKey) as LogExists; 93 globals.rafScheduler.scheduleFullRedraw(); 145 globals.rafScheduler.scheduleFullRedraw(); 165 globals.dispatch(Actions.setCurrentTab({tab: tab.key})); 180 globals.rafScheduler.scheduleFullRedraw(); 201 globals.rafScheduler.scheduleFullRedraw(); 220 const curSelection = globals.state.currentSelection; 244 if (globals.flamegraphDetails.isInAreaSelection) { 313 if (globals.queryResults.has('command')) { [all …]
|
D | record_widgets.ts | 23 import {globals} from './globals'; 66 const traceCfg = produce(globals.state.recordConfig, draft => { 69 globals.dispatch(Actions.setRecordConfig({config: traceCfg})); 72 const enabled = attrs.isEnabled(globals.state.recordConfig); 77 src: `${globals.root}assets/${attrs.img}`, 124 const traceCfg = produce(globals.state.recordConfig, draft => { 127 globals.dispatch(Actions.setRecordConfig({config: traceCfg})); 130 const enabled = attrs.isEnabled(globals.state.recordConfig); 166 const traceCfg = produce(globals.state.recordConfig, draft => { 169 globals.dispatch(Actions.setRecordConfig({config: traceCfg})); [all …]
|
D | flamegraph_panel.ts | 31 import {globals} from './globals'; 87 const flamegraphDetails = globals.flamegraphDetails; 115 globals.rafScheduler.scheduleRedraw(); 173 if (!graphIncomplete || globals.state.flamegraphModalDismissed) { 196 globals.dispatch(Actions.dismissFlamegraphModal({})); 197 globals.rafScheduler.scheduleFullRedraw(); 221 const viewingOption = globals.state.currentFlamegraphState!.viewingOption; 238 globals.dispatch(Actions.changeFocusFlamegraphState({ 251 const engine = Object.values(globals.state.engines)[0]; 266 const data = globals.flamegraphDetails; [all …]
|
D | panel_container.ts | 24 import {globals} from './globals'; 115 const area = globals.frontendLocalState.selectedArea; 117 globals.frontendLocalState.areaY.start === undefined || 118 globals.frontendLocalState.areaY.end === undefined || 127 if (globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT < 129 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT > 137 globals.frontendLocalState.timeScale.timeToPx(area.startSec), 138 globals.frontendLocalState.timeScale.timeToPx(area.endSec), 139 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT, 140 globals.frontendLocalState.areaY.end + TOPBAR_HEIGHT); [all …]
|
D | logs_panel.ts | 28 import {globals} from './globals'; 54 globals.dispatch(Actions.updateLogsPagination({ 66 this.bounds = globals.trackDataStore.get(LogBoundsKey) as LogBounds; 67 this.entries = globals.trackDataStore.get(LogEntriesKey) as LogEntries; 72 this.bounds = globals.trackDataStore.get(LogBoundsKey) as LogBounds; 73 this.entries = globals.trackDataStore.get(LogEntriesKey) as LogEntries; 80 globals.rafScheduler.scheduleFullRedraw(); 84 globals.dispatch(Actions.setHoveredLogsTimestamp({ts})); 88 globals.dispatch(Actions.setHoveredLogsTimestamp({ts: -1})); 97 const vis = globals.frontendLocalState.visibleWindowTime; [all …]
|
/external/freetype/src/autofit/ |
D | afglobal.c | 126 af_face_globals_compute_style_coverage( AF_FaceGlobals globals ) in af_face_globals_compute_style_coverage() argument 129 FT_Face face = globals->face; in af_face_globals_compute_style_coverage() 131 FT_UShort* gstyles = globals->glyph_styles; in af_face_globals_compute_style_coverage() 138 for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) in af_face_globals_compute_style_coverage() 172 globals->module->default_script ) in af_face_globals_compute_style_coverage() 186 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage() 197 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage() 215 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage() 226 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage() 235 af_shaper_get_coverage( globals, style_class, gstyles, 0 ); in af_face_globals_compute_style_coverage() [all …]
|
/external/libcxxabi/src/ |
D | cxa_exception.cpp | 260 __cxa_eh_globals *globals = __cxa_get_globals(); in __cxa_throw() local 269 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local in __cxa_throw() 314 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_begin_cleanup() local 322 exception_header->nextPropagatingException = globals->propagatingExceptions; in __cxa_begin_cleanup() 323 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup() 331 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup() 333 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup() 355 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_end_cleanup_impl() local 356 __cxa_exception* exception_header = globals->propagatingExceptions; in __cxa_end_cleanup_impl() 369 globals->propagatingExceptions = exception_header->nextPropagatingException; in __cxa_end_cleanup_impl() [all …]
|
/external/perfetto/ui/src/controller/ |
D | permalink_controller.ts | 33 import {globals} from './globals'; 44 if (globals.state.permalink.requestId === undefined || 45 globals.state.permalink.requestId === this.lastRequestId) { 48 const requestId = assertExists(globals.state.permalink.requestId); 52 if (globals.state.permalink.hash === undefined) { 54 assertExists(globals.state.permalink.isRecordingConfig); 64 globals.dispatch(Actions.setPermalink({requestId, hash})); 76 PermalinkController.loadState(globals.state.permalink.hash) 84 globals.dispatch(Actions.setRecordConfig({config: validConfig})); 88 globals.dispatch(Actions.setState({newState: stateOrConfig})); [all …]
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 41 psh_globals_scale_widths( PSH_Globals globals, in psh_globals_scale_widths() argument 44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths() 619 psh_globals_destroy( PSH_Globals globals ) in psh_globals_destroy() argument 621 if ( globals ) in psh_globals_destroy() 626 memory = globals->memory; in psh_globals_destroy() 627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy() 628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy() 630 globals->blues.normal_top.count = 0; in psh_globals_destroy() 631 globals->blues.normal_bottom.count = 0; in psh_globals_destroy() 632 globals->blues.family_top.count = 0; in psh_globals_destroy() [all …]
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 22 import {globals} from '../../frontend/globals'; 55 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 74 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 98 const threadInfo = globals.threads.get(utid); 101 const isHovering = globals.state.hoveredUtid !== -1; 102 const isThreadHovered = globals.state.hoveredUtid === utid; 103 const isProcessHovered = globals.state.hoveredPid === pid; 150 const selection = globals.state.currentSelection; 151 const details = globals.sliceDetails; 158 const color = colorForThread(globals.threads.get(utid)); [all …]
|
/external/python/cpython3/Tools/c-analyzer/ |
D | README | 8 * globals used exclusively in main or in the REPL 14 The ignored-globals.txt file is organized similarly. Of the different 25 globals. Unlike the other globals, the runtime state represents a set 31 Consequently, the globals for Python's runtime state have been 32 consolidated under a single top-level _PyRuntime global. No new globals 34 _PyRuntimeState or one of its sub-structs. The check-c-globals script 35 should be run to ensure that no new globals have been added: 37 python3 Tools/c-analyzer/check-c-globals.py 43 If it reports any globals then they should be resolved. If the globals 45 Otherwise they should be added to ignored-globals.txt.
|