/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | reloadProjects.ts | 25 …function verifyFileUpdates(host: TestServerHost, service: TestProjectService, project: server.Proj… 31 service.reloadProjects(); 37 service.reloadProjects(); 39 assert.isUndefined(service.getScriptInfo(file2.path)); 44 const service = createProjectService(host); constant 45 service.setHostConfiguration({ watchOptions: { excludeFiles: [file2.path] } }); 46 service.openClientFile(file1.path); 47 checkNumberOfProjects(service, { configuredProjects: 1 }); 48 const project = service.configuredProjects.get(configFile.path)!; 55 service.reloadProjects(); [all …]
|
D | documentRegistry.ts | 17 function getProject(service: TestProjectService) { 18 return service.configuredProjects.get(configFile.path)!; 21 function checkProject(service: TestProjectService, moduleIsOrphan: boolean) { 23 const project = getProject(service); 26 const moduleInfo = service.getScriptInfo(moduleFile.path)!; 29 …const key = service.documentRegistry.getKeyForCompilationSettings(project.getCompilationSettings()… 30 …assert.deepEqual(service.documentRegistry.getLanguageServiceRefCounts(moduleInfo.path, moduleInfo.… 35 const service = createProjectService(host); constant 36 service.openClientFile(file.path); 37 checkProject(service, /*moduleIsOrphan*/ false); [all …]
|
D | dynamicFiles.ts | 2 export function verifyDynamic(service: server.ProjectService, path: string) { 3 … info = Debug.checkDefined(service.filenameToScriptInfo.get(path), `Expected ${path} in :: ${JSON.… 74 const service = createProjectService(host); constant 75 …service.openClientFile(untitledFile, "const x = 10;", /*scriptKind*/ undefined, tscWatch.projectRo… 76 checkNumberOfProjects(service, { inferredProjects: 1 }); 77 checkProjectActualFiles(service.inferredProjects[0], [untitledFile, libFile.path]); 78 verifyDynamic(service, `${tscWatch.projectRoot}/${untitledFile}`); 86 …service.openClientFile(untitled.path, untitled.content, /*scriptKind*/ undefined, tscWatch.project… 87 checkNumberOfProjects(service, { configuredProjects: 1, inferredProjects: 1 }); 88 …checkProjectActualFiles(service.configuredProjects.get(config.path)!, [untitled.path, libFile.path… [all …]
|
D | projectsWithReferences.ts | 14 const service = createProjectService(host, { logger }); constant 15 service.openClientFile(testsIndex.path); 31 baselineTsserverLogs("projectsWithReferences", "sample project", service); 81 … const service = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) }); constant 82 service.openClientFile(cTs.path); 83 return { host, service, aConfig, bConfig, cConfig, aTs, bTs, cTs, refsTs }; 87 const { host, service, bTs } = createService(); constant 88 checkNumberOfProjects(service, { configuredProjects: 1 }); 93 …selineTsserverLogs("projectsWithReferences", "transitive references with non local edit", service); 97 const { host, service, cConfig, refsTs } = createService(); constant [all …]
|
D | configFileSearch.ts | 13 const service = createProjectService(host); constant 14 … service.openClientFile(f1.path, /*fileContent*/ undefined, /*scriptKind*/ undefined, "/a"); 16 checkNumberOfConfiguredProjects(service, 0); 17 checkNumberOfInferredProjects(service, 1); 19 service.closeClientFile(f1.path); 20 service.openClientFile(f1.path); 21 checkNumberOfConfiguredProjects(service, 1); 22 checkNumberOfInferredProjects(service, 0); 41 … const service = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) }); constant 42 … service.openClientFile(f1.path, /*fileContent*/ undefined, /*scriptKind*/ undefined, projectDir); [all …]
|
D | telemetry.ts | 6 et.service.openClientFile(file.path); 16 et.service.openClientFile(file.path); 19 et.service.closeClientFile(file.path); 20 checkNumberOfProjects(et.service, { configuredProjects: 1 }); 22 et.service.openClientFile(file2.path); 23 checkNumberOfProjects(et.service, { inferredProjects: 1 }); 27 et.service.openClientFile(file.path); 28 checkNumberOfProjects(et.service, { configuredProjects: 1, inferredProjects: 1 }); 40 et.service.openClientFile(files[0].path); 71 et.service.closeClientFile(file1.path); [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ICUServiceTest.java | 77 public SortedMap getDisplayNames(ICUService service) { in getDisplayNames() argument 80 return service.getDisplayNames(locale, col, null); in getDisplayNames() 88 public SortedMap getDisplayNames(ICUService service, ULocale locale) { in getDisplayNames() argument 90 return service.getDisplayNames(locale, col, null); in getDisplayNames() 97 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { in getDisplayNames() argument 99 return service.getDisplayNames(locale, col, matchID); in getDisplayNames() 117 ICUService service = new TestService(); in TestAPI() local 119 logln("service name:" + service.getName()); in TestAPI() 125 service.registerObject(singleton0, "en_US"); in TestAPI() 126 Object result = service.get("en_US_FOO"); in TestAPI() [all …]
|
D | ICUServiceThreadTest.java | 76 public static SortedMap getDisplayNames(ICUService service, ULocale locale) { in getDisplayNames() argument 85 return service.getDisplayNames(locale, col, null); in getDisplayNames() 122 protected ICUService service; field in ICUServiceThreadTest.TestThread 125 public TestThread(String name, ICUService service, long delay) { in TestThread() argument 127 this.service = service; in TestThread() 197 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument 198 super("REG " + name, service, delay); in RegisterFactoryThread() 204 service.registerFactory(f); in iterate() 213 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument 214 super("UNREG " + name, service, delay); in UnregisterFactoryThread() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTest.java | 74 public SortedMap getDisplayNames(ICUService service) { in getDisplayNames() argument 77 return service.getDisplayNames(locale, col, null); in getDisplayNames() 85 public SortedMap getDisplayNames(ICUService service, ULocale locale) { in getDisplayNames() argument 87 return service.getDisplayNames(locale, col, null); in getDisplayNames() 94 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { in getDisplayNames() argument 96 return service.getDisplayNames(locale, col, matchID); in getDisplayNames() 114 ICUService service = new TestService(); in TestAPI() local 116 logln("service name:" + service.getName()); in TestAPI() 122 service.registerObject(singleton0, "en_US"); in TestAPI() 123 Object result = service.get("en_US_FOO"); in TestAPI() [all …]
|
D | ICUServiceThreadTest.java | 73 public static SortedMap getDisplayNames(ICUService service, ULocale locale) { in getDisplayNames() argument 82 return service.getDisplayNames(locale, col, null); in getDisplayNames() 119 protected ICUService service; field in ICUServiceThreadTest.TestThread 122 public TestThread(String name, ICUService service, long delay) { in TestThread() argument 124 this.service = service; in TestThread() 194 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument 195 super("REG " + name, service, delay); in RegisterFactoryThread() 201 service.registerFactory(f); in iterate() 210 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument 211 super("UNREG " + name, service, delay); in UnregisterFactoryThread() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | fttype1.c | 32 FT_Service_PsInfo service; in FT_Get_PS_Font_Info() local 41 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Info() 43 if ( service && service->ps_get_font_info ) in FT_Get_PS_Font_Info() 44 error = service->ps_get_font_info( face, afont_info ); in FT_Get_PS_Font_Info() 58 FT_Service_PsInfo service; in FT_Has_PS_Glyph_Names() local 63 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Has_PS_Glyph_Names() 65 if ( service && service->ps_has_glyph_names ) in FT_Has_PS_Glyph_Names() 66 result = service->ps_has_glyph_names( face ); in FT_Has_PS_Glyph_Names() 80 FT_Service_PsInfo service; in FT_Get_PS_Font_Private() local 89 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Private() [all …]
|
D | ftmm.c | 100 FT_Service_MultiMasters service; in FT_Get_Multi_Master() local 108 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 112 if ( service->get_mm ) in FT_Get_Multi_Master() 113 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 127 FT_Service_MultiMasters service; in FT_Get_MM_Var() local 135 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 139 if ( service->get_mm_var ) in FT_Get_MM_Var() 140 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() 174 FT_Service_MultiMasters service; in FT_Set_MM_Design_Coordinates() local 182 error = ft_face_get_mm_service( face, &service ); in FT_Set_MM_Design_Coordinates() [all …]
|
D | ftcid.c | 42 FT_Service_CID service; in FT_Get_CID_Registry_Ordering_Supplement() local 45 FT_FACE_FIND_SERVICE( face, service, CID ); in FT_Get_CID_Registry_Ordering_Supplement() 47 if ( service && service->get_ros ) in FT_Get_CID_Registry_Ordering_Supplement() 48 error = service->get_ros( face, &r, &o, &s ); in FT_Get_CID_Registry_Ordering_Supplement() 74 FT_Service_CID service; in FT_Get_CID_Is_Internally_CID_Keyed() local 77 FT_FACE_FIND_SERVICE( face, service, CID ); in FT_Get_CID_Is_Internally_CID_Keyed() 79 if ( service && service->get_is_cid ) in FT_Get_CID_Is_Internally_CID_Keyed() 80 error = service->get_is_cid( face, &ic); in FT_Get_CID_Is_Internally_CID_Keyed() 101 FT_Service_CID service; in FT_Get_CID_From_Glyph_Index() local 104 FT_FACE_FIND_SERVICE( face, service, CID ); in FT_Get_CID_From_Glyph_Index() [all …]
|
D | ftpfr.c | 28 FT_Service_PfrMetrics service = NULL; in ft_pfr_check() local 32 FT_FACE_LOOKUP_SERVICE( face, service, PFR_METRICS ); in ft_pfr_check() 34 return service; in ft_pfr_check() 48 FT_Service_PfrMetrics service; in FT_Get_PFR_Metrics() local 54 service = ft_pfr_check( face ); in FT_Get_PFR_Metrics() 55 if ( service ) in FT_Get_PFR_Metrics() 57 error = service->get_metrics( face, in FT_Get_PFR_Metrics() 104 FT_Service_PfrMetrics service; in FT_Get_PFR_Kerning() local 113 service = ft_pfr_check( face ); in FT_Get_PFR_Kerning() 114 if ( service ) in FT_Get_PFR_Kerning() [all …]
|
/third_party/openssl/doc/man3/ |
D | BIO_parse_hostserv.pod | 7 - utility routines to parse a standard host and service string 16 int BIO_parse_hostserv(const char *hostserv, char **host, char **service, 22 create strings with the hostname and service name and give those 23 back via B<host> and B<service>. Those will need to be freed after 25 be interpreted primarily as a hostname or a service name in ambiguous 30 host + ':' + service 33 ':' + service 34 '*' + ':' + service 36 service 41 The service part can be a service name or its port number. A service name [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | decoratorMetadataWithImportDeclarationNameCollision4.symbols | 10 === tests/cases/compiler/service.ts === 12 >db : Symbol(db, Decl(service.ts, 0, 6)) 15 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 16 >target : Symbol(target, Decl(service.ts, 1, 23)) 19 >target : Symbol(target, Decl(service.ts, 1, 23)) 22 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 25 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 28 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 29 >db : Symbol(db, Decl(service.ts, 0, 6)) 33 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision.symbols | 10 === tests/cases/compiler/service.ts === 12 >db : Symbol(db, Decl(service.ts, 0, 8)) 15 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 24)) 16 >target : Symbol(target, Decl(service.ts, 1, 23)) 19 >target : Symbol(target, Decl(service.ts, 1, 23)) 22 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 24)) 25 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 28 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 29 >db : Symbol(db, Decl(service.ts, 0, 8)) 32 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision6.symbols | 10 === tests/cases/compiler/service.ts === 12 >database : Symbol(database, Decl(service.ts, 0, 6)) 15 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28)) 16 >target : Symbol(target, Decl(service.ts, 1, 23)) 19 >target : Symbol(target, Decl(service.ts, 1, 23)) 22 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28)) 25 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 28 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 29 >database : Symbol(database, Decl(service.ts, 0, 6)) 32 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision2.symbols | 10 === tests/cases/compiler/service.ts === 13 >Database : Symbol(Database, Decl(service.ts, 0, 8)) 16 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 36)) 17 >target : Symbol(target, Decl(service.ts, 1, 23)) 20 >target : Symbol(target, Decl(service.ts, 1, 23)) 23 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 36)) 26 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 29 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 30 >Database : Symbol(Database, Decl(service.ts, 0, 8)) 33 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision5.symbols | 10 === tests/cases/compiler/service.ts === 12 >db : Symbol(db, Decl(service.ts, 0, 6)) 15 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 16 >target : Symbol(target, Decl(service.ts, 1, 23)) 19 >target : Symbol(target, Decl(service.ts, 1, 23)) 22 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 25 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 28 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 29 >db : Symbol(db, Decl(service.ts, 0, 6)) 32 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision8.symbols | 1 === tests/cases/compiler/service.ts === 3 >database : Symbol(database, Decl(service.ts, 0, 0)) 6 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 34)) 7 >target : Symbol(target, Decl(service.ts, 1, 23)) 10 >target : Symbol(target, Decl(service.ts, 1, 23)) 13 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 34)) 16 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 19 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 20 >database : Symbol(database, Decl(service.ts, 0, 0)) 24 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision3.symbols | 1 === tests/cases/compiler/service.ts === 3 >db : Symbol(db, Decl(service.ts, 0, 0)) 6 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28)) 7 >target : Symbol(target, Decl(service.ts, 1, 23)) 10 >target : Symbol(target, Decl(service.ts, 1, 23)) 13 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28)) 16 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 19 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 20 >db : Symbol(db, Decl(service.ts, 0, 0)) 24 >db : Symbol(db, Decl(service.ts, 8, 16)) [all …]
|
D | decoratorMetadataWithImportDeclarationNameCollision7.symbols | 10 === tests/cases/compiler/service.ts === 12 >db : Symbol(db, Decl(service.ts, 0, 6)) 15 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 16 >target : Symbol(target, Decl(service.ts, 1, 23)) 19 >target : Symbol(target, Decl(service.ts, 1, 23)) 22 >someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 22)) 25 >MyClass : Symbol(MyClass, Decl(service.ts, 3, 1)) 28 >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) 33 >db : Symbol(db, Decl(service.ts, 8, 16)) 38 >this.db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) [all …]
|
D | crashIntypeCheckObjectCreationExpression.types | 5 public injectRequestService<P0, P1, P2>(service: P0) { 6 >injectRequestService : <P0, P1, P2>(service: P0) => void 7 >service : P0 9 this.injectBuildService<number>(new X(service)); 10 >this.injectBuildService<number>(new X(service)) : void 11 >this.injectBuildService : <P0>(service: P0) => void 13 >injectBuildService : <P0>(service: P0) => void 14 >new X(service) : any 16 >service : P0 18 public injectBuildService<P0>(service: P0) { [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | icusvtst.cpp | 330 TestIntegerService service; in testAPI_One() local 337 service.registerInstance(singleton0, "en_US", status); in testAPI_One() 340 Integer* result = (Integer*)service.get("en_US_FOO", status); in testAPI_One() 349 service.registerInstance(singleton1, "en_US_FOO", status); in testAPI_One() 352 Integer* result = (Integer*)service.get("en_US_FOO", status); in testAPI_One() 360 Integer* result = (Integer*)service.get("en_US_BAR", status); in testAPI_One() 367 confirmIdentical("4) factory size", service.countFactories(), 2); in testAPI_One() 372 service.registerInstance(singleton2, "en", status); in testAPI_One() 374 confirmIdentical("5) factory size", service.countFactories(), 3); in testAPI_One() 382 Integer* result = (Integer*)service.get("en_US_BAR", status); in testAPI_One() [all …]
|