/external/clang/test/CodeGenCXX/ |
H A D | cfi-nvcall.cpp | 25 // CHECK-LABEL: @cg 26 // CHECK-STRICT-LABEL: @cg 27 extern "C" void cg(C *c) { function
|
/external/libcups/cups/ |
H A D | backend.c | 48 _cups_globals_t *cg = _cupsGlobals(); /* Global info */ local 76 return (_httpResolveURI(device_uri, cg->resolved_uri, 77 sizeof(cg->resolved_uri), options, NULL, NULL));
|
H A D | globals.c | 81 _cups_globals_t *cg; /* Pointer to global data */ local 96 if ((cg = (_cups_globals_t *)_cupsThreadGetData(cups_globals_key)) == NULL) 102 if ((cg = cups_globals_alloc()) != NULL) 103 _cupsThreadSetData(cups_globals_key, cg); 110 return (cg); 139 _cups_globals_t *cg; /* Global data */ local 155 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) 156 cups_globals_free(cg); 160 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) 161 cups_globals_free(cg); 183 _cups_globals_t *cg = malloc(sizeof(_cups_globals_t)); local 330 cups_globals_free(_cups_globals_t *cg) argument [all...] |
H A D | langprintf.c | 36 _cups_globals_t *cg; /* Global data */ local 56 cg = _cupsGlobals(); 58 if (!cg->lang_default) 59 cg->lang_default = cupsLangDefault(); 75 _cupsLangString(cg->lang_default, _("%s: %s")), 76 _cupsLangString(cg->lang_default, message), strerror(last_errno)); 84 cg->lang_default->encoding); 107 _cups_globals_t *cg; /* Global data */ local 117 cg = _cupsGlobals(); 119 if (!cg 163 _cups_globals_t *cg; /* Global data */ local 217 _cups_globals_t *cg; /* Global data */ local 262 _cups_globals_t *cg; /* Global data */ local [all...] |
H A D | debug.c | 75 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 78 return (cg->thread_id);
|
H A D | auth.c | 120 _cups_globals_t *cg; /* Global data */ local 182 cg = _cupsGlobals(); 184 if (!cg->lang_default) 185 cg->lang_default = cupsLangDefault(); 192 _cupsLangString(cg->lang_default, _("Password for %s on %s? ")), 352 _cups_globals_t *cg = _cupsGlobals(); local 355 if (!cg->lang_default) 356 cg->lang_default = cupsLangDefault(); 359 _cupsLangString(cg->lang_default, _("Password for %s on %s? ")), 653 _cups_globals_t *cg [all...] |
H A D | http-addr.c | 322 _cups_globals_t *cg = _cupsGlobals(); local 371 if (cg->need_res_init) 375 cg->need_res_init = 0; 394 cg->need_res_init = 1; 420 cg->need_res_init = 1; 678 _cups_globals_t *cg = _cupsGlobals(); local 712 cg->hostent.h_name = (char *)name; 713 cg->hostent.h_aliases = NULL; 714 cg->hostent.h_addrtype = AF_LOCAL; 715 cg [all...] |
H A D | http-addrlist.c | 466 _cups_globals_t *cg = _cupsGlobals(); local 497 if (cg->need_res_init) 501 cg->need_res_init = 0; 639 cg->need_res_init = 1; 764 cg->need_res_init = 1;
|
H A D | ppd-util.c | 145 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 194 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot,
|
H A D | request.c | 334 _cups_globals_t *cg = _cupsGlobals(); local 337 if ((http = cg->http) == NULL) 553 _cups_globals_t *cg = _cupsGlobals(); local 556 if ((http = cg->http) == NULL) 912 _cups_globals_t *cg = _cupsGlobals(); local 915 if ((http = cg->http) == NULL) 983 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 990 if (cg->http) 998 if (strcmp(cg->http->hostname, cg 1071 _cups_globals_t *cg; /* Global data */ local [all...] |
H A D | string.c | 155 _cups_globals_t *cg = _cupsGlobals(); /* Per-thread globals */ local 158 if (!cg->lang_default) 159 cg->lang_default = cupsLangDefault(); 163 if (cg->lang_default->encoding != CUPS_UTF8) 166 cupsCharsetToUTF8((cups_utf8_t *)buf, temp, (int)bufsize, cg->lang_default->encoding);
|
H A D | util.c | 334 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 341 if (_cupsUserDefault(cg->def_printer, sizeof(cg->def_printer))) 342 return (cg->def_printer); 371 strlcpy(cg->def_printer, attr->values[0].string.text, 372 sizeof(cg->def_printer)); 374 return (cg->def_printer); 443 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 673 if (n == 0 && cg->last_error >= IPP_STATUS_ERROR_BAD_REQUEST) 790 _cups_globals_t *cg local [all...] |
H A D | ipp-support.c | 1864 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 1929 snprintf(cg->ipp_unknown, sizeof(cg->ipp_unknown), "%d", enumvalue); 1930 return (cg->ipp_unknown); 2033 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 2064 sprintf(cg->ipp_unknown, "0x%04x", error); 2066 return (cg->ipp_unknown); 2121 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 2141 sprintf(cg->ipp_unknown, "0x%04x", op); 2143 return (cg 2200 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local [all...] |
H A D | language.c | 1214 _cups_globals_t *cg = _cupsGlobals(); local 1224 if (!cg->language[0]) 1229 strlcpy(cg->language, lang, sizeof(cg->language)); 1230 return (cg->language); 1297 if (_cupsAppleLocale(languageName, cg->language, sizeof(cg->language))) 1298 DEBUG_printf(("3appleLangDefault: cg->language=\"%s\"", 1299 cg->language)); 1312 if (!cg [all...] |
H A D | pwg-media.c | 571 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 585 if (!cg->leg_size_lut) 590 cg->leg_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_legacy, 598 cupsArrayAdd(cg->leg_size_lut, size); 606 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); 630 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 644 if (!cg->ppd_size_lut) 648 cg->ppd_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_ppd, NULL); 655 cupsArrayAdd(cg->ppd_size_lut, size); 663 if ((size = (pwg_media_t *)cupsArrayFind(cg 807 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 937 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local [all...] |
H A D | adminutil.c | 41 static http_status_t get_cupsd_conf(http_t *http, _cups_globals_t *cg, 44 static void invalidate_cupsd_cache(_cups_globals_t *cg); 405 _cups_globals_t *cg = _cupsGlobals(); local 448 snprintf(file, sizeof(file), "%s/drivers/pscript5.dll", cg->cups_datadir); 467 ppd, dest, cg->cups_datadir, cg->cups_datadir, 468 cg->cups_datadir, cg->cups_datadir); 492 snprintf(file, sizeof(file), "%s/drivers/cupsps6.dll", cg->cups_datadir); 503 cg 851 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 1202 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 2166 get_cupsd_conf( http_t *http, _cups_globals_t *cg, time_t last_update, char *name, size_t namesize, int *remote) argument 2266 invalidate_cupsd_cache( _cups_globals_t *cg) argument [all...] |
H A D | file.c | 1880 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ local 1887 if (!cg->stdio_files[2]) 1899 if ((cg->stdio_files[2] = cupsFileOpenFd(2, "w")) != NULL) 1900 cg->stdio_files[2]->is_stdio = 1; 1903 return (cg->stdio_files[2]); 1916 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ local 1923 if (!cg->stdio_files[0]) 1929 if ((cg->stdio_files[0] = cupsFileOpenFd(0, "r")) != NULL) 1930 cg->stdio_files[0]->is_stdio = 1; 1933 return (cg 1946 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | CallGraphSCCPass.h | 95 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} argument
|
/external/eigen/doc/examples/ |
H A D | matrixfree_cg.cpp | 95 Eigen::ConjugateGradient<MatrixReplacement, Eigen::Lower|Eigen::Upper, Eigen::IdentityPreconditioner> cg; local 96 cg.compute(A); 97 x = cg.solve(b); 98 std::cout << "CG: #iterations: " << cg.iterations() << ", estimated error: " << cg.error() << std::endl;
|
/external/skia/src/utils/mac/ |
H A D | SkCreateCGImageRef.cpp | 159 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { argument 165 CGContextSaveGState(cg); 166 CGContextTranslateCTM(cg, x, r.size.height + y); 167 CGContextScaleCTM(cg, 1, -1); 169 CGContextDrawImage(cg, r, img); 171 CGContextRestoreGState(cg); 197 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), local 200 return cg; 221 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, local 224 if (nullptr == cg) { [all...] |
/external/swiftshader/third_party/LLVM/tools/lto/ |
H A D | lto.cpp | 198 void lto_codegen_dispose(lto_code_gen_t cg) argument 200 delete cg; 209 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) argument 211 return cg->addModule(mod, sLastErrorString); 219 bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug) argument 221 return cg->setDebugInfo(debug, sLastErrorString); 229 bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) argument 231 return cg->setCodePICModel(model, sLastErrorString); 237 void lto_codegen_set_cpu(lto_code_gen_t cg, const char* cpu) argument 239 return cg 245 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path) argument 254 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char** args, int nargs) argument 265 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol) argument 276 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path) argument 291 lto_codegen_compile(lto_code_gen_t cg, size_t* length) argument 297 lto_codegen_compile_to_file(lto_code_gen_t cg, const char **name) argument 307 lto_codegen_debug_options(lto_code_gen_t cg, const char * opt) argument [all...] |
/external/mdnsresponder/mDNSPosix/ |
H A D | Identify.c | 363 CacheGroup *cg; local 365 FORALL_CACHERECORDS(slot, cg, rr) mDNS_PurgeCacheResourceRecord(m, rr);
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
H A D | toy_compiler_asm.c | 425 src_is_null(const struct codegen *cg, int idx) argument 427 const struct codegen_src *src = &cg->src[idx]; 437 translate_src_gen6(const struct codegen *cg, int idx) argument 439 const struct codegen_src *src = &cg->src[idx]; 442 ILO_DEV_ASSERT(cg->dev, 6, 8); 445 if (cg->src[0].file == GEN6_FILE_IMM) { 446 assert(!cg->src[0].absolute && !cg->src[0].negate); 449 assert(ilo_dev_gen(cg->dev) >= ILO_GEN(8) || src_is_null(cg, 597 translate_dst_region_gen6(const struct codegen *cg) argument 698 translate_dst_gen6(const struct codegen *cg) argument 712 translate_dst_gen8(const struct codegen *cg) argument 734 translate_inst_gen6(const struct codegen *cg) argument 760 translate_inst_gen8(const struct codegen *cg) argument 788 codegen_inst_gen6(const struct codegen *cg, uint32_t *code) argument 809 codegen_inst_3src_gen6(const struct codegen *cg, uint32_t *code) argument 902 codegen_validate_region_restrictions(const struct codegen *cg) argument 1031 codegen_prepare(struct codegen *cg, const struct ilo_dev *dev, const struct toy_inst *inst, int pc, int rect_linear_width) argument 1193 struct codegen cg; local [all...] |
/external/pdfium/third_party/libtiff/ |
H A D | tif_predict.c | 283 unsigned int cg = cp[1]; local 289 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); 296 unsigned int cg = cp[1]; local 303 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff);
|
/external/skia/samplecode/ |
H A D | SampleBigGradient.cpp | 95 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); variable 102 CGContextSetFillColorWithColor(cg, color); 103 CGContextFillRect(cg, CGRectMake(r.x(), r.y(), r.width(), r.height())); 107 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { argument 110 matrix.postTranslate(0, SkIntToScalar(CGBitmapContextGetHeight(cg))); 127 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); variable 128 if (!cg) { 132 rec->fReleaseCtx = cg; 133 rec->fPixels = CGBitmapContextGetData(cg); 134 rec->fRowBytes = CGBitmapContextGetBytesPerRow(cg); 136 CGContextSaveGState(cg); // balanced each time updateContext is called variable 141 CGContextRef cg = (CGContextRef)hndl; variable 143 CGContextRestoreGState(cg); variable 144 CGContextSaveGState(cg); variable [all...] |