Home
last modified time | relevance | path

Searched refs:shim (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/node/deps/npm/test/lib/utils/
Dlog-shim.js19 const shim = makeShim() constant
21 t.match(shim, {
39 t.match(Object.keys(shim).sort(), [
67 const shim = makeShim({ npmlog, 'proc-log': procLog }) constant
69 t.equal(shim.level, 'woo', 'can get a property')
73 [shim.level, npmlog.level],
78 shim.level = 'test'
80 [shim.level, npmlog.level],
85 t.ok(shim.enableColor(), 'can call method on shim to call npmlog')
86 t.equal(shim.silly(), 'SILLY', 'can call method on proclog')
[all …]
/third_party/vulkan-loader/tests/framework/shim/
DCMakeLists.txt18 add_library(shim-common STATIC shim_common.cpp)
19 target_link_libraries(shim-common PUBLIC testing_framework_util)
20 target_include_directories(shim-common PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DI…
21 set_target_properties(shim-common ${LOADER_STANDARD_CXX_PROPERTIES})
25 target_include_directories(shim-common PUBLIC ${CMAKE_SOURCE_DIR}/loader)
26 target_link_libraries(shim-common PRIVATE cfgmgr32)
28 add_library(shim-library SHARED windows_shim.cpp)
29 target_link_libraries(shim-library PRIVATE detours cfgmgr32)
33 add_library(shim-library SHARED unix_shim.cpp)
35 add_library(shim-library STATIC unix_shim.cpp)
[all …]
/third_party/typescript/src/harness/
DharnessLanguageService.ts420 constructor(private shim: ts.ClassifierShim) {
426 …const result = this.shim.getClassificationsForLine(text, lexState, classifyKeywordsInGenerics).spl…
463 constructor(private shim: ts.LanguageServiceShim) {
466 this.shim.cleanupSemanticCache();
469 return unwrapJSONCallResult(this.shim.getSyntacticDiagnostics(fileName));
472 return unwrapJSONCallResult(this.shim.getSemanticDiagnostics(fileName));
475 return unwrapJSONCallResult(this.shim.getSuggestionDiagnostics(fileName));
478 return unwrapJSONCallResult(this.shim.getCompilerOptionsDiagnostics());
481 …return unwrapJSONCallResult(this.shim.getSyntacticClassifications(fileName, span.start, span.lengt…
484 …return unwrapJSONCallResult(this.shim.getSemanticClassifications(fileName, span.start, span.length…
[all …]
/third_party/node/deps/npm/node_modules/bin-links/lib/
Dcheck-bin.js58 await Promise.all(shims.map(async shim => {
59 const current = await readCmdShim(shim)
60 .catch(er => handleReadCmdShimError({ er, target: shim }))
66 const resolved = resolve(dirname(shim), current.replace(/\\/g, '/'))
Dshim-bin.js40 for (const shim of shims) {
41 if (seen.has(shim)) {
44 seen.add(shim)
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCurrency.java146 private static ServiceShim shim; field in Currency
152 if (shim == null) { in getShim()
155 shim = (ServiceShim)cls.newInstance(); in getShim()
164 return shim; in getShim()
187 if (shim == null) { in getInstance()
191 return shim.createInstance(locale); in getInstance()
357 if (shim == null) { in unregister()
360 return shim.unregister(registryKey); in unregister()
369 if (shim == null) { in getAvailableLocales()
372 return shim.getAvailableLocales(); in getAvailableLocales()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java154 private static ServiceShim shim; field in Currency
160 if (shim == null) { in getShim()
163 shim = (ServiceShim)cls.newInstance(); in getShim()
172 return shim; in getShim()
197 if (shim == null) { in getInstance()
201 return shim.createInstance(locale); in getInstance()
379 if (shim == null) { in unregister()
382 return shim.unregister(registryKey); in unregister()
392 if (shim == null) { in getAvailableLocales()
395 return shim.getAvailableLocales(); in getAvailableLocales()
[all …]
/third_party/typescript/tests/baselines/reference/
DimportTypeLocal.js40 export let shim: typeof import("./foo2") = { variable
61 exports.shim = exports.Bar2 = exports.y = exports.x = void 0;
70 exports.shim = {
110 export declare let shim: typeof import("./foo2");
DimportTypeLocalMissing.js41 export let shim: typeof import("./fo2") = { variable
62 exports.shim = exports.Bar2 = exports.z = exports.y = exports.x = void 0;
72 exports.shim = {
113 export declare let shim: typeof import("./fo2");
DimportTypeGenericTypes.js43 export let shim: typeof import("./foo2") = { variable
64 exports.shim = exports.Bar2 = exports.y = exports.x = void 0;
73 exports.shim = {
121 export declare let shim: typeof import("./foo2");
DimportTypeAmbient.js39 let shim: typeof import("foo2") = { variable
52 var shim = { variable
93 declare let shim: typeof import("foo2");
DimportTypeLocal.symbols85 export let shim: typeof import("./foo2") = {
86 >shim : Symbol(shim, Decl(usage.ts, 8, 10))
DimportTypeAmbient.symbols88 let shim: typeof import("foo2") = {
89 >shim : Symbol(shim, Decl(importTypeAmbient.ts, 37, 3))
DimportTypeLocalMissing.symbols89 export let shim: typeof import("./fo2") = {
90 >shim : Symbol(shim, Decl(usage.ts, 9, 10))
DimportTypeAmbient.types81 let shim: typeof import("foo2") = {
82 >shim : typeof import("foo2")
/third_party/mesa3d/docs/drivers/
Dpanfrost.rst59 drm-shim
62 Panfrost implements ``drm-shim``, stubbing out the Panfrost kernel interface.
73 To build Mesa with Panfrost drm-shim, configure meson with
74 ``-Dgallium-drivers=panfrost`` and ``-Dtools=drm-shim``. See the above
75 building section for a full invocation. The drm-shim binary will be built to
76 ``build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so``.
78 To use, set the ``LD_PRELOAD`` environment variable to the drm-shim binary. It
82 By default, drm-shim mocks a Mali-G52 system. To select a specific Mali GPU,
101 …rs LIBGL_DRIVERS_PATH=~/lib/dri/ LD_PRELOAD=~/mesa/build/src/panfrost/drm-shim/libpanfrost_noop_dr…
105 …rs LIBGL_DRIVERS_PATH=~/lib/dri/ LD_PRELOAD=~/mesa/build/src/panfrost/drm-shim/libpanfrost_noop_dr…
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java600 private static ServiceShim shim; field in Collator
606 if (shim == null) { in getShim()
609 shim = (ServiceShim)cls.newInstance(); in getShim()
626 return shim; in getShim()
902 if (shim == null) { in unregister()
905 return shim.unregister(registryKey); in unregister()
918 if (shim == null) { in getAvailableLocales()
922 return shim.getAvailableLocales(); in getAvailableLocales()
934 if (shim == null) { in getAvailableULocales()
938 return shim.getAvailableULocales(); in getAvailableULocales()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollator.java570 private static ServiceShim shim; field in Collator
576 if (shim == null) { in getShim()
579 shim = (ServiceShim)cls.newInstance(); in getShim()
596 return shim; in getShim()
870 if (shim == null) { in unregister()
873 return shim.unregister(registryKey); in unregister()
885 if (shim == null) { in getAvailableLocales()
889 return shim.getAvailableLocales(); in getAvailableLocales()
900 if (shim == null) { in getAvailableULocales()
904 return shim.getAvailableULocales(); in getAvailableULocales()
DBreakIterator.java819 if (shim != null) { in unregister()
827 return shim.unregister(key); in unregister()
916 private static BreakIteratorServiceShim shim; field in BreakIterator
922 if (shim == null) { in getShim()
925 shim = (BreakIteratorServiceShim)cls.newInstance(); in getShim()
940 return shim; in getShim()
DNumberFormat.java972 private static NumberFormatShim shim; field in NumberFormat
978 if (shim == null) { in getShim()
981 shim = (NumberFormatShim)cls.newInstance(); in getShim()
993 return shim; in getShim()
1001 if (shim == null) { in getAvailableLocales()
1013 if (shim == null) { in getAvailableULocales()
1051 if (shim == null) { in unregister()
1055 return shim.unregister(registryKey); in unregister()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBreakIterator.java865 if (shim != null) { in unregister()
873 return shim.unregister(key); in unregister()
962 private static BreakIteratorServiceShim shim; field in BreakIterator
968 if (shim == null) { in getShim()
971 shim = (BreakIteratorServiceShim)cls.newInstance(); in getShim()
986 return shim; in getShim()
DNumberFormat.java1041 private static NumberFormatShim shim; field in NumberFormat
1047 if (shim == null) { in getShim()
1050 shim = (NumberFormatShim)cls.newInstance(); in getShim()
1062 return shim; in getShim()
1071 if (shim == null) { in getAvailableLocales()
1083 if (shim == null) { in getAvailableULocales()
1121 if (shim == null) { in unregister()
1125 return shim.unregister(registryKey); in unregister()
/third_party/mesa3d/src/drm-shim/
DREADME.md1 # DRM shim - Fake GEM kernel drivers in userspace for CI
20 You choose the backend by setting `LD_PRELOAD` to the shim you want.
25 shim initialized on.
34 See your drm-shim backend's README for details on how to use it.
/third_party/node/deps/npm/test/bin/
Dwindows-shims.js9 const readNonJsFiles = (dir) => readdirSync(dir).reduce((acc, shim) => {
10 const p = join(dir, shim)
12 acc[shim] = readFileSync(p, 'utf-8')
/third_party/skia/third_party/externals/icu/
Dshim_headers.gypi5 # This file is meant to be included into a target to handle shim headers
57 'message': 'Generating <(_target_name) shim headers',

1234