HomeSort by relevance Sort by last modified time
    Searched refs:cg (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /external/libcups/cups/
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
    [all...]
usersys.c 86 static void cups_set_default_ipp_port(_cups_globals_t *cg);
115 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local
118 if (cg->encryption == (http_encryption_t)-1)
121 return (cg->encryption);
140 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local
143 return ((cg->password_cb)(prompt, NULL, NULL, NULL, cg->password_data));
168 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ local
174 return ((cg->password_cb)(prompt, http, method, resource, cg->password_data))
198 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
225 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
248 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
279 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
305 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
337 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
368 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
442 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
463 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
485 _cups_globals_t *cg = _cupsGlobals(); local
541 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
560 _cups_globals_t *cg = _cupsGlobals(); \/* Thread globals *\/ local
584 _cups_globals_t *cg = _cupsGlobals(); local
855 _cups_globals_t *cg = _cupsGlobals(); \/* Thread globals *\/ local
877 _cups_globals_t *cg = _cupsGlobals(); \/* Pointer to library globals *\/ local
    [all...]
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->lang_default
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...]
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->ppd_size_lut, &key)) == NULL
807 _cups_globals_t *cg = _cupsGlobals(); \/* Global data *\/ local
937 _cups_globals_t *cg = _cupsGlobals(); \/* Global data *\/ local
    [all...]
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->cups_datadir, cg->cups_datadir, cg->cups_datadir)
851 _cups_globals_t *cg = _cupsGlobals(); \/* Global data *\/ local
1202 _cups_globals_t *cg = _cupsGlobals(); \/* Global data *\/ local
    [all...]
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->hostent.h_length = (int)strlen(name) + 1
    [all...]
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->server) |
1071 _cups_globals_t *cg; \/* Global data *\/ local
    [all...]
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));
  /external/swiftshader/third_party/LLVM/tools/lto/
lto.cpp 198 void lto_codegen_dispose(lto_code_gen_t cg)
200 delete cg;
209 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod)
211 return cg->addModule(mod, sLastErrorString);
219 bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug)
221 return cg->setDebugInfo(debug, sLastErrorString);
229 bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model)
231 return cg->setCodePICModel(model, sLastErrorString);
237 void lto_codegen_set_cpu(lto_code_gen_t cg, const char* cpu)
239 return cg->setCpu(cpu)
    [all...]
  /toolchain/binutils/binutils-2.25/gprof/
cg_arcs.c 70 for (arc = parent->cg.children; arc; arc = arc->next_child)
144 arc->next_child = parent->cg.children;
145 parent->cg.children = arc;
148 arc->next_parent = child->cg.parents;
149 child->cg.parents = arc;
159 return left->cg.top_order - right->cg.top_order;
170 if (parent->cg.prop.fract == 0.0)
177 for (arc = parent->cg.children; arc; arc = arc->next_child)
180 if (arc->count == 0 || child == parent || child->cg.prop.fract == 0
    [all...]
cg_dfn.c 65 return child->cg.top_order != DFN_NAN && child->cg.top_order != DFN_BUSY;
75 if (child->cg.top_order == DFN_NAN)
104 if (child->cg.cyc.head != child && child->cg.cyc.head == head)
152 for (tail = head; tail->cg.cyc.next; tail = tail->cg.cyc.next)
165 if (head->cg.cyc.head != head)
167 head = head->cg.cyc.head;
175 if (child->cg.cyc.head == child
    [all...]
utils.c 92 DBG (DFNDEBUG, printf ("{%d} ", self->cg.top_order));
93 DBG (PROPDEBUG, printf ("%4.0f%% ", 100.0 * self->cg.prop.fract));
104 if (self->cg.cyc.num != 0)
106 printf (_(" <cycle %d>"), self->cg.cyc.num);
108 if (self->cg.index != 0)
110 if (self->cg.print_flag)
112 printf (" [%d]", self->cg.index);
116 printf (" (%d)", self->cg.index);
cg_print.c 121 sprintf (buf, "[%d]", cyc->cg.index);
125 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time,
126 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls);
128 if (cyc->cg.self_calls != 0)
129 printf ("+%-7lu", cyc->cg.self_calls);
133 printf (_(" <cycle %d as a whole> [%d]\n"), cyc->cg.cyc.num, cyc->cg.index);
137 CG.PROP.SELF+CG.PROP.CHILD, secondary key is NCALLS+CG.SELF_CALLS. *
    [all...]
alpha.c 103 indirect_child.cg.prop.fract = 1.0;
104 indirect_child.cg.cyc.head = &indirect_child;
mips.c 55 indirect_child.cg.prop.fract = 1.0;
56 indirect_child.cg.cyc.head = &indirect_child;
symtab.h 100 cg;
99 cg; member in struct:sym
  /external/llvm/tools/lto/
lto.cpp 146 static void lto_add_attrs(lto_code_gen_t cg) {
147 LTOCodeGenerator *CG = unwrap(cg);
156 CG->setAttr(attrs.c_str());
161 CG->setOptLevel(OptLevel - '0');
281 lto_code_gen_t cg) {
285 unwrap(cg)->getContext(), mem, length, Options, path);
316 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg,
319 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt);
342 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg);
    [all...]
  /external/llvm/include/llvm-c/
lto.h 210 * Loads an object file into the same context as \c cg. The module is safe to
219 const char *path, lto_code_gen_t cg);
372 * \c cg and \c mod must both be in the same context. See \a
379 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
385 * \c cg and \c mod must both be in the same context.
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)
    [all...]
  /external/clang/test/CodeGenCXX/
cfi-nvcall.cpp 25 // CHECK-LABEL: @cg
26 // CHECK-STRICT-LABEL: @cg
27 extern "C" void cg(C *c) { function
  /external/swiftshader/third_party/LLVM/include/llvm-c/
lto.h 205 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
214 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
222 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model);
229 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
237 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path);
243 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
252 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol);
261 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path);
273 lto_codegen_compile(lto_code_gen_t cg, size_t* length);
280 lto_codegen_compile_to_file(lto_code_gen_t cg, const char** name)
    [all...]
  /external/skia/samplecode/
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) {
110 matrix.postTranslate(0, SkIntToScalar(CGBitmapContextGetHeight(cg)));
126 // let CG allocate the pixels
127 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); variable
128 if (!cg) {
132 rec->fReleaseCtx = cg;
133 rec->fPixels = CGBitmapContextGetData(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...]
  /external/skia/src/utils/mac/
SkCreateCGImageRef.cpp 113 // here we make a ceep copy of the pixels, since CG won't take our
161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) {
167 CGContextSaveGState(cg);
168 CGContextTranslateCTM(cg, x, r.size.height + y);
169 CGContextScaleCTM(cg, 1, -1);
171 CGContextDrawImage(cg, r, img);
173 CGContextRestoreGState(cg);
199 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), local
202 return cg;
223 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent local
    [all...]
  /cts/tests/tests/systemui/src/android/systemui/cts/
ColorUtils.java 49 final float cg = (V - g) / vtemp; local
53 H = cb - cg;
57 H = 4 + cg - cr;
  /external/valgrind/none/tests/s390x/
comp-1.stdout.exp 109 cg (0, 0) --> cc = 0
110 cg (0, 1) --> cc = 1
111 cg (0, -1) --> cc = 2
112 cg (1, 0) --> cc = 2
113 cg (-1, 0) --> cc = 1
114 cg (-2, -1) --> cc = 1
115 cg (-2, -2) --> cc = 0
116 cg (-2, -3) --> cc = 2
117 cg (2, 1) --> cc = 2
118 cg (2, 2) --> cc =
    [all...]
  /external/eigen/doc/examples/
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;

Completed in 702 milliseconds

1 2 3 4 5 6