/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; 682 _cups_globals_t *cg = _cupsGlobals(); local 716 cg->hostent.h_name = (char *)name; 717 cg->hostent.h_aliases = NULL; 718 cg->hostent.h_addrtype = AF_LOCAL; 719 cg [all...] |
H A D | http-addrlist.c | 481 _cups_globals_t *cg = _cupsGlobals(); local 512 if (cg->need_res_init) 516 cg->need_res_init = 0; 654 cg->need_res_init = 1; 779 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 | 329 _cups_globals_t *cg = _cupsGlobals(); local 332 if ((http = cg->http) == NULL) 548 _cups_globals_t *cg = _cupsGlobals(); local 551 if ((http = cg->http) == NULL) 908 _cups_globals_t *cg = _cupsGlobals(); local 911 if ((http = cg->http) == NULL) 979 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 986 if (cg->http) 994 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 | file.c | 1891 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ local 1898 if (!cg->stdio_files[2]) 1910 if ((cg->stdio_files[2] = cupsFileOpenFd(2, "w")) != NULL) 1911 cg->stdio_files[2]->is_stdio = 1; 1914 return (cg->stdio_files[2]); 1927 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ local 1934 if (!cg->stdio_files[0]) 1940 if ((cg->stdio_files[0] = cupsFileOpenFd(0, "r")) != NULL) 1941 cg->stdio_files[0]->is_stdio = 1; 1944 return (cg 1957 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ 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 | 1251 _cups_globals_t *cg = _cupsGlobals(); local 1261 if (!cg->language[0]) 1266 strlcpy(cg->language, lang, sizeof(cg->language)); 1267 return (cg->language); 1334 if (_cupsAppleLocale(languageName, cg->language, sizeof(cg->language))) 1335 DEBUG_printf(("3appleLangDefault: cg->language=\"%s\"", 1336 cg->language)); 1349 if (!cg [all...] |
H A D | pwg-media.c | 572 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 586 if (!cg->leg_size_lut) 591 cg->leg_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_legacy, 599 cupsArrayAdd(cg->leg_size_lut, size); 607 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); 631 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 645 if (!cg->ppd_size_lut) 649 cg->ppd_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_ppd, NULL); 656 cupsArrayAdd(cg->ppd_size_lut, size); 664 if ((size = (pwg_media_t *)cupsArrayFind(cg 808 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local 938 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ local [all...] |
H A D | util.c | 350 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 357 if (_cupsUserDefault(cg->def_printer, sizeof(cg->def_printer))) 358 return (cg->def_printer); 387 strlcpy(cg->def_printer, attr->values[0].string.text, 388 sizeof(cg->def_printer)); 390 return (cg->def_printer); 461 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local 691 if (n == 0 && cg->last_error >= IPP_STATUS_ERROR_BAD_REQUEST) 812 _cups_globals_t *cg local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | CallGraphSCCPass.h | 95 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} argument
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
H A D | custom_grad_test.py | 35 cg = custom_grad_impl variable 47 fx = cg.custom_gradient(f(x), g(x), x) 61 fx = cg.custom_gradient(f(x), g(x), x) 86 fz = cg.custom_gradient(f(z), g(z), z, axis=0) 113 fx = cg.custom_gradient(f(x), g(x), x) 145 fx = cg.custom_gradient(f(x), g(x), x + stop(y),
|
/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/skqp/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 | 299 unsigned int cg = cp[1]; local 305 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); 312 unsigned int cg = cp[1]; local 319 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff);
|