/external/libcups/cups/ |
D | globals.c | 79 _cups_globals_t *cg; /* Pointer to global data */ in _cupsGlobals() local 94 if ((cg = (_cups_globals_t *)_cupsThreadGetData(cups_globals_key)) == NULL) in _cupsGlobals() 100 if ((cg = cups_globals_alloc()) != NULL) in _cupsGlobals() 101 _cupsThreadSetData(cups_globals_key, cg); in _cupsGlobals() 108 return (cg); in _cupsGlobals() 137 _cups_globals_t *cg; /* Global data */ in DllMain() local 153 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) in DllMain() 154 cups_globals_free(cg); in DllMain() 158 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) in DllMain() 159 cups_globals_free(cg); in DllMain() [all …]
|
D | usersys.c | 102 static void cups_set_default_ipp_port(_cups_globals_t *cg); 133 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsEncryption() local 136 if (cg->encryption == (http_encryption_t)-1) in cupsEncryption() 139 return (cg->encryption); in cupsEncryption() 160 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetPassword() local 163 return ((cg->password_cb)(prompt, NULL, NULL, NULL, cg->password_data)); in cupsGetPassword() 188 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetPassword2() local 194 return ((cg->password_cb)(prompt, http, method, resource, cg->password_data)); in cupsGetPassword2() 218 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsServer() local 221 if (!cg->server[0]) in cupsServer() [all …]
|
D | langprintf.c | 31 _cups_globals_t *cg; /* Global data */ in _cupsLangPrintError() local 51 cg = _cupsGlobals(); in _cupsLangPrintError() 53 if (!cg->lang_default) in _cupsLangPrintError() 54 cg->lang_default = cupsLangDefault(); in _cupsLangPrintError() 70 _cupsLangString(cg->lang_default, _("%s: %s")), in _cupsLangPrintError() 71 _cupsLangString(cg->lang_default, message), strerror(last_errno)); in _cupsLangPrintError() 79 cg->lang_default->encoding); in _cupsLangPrintError() 102 _cups_globals_t *cg; /* Global data */ in _cupsLangPrintFilter() local 112 cg = _cupsGlobals(); in _cupsLangPrintFilter() 114 if (!cg->lang_default) in _cupsLangPrintFilter() [all …]
|
D | adminutil.c | 31 static http_status_t get_cupsd_conf(http_t *http, _cups_globals_t *cg, 34 static void invalidate_cupsd_cache(_cups_globals_t *cg); 110 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ in cupsAdminGetServerSettings() local 123 if (cg->http) in cupsAdminGetServerSettings() 131 if (strcmp(cg->http->hostname, cg->server) || in cupsAdminGetServerSettings() 132 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in cupsAdminGetServerSettings() 133 (cg->http->encryption != cg->encryption && in cupsAdminGetServerSettings() 134 cg->http->encryption == HTTP_ENCRYPTION_NEVER)) in cupsAdminGetServerSettings() 140 httpClose(cg->http); in cupsAdminGetServerSettings() 141 cg->http = NULL; in cupsAdminGetServerSettings() [all …]
|
D | pwg-media.c | 569 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ in pwgMediaForLegacy() local 583 if (!cg->leg_size_lut) in pwgMediaForLegacy() 588 cg->leg_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_legacy, in pwgMediaForLegacy() 596 cupsArrayAdd(cg->leg_size_lut, size); in pwgMediaForLegacy() 604 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); in pwgMediaForLegacy() 628 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ in pwgMediaForPPD() local 642 if (!cg->ppd_size_lut) in pwgMediaForPPD() 646 cg->ppd_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_ppd, NULL); in pwgMediaForPPD() 653 cupsArrayAdd(cg->ppd_size_lut, size); in pwgMediaForPPD() 661 if ((size = (pwg_media_t *)cupsArrayFind(cg->ppd_size_lut, &key)) == NULL) in pwgMediaForPPD() [all …]
|
D | request.c | 324 _cups_globals_t *cg = _cupsGlobals(); in cupsGetResponse() local 327 if ((http = cg->http) == NULL) in cupsGetResponse() 543 _cups_globals_t *cg = _cupsGlobals(); in cupsReadResponseData() local 546 if ((http = cg->http) == NULL) in cupsReadResponseData() 915 _cups_globals_t *cg = _cupsGlobals(); in cupsWriteRequestData() local 918 if ((http = cg->http) == NULL) in cupsWriteRequestData() 986 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in _cupsConnect() local 993 if (cg->http) in _cupsConnect() 1001 if (strcmp(cg->http->hostname, cg->server) || in _cupsConnect() 1003 …(httpAddrFamily(cg->http->hostaddr) != AF_LOCAL && cg->ipp_port != httpAddrPort(cg->http->hostaddr… in _cupsConnect() [all …]
|
D | http-addr.c | 320 _cups_globals_t *cg = _cupsGlobals(); in httpAddrLookup() local 369 if (cg->need_res_init) in httpAddrLookup() 373 cg->need_res_init = 0; in httpAddrLookup() 392 cg->need_res_init = 1; in httpAddrLookup() 418 cg->need_res_init = 1; in httpAddrLookup() 680 _cups_globals_t *cg = _cupsGlobals(); in httpGetHostByName() local 714 cg->hostent.h_name = (char *)name; in httpGetHostByName() 715 cg->hostent.h_aliases = NULL; in httpGetHostByName() 716 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName() 717 cg->hostent.h_length = (int)strlen(name) + 1; in httpGetHostByName() [all …]
|
D | raster-error.c | 28 _cups_globals_t *cg = _cupsGlobals(); in _cupsRasterAddError() local 30 _cups_raster_error_t *buf = &cg->raster_error; in _cupsRasterAddError() 98 _cups_globals_t *cg = _cupsGlobals(); in _cupsRasterClearError() local 100 _cups_raster_error_t *buf = &cg->raster_error; in _cupsRasterClearError() 122 _cups_globals_t *cg = _cupsGlobals(); in _cupsRasterErrorString() local 124 _cups_raster_error_t *buf = &cg->raster_error; in _cupsRasterErrorString()
|
D | util.c | 328 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetDefault2() local 335 if (_cupsUserDefault(cg->def_printer, sizeof(cg->def_printer))) in cupsGetDefault2() 336 return (cg->def_printer); in cupsGetDefault2() 365 strlcpy(cg->def_printer, attr->values[0].string.text, in cupsGetDefault2() 366 sizeof(cg->def_printer)); in cupsGetDefault2() 368 return (cg->def_printer); in cupsGetDefault2() 439 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetJobs2() local 669 if (n == 0 && cg->last_error >= IPP_STATUS_ERROR_BAD_REQUEST) in cupsGetJobs2() 790 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ in cupsPrintFiles2() local 875 cancel_status = cg->last_error; in cupsPrintFiles2() [all …]
|
/external/llvm/tools/lto/ |
D | lto.cpp | 146 static void lto_add_attrs(lto_code_gen_t cg) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 147 LTOCodeGenerator *CG = unwrap(cg); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 281 lto_code_gen_t cg) { in lto_module_create_in_codegen_context() argument 285 unwrap(cg)->getContext(), mem, length, Options, path); in lto_module_create_in_codegen_context() 316 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, in lto_codegen_set_diagnostic_handler() argument 319 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt); in lto_codegen_set_diagnostic_handler() 342 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); } in lto_codegen_dispose() argument 344 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) { in lto_codegen_add_module() argument 345 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module() 348 void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod) { in lto_codegen_set_module() argument [all …]
|
/external/llvm-project/llvm/tools/lto/ |
D | lto.cpp | 159 static void lto_add_attrs(lto_code_gen_t cg) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 160 LTOCodeGenerator *CG = unwrap(cg); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 300 lto_code_gen_t cg) { in lto_module_create_in_codegen_context() argument 305 unwrap(cg)->getContext(), mem, length, Options, StringRef(path)); in lto_module_create_in_codegen_context() 357 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, in lto_codegen_set_diagnostic_handler() argument 360 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt); in lto_codegen_set_diagnostic_handler() 383 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); } in lto_codegen_dispose() argument 385 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) { in lto_codegen_add_module() argument 386 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module() 389 void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod) { in lto_codegen_set_module() argument [all …]
|
/external/llvm-project/llvm/include/llvm-c/ |
D | lto.h | 219 const char *path, lto_code_gen_t cg); 394 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 405 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); 414 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); 423 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); 431 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); 440 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); 448 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, 459 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol); 469 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | lto.h | 219 const char *path, lto_code_gen_t cg); 379 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 390 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); 399 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); 408 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); 416 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); 425 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); 433 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, 444 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol); 454 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); [all …]
|
/external/llvm/include/llvm-c/ |
D | lto.h | 219 const char *path, lto_code_gen_t cg); 379 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 390 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); 399 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); 408 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); 416 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); 425 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); 433 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, 444 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol); 454 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); [all …]
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | ElementValueGenTestCase.java | 48 final ClassGen cg = createClassGen("HelloWorld"); in testCreateIntegerElementValue() local 49 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateIntegerElementValue() 62 final ClassGen cg = createClassGen("HelloWorld"); in testCreateFloatElementValue() local 63 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateFloatElementValue() 76 final ClassGen cg = createClassGen("HelloWorld"); in testCreateDoubleElementValue() local 77 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateDoubleElementValue() 90 final ClassGen cg = createClassGen("HelloWorld"); in testCreateLongElementValue() local 91 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateLongElementValue() 104 final ClassGen cg = createClassGen("HelloWorld"); in testCreateCharElementValue() local 105 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateCharElementValue() [all …]
|
/external/llvm-project/mlir/lib/Transforms/ |
D | Inliner.cpp | 37 Operation *op, CallGraph &cg, SymbolTableCollection &symbolTable, in walkReferencedSymbolNodes() argument 56 node = cg.lookupNode(callableOp.getCallableRegion()); in walkReferencedSymbolNodes() 84 CGUseList(Operation *op, CallGraph &cg, SymbolTableCollection &symbolTable); 88 void dropCallUses(CallGraphNode *userNode, Operation *callOp, CallGraph &cg); 101 void recomputeUses(CallGraphNode *node, CallGraph &cg); 124 CGUseList::CGUseList(Operation *op, CallGraph &cg, in CGUseList() argument 135 if (auto *node = cg.lookupNode(callable.getCallableRegion())) { in CGUseList() 145 walkReferencedSymbolNodes(&op, cg, symbolTable, alwaysLiveNodes, in CGUseList() 157 for (CallGraphNode *node : cg) in CGUseList() 158 recomputeUses(node, cg); in CGUseList() [all …]
|
/external/skia/gm/ |
D | rasterhandleallocator.cpp | 97 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect() local 104 CGContextSetFillColorWithColor(cg, color); in drawRect() 105 CGContextFillRect(cg, CGRectMake(r.x(), r.y(), r.width(), r.height())); in drawRect() 109 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform() argument 112 matrix.postTranslate(0, SkIntToScalar(CGBitmapContextGetHeight(cg))); in matrix_to_transform() 129 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle() local 130 if (!cg) { in allocHandle() 134 rec->fReleaseCtx = cg; in allocHandle() 135 rec->fPixels = CGBitmapContextGetData(cg); in allocHandle() 136 rec->fRowBytes = CGBitmapContextGetBytesPerRow(cg); in allocHandle() [all …]
|
/external/skqp/samplecode/ |
D | SampleBigGradient.cpp | 93 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect() local 100 CGContextSetFillColorWithColor(cg, color); in drawRect() 101 CGContextFillRect(cg, CGRectMake(r.x(), r.y(), r.width(), r.height())); in drawRect() 105 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform() argument 108 matrix.postTranslate(0, SkIntToScalar(CGBitmapContextGetHeight(cg))); in matrix_to_transform() 125 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle() local 126 if (!cg) { in allocHandle() 130 rec->fReleaseCtx = cg; in allocHandle() 131 rec->fPixels = CGBitmapContextGetData(cg); in allocHandle() 132 rec->fRowBytes = CGBitmapContextGetBytesPerRow(cg); in allocHandle() [all …]
|
/external/apache-commons-bcel/src/examples/ |
D | id.java | 52 ClassGen cg = new ClassGen(clazz); in main() local 55 MethodGen mg = new MethodGen(method, cg.getClassName(), cg.getConstantPool()); in main() 56 cg.replaceMethod(method, mg.getMethod()); in main() 60 FieldGen fg = new FieldGen(field, cg.getConstantPool()); in main() 61 cg.replaceField(field, fg.getField()); in main() 64 cg.getJavaClass().dump(clazz.getClassName() + ".clazz"); in main()
|
D | ProxyCreator.java | 81 ClassGen cg = new ClassGen("foo", "java.lang.Object", "", Constants.ACC_PUBLIC, in main() local 85 cg.addEmptyConstructor(Constants.ACC_PUBLIC); in main() 88 ConstantPoolGen cp = cg.getConstantPool(); in main() 89 InstructionFactory factory = new InstructionFactory(cg); in main() 116 cg.addMethod(mg.getMethod()); in main() 118 byte[] bytes = cg.getJavaClass().getBytes(); in main()
|
/external/skqp/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() argument 167 CGContextSaveGState(cg); in SkCGDrawBitmap() 168 CGContextTranslateCTM(cg, x, r.size.height + y); in SkCGDrawBitmap() 169 CGContextScaleCTM(cg, 1, -1); in SkCGDrawBitmap() 171 CGContextDrawImage(cg, r, img); in SkCGDrawBitmap() 173 CGContextRestoreGState(cg); in SkCGDrawBitmap() 199 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext() local 202 return cg; in SkCreateCGContext() 223 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage() local 226 if (nullptr == cg) { in SkCopyPixelsFromCGImage() [all …]
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | GeneratingAnnotatedClassesTestCase.java | 76 final ClassGen cg = createClassGen("HelloWorld"); in testGenerateClassLevelAnnotations() local 77 cg.setMajor(49); in testGenerateClassLevelAnnotations() 78 cg.setMinor(0); in testGenerateClassLevelAnnotations() 79 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateClassLevelAnnotations() 81 cg.addAnnotationEntry(createSimpleVisibleAnnotation(cp)); in testGenerateClassLevelAnnotations() 82 cg.addAnnotationEntry(createSimpleInvisibleAnnotation(cp)); in testGenerateClassLevelAnnotations() 83 buildClassContents(cg, cp, il); in testGenerateClassLevelAnnotations() 85 dumpClass(cg, "HelloWorld.class"); in testGenerateClassLevelAnnotations() 121 final ClassGen cg = createClassGen("HelloWorld"); in testGenerateMethodLevelAnnotations1() local 122 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateMethodLevelAnnotations1() [all …]
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 136 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() argument 142 CGContextSaveGState(cg); in SkCGDrawBitmap() 143 CGContextTranslateCTM(cg, x, r.size.height + y); in SkCGDrawBitmap() 144 CGContextScaleCTM(cg, 1, -1); in SkCGDrawBitmap() 146 CGContextDrawImage(cg, r, img.get()); in SkCGDrawBitmap() 148 CGContextRestoreGState(cg); in SkCGDrawBitmap() 172 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext() local 174 return cg; in SkCreateCGContext() 195 SkUniqueCFRef<CGContextRef> cg(CGBitmapContextCreate( in SkCopyPixelsFromCGImage() local 198 if (!cg) { in SkCopyPixelsFromCGImage() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | call-graph-profile.test | 1 ## This test checks how we handle the --elf-cg-profile option. 4 # RUN: llvm-readobj %t.o --cg-profile | FileCheck %s --check-prefix=LLVM 5 # RUN: llvm-readelf %t.o --cg-profile | FileCheck %s --check-prefix=GNU 6 # RUN: llvm-readobj %t.o --elf-cg-profile | FileCheck %s --check-prefix=LLVM 7 # RUN: llvm-readelf %t.o --elf-cg-profile | FileCheck %s --check-prefix=GNU 46 # RUN: llvm-readobj %t2.o --cg-profile 2>&1 | FileCheck %s -DFILE=%t2.o --check-prefix=LLVM-ERR 47 # RUN: llvm-readelf %t2.o --cg-profile | FileCheck %s --check-prefix=GNU 55 # RUN: llvm-readobj %t3.o --cg-profile 2>&1 | FileCheck %s -DFILE=%t3.o --check-prefix=LLVM-BROKEN-… 56 # RUN: llvm-readelf %t3.o --cg-profile | FileCheck %s --check-prefix=GNU
|
/external/autotest/client/tests/npb/ |
D | control | 15 # cg.A cg.B cg.C cg.S cg.W
|