Home
last modified time | relevance | path

Searched refs:co (Results 1 – 25 of 777) sorted by relevance

12345678910>>...32

/third_party/curl/lib/
Dcookie.c113 static void freecookie(struct Cookie *co) in freecookie() argument
115 free(co->domain); in freecookie()
116 free(co->path); in freecookie()
117 free(co->spath); in freecookie()
118 free(co->name); in freecookie()
119 free(co->value); in freecookie()
120 free(co); in freecookie()
382 struct Cookie *co, *nx; in remove_expired() local
402 co = cookies->cookies[i]; in remove_expired()
403 while(co) { in remove_expired()
[all …]
/third_party/python/Objects/
Dcodeobject.c124 PyCodeObject *co; in PyCode_NewWithPosOnlyArgs() local
231 co = PyObject_New(PyCodeObject, &PyCode_Type); in PyCode_NewWithPosOnlyArgs()
232 if (co == NULL) { in PyCode_NewWithPosOnlyArgs()
237 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs()
238 co->co_posonlyargcount = posonlyargcount; in PyCode_NewWithPosOnlyArgs()
239 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs()
240 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs()
241 co->co_stacksize = stacksize; in PyCode_NewWithPosOnlyArgs()
242 co->co_flags = flags; in PyCode_NewWithPosOnlyArgs()
244 co->co_code = code; in PyCode_NewWithPosOnlyArgs()
[all …]
Dframeobject.c603 PyCodeObject *co = f->f_code; in frame_dealloc() local
604 if (co->co_zombieframe == NULL) { in frame_dealloc()
605 co->co_zombieframe = f; in frame_dealloc()
623 Py_DECREF(co); in frame_dealloc()
1018 PyCodeObject *co; in PyFrame_FastToLocalsWithError() local
1032 co = f->f_code; in PyFrame_FastToLocalsWithError()
1033 map = co->co_varnames; in PyFrame_FastToLocalsWithError()
1042 if (j > co->co_nlocals) in PyFrame_FastToLocalsWithError()
1043 j = co->co_nlocals; in PyFrame_FastToLocalsWithError()
1044 if (co->co_nlocals) { in PyFrame_FastToLocalsWithError()
[all …]
/third_party/python/Lib/
Ddis.py155 def _format_code_info(co): argument
157 lines.append("Name: %s" % co.co_name)
158 lines.append("Filename: %s" % co.co_filename)
159 lines.append("Argument count: %s" % co.co_argcount)
160 lines.append("Positional-only arguments: %s" % co.co_posonlyargcount)
161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
162 lines.append("Number of locals: %s" % co.co_nlocals)
163 lines.append("Stack size: %s" % co.co_stacksize)
164 lines.append("Flags: %s" % pretty_flags(co.co_flags))
165 if co.co_consts:
[all …]
Dmodulefinder.py340 co = compile(fp.read(), pathname, 'exec')
348 co = marshal.loads(memoryview(data)[16:])
350 co = None
353 if co:
355 co = self.replace_paths_in_code(co)
356 m.__code__ = co
357 self.scan_code(co, m)
395 def scan_opcodes(self, co): argument
397 code = co.co_code
398 names = co.co_names
[all …]
/third_party/python/Lib/test/
Dtest_code.py150 def dump(co): argument
155 print("%s: %s" % (attr, getattr(co, "co_" + attr)))
156 print("consts:", tuple(consts(co.co_consts)))
168 co = _testcapi.code_newempty("filename", "funcname", 15)
169 self.assertEqual(co.co_filename, "filename")
170 self.assertEqual(co.co_name, "funcname")
171 self.assertEqual(co.co_firstlineno, 15)
212 co = func.__code__
213 CodeType = type(co)
216 CodeType(co.co_argcount,
[all …]
Dtest_zlib.py242 co = zlib.compressobj()
243 x1 = co.compress(data)
244 x2 = co.flush()
245 self.assertRaises(zlib.error, co.flush) # second flush should not work
261 co = zlib.compressobj(level=level,
269 co.compress(data=HAMLET_SCENE)
272 x = co.compress(HAMLET_SCENE) + co.flush()
283 co = zlib.compressobj(level, method, wbits, memLevel, strategy)
284 x1 = co.compress(HAMLET_SCENE)
285 x2 = co.flush()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c323 static int check_all_characters(checkfp_command *co, checkfp_control c);
325 static int check_some_characters(checkfp_command *co, checkfp_control c,
328 static int check_one_character(checkfp_command *co, checkfp_control c, int ch) in check_one_character() argument
344 co->number[c.cnumber++] = (char)ch; in check_one_character()
347 co->number[c.cnumber++] = '<'; in check_one_character()
348 co->number[c.cnumber++] = hexdigits[(ch >> 4) & 0xf]; in check_one_character()
349 co->number[c.cnumber++] = hexdigits[ch & 0xf]; in check_one_character()
350 co->number[c.cnumber++] = '>'; in check_one_character()
352 co->number[c.cnumber] = 0; in check_one_character()
354 if (co->verbose > 1) in check_one_character()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c43 struct etna_blend_state *co = CALLOC_STRUCT(etna_blend_state); in etna_blend_state_create() local
53 if (!co) in etna_blend_state_create()
56 co->base = *so; in etna_blend_state_create()
82 co->PE_ALPHA_CONFIG = in etna_blend_state_create()
92 co->PE_ALPHA_CONFIG = 0; in etna_blend_state_create()
98 co->PE_LOGIC_OP = in etna_blend_state_create()
103 co->fo_allowed = !alpha_enable && !logicop_enable; in etna_blend_state_create()
114 co->PE_DITHER[0] = 0x6e4ca280; in etna_blend_state_create()
115 co->PE_DITHER[1] = 0x5d7f91b3; in etna_blend_state_create()
117 co->PE_DITHER[0] = 0xffffffff; in etna_blend_state_create()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_colorkey.c35 uint8_t co[4]; member
78 const uint8_t *co = ctx->co; \
88 dst[o + co[3]] = do_colorkey_pixel(colorkey_rgba, \
89 dst[o + co[0]], \
90 dst[o + co[1]], \
91 dst[o + co[2]], \
113 const uint8_t *co = ctx->co; \
126 r = dst[o + co[0]]; \
127 g = dst[o + co[1]]; \
128 b = dst[o + co[2]]; \
[all …]
Dvf_normalize.c106 uint8_t co[4]; // Offsets to R,G,B,A bytes respectively in each pixel member
143 min[c].in = max[c].in = in->data[0][s->co[c]]; in find_min_max()
148 min[c].in = FFMIN(min[c].in, inp[s->co[c]]); in find_min_max()
149 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max()
163 outp[s->co[c]] = s->lut[c][inp[s->co[c]]]; in process()
166 outp[s->co[3]] = inp[s->co[3]]; in process()
217 min[c].in = max[c].in = AV_RN16(in->data[0] + 2 * s->co[c]); in find_min_max_16()
222 min[c].in = FFMIN(min[c].in, inp[s->co[c]]); in find_min_max_16()
223 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max_16()
237 outp[s->co[c]] = s->lut[c][inp[s->co[c]]]; in process_16()
[all …]
Dvf_despill.c31 int co[4]; /* color offsets rgba */ member
47 const int ro = s->co[0], go = s->co[1], bo = s->co[2], ao = s->co[3]; in do_despill_slice()
112 s->co[i] = desc->comp[i].offset; in config_output()
/third_party/mesa3d/src/amd/addrlib/src/core/
Dcoord.cpp146 VOID CoordTerm::add(Coordinate& co) in add() argument
155 if (m_coord[i] == co) in add()
159 if (m_coord[i] > co) in add()
165 m_coord[i] = co; in add()
173 m_coord[num_coords] = co; in add()
186 BOOL_32 CoordTerm::remove(Coordinate& co) in remove() argument
191 if (m_coord[i] == co) in remove()
205 BOOL_32 CoordTerm::Exists(Coordinate& co) in Exists() argument
210 if (m_coord[i] == co) in Exists()
243 VOID CoordTerm::getsmallest(Coordinate& co) in getsmallest() argument
[all …]
Dcoord.h90 VOID add(Coordinate& co);
92 BOOL_32 remove(Coordinate& co);
93 BOOL_32 Exists(Coordinate& co);
98 VOID getsmallest(Coordinate& co);
99 UINT_32 Filter(INT_8 f, Coordinate& co, UINT_32 start = 0, enum Dim axis = NUM_DIMS);
115 VOID remove(Coordinate& co);
116 BOOL_32 Exists(Coordinate& co);
126 UINT_32 Filter(INT_8 f, Coordinate& co, UINT_32 start = 0, enum Dim axis = NUM_DIMS);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/constructor_declarations/automatic_constructors/
Dautomatic_constructors_2.ts42 let co = new ColorPoint("blue"); variable
43 Assert.equal(co.color, 'blue');
44 Assert.equal(co.toString(), 'blue:x,y');
50 Assert.equal(co.toString(), 'blue:x,y');
/third_party/python/Python/
Dceval.c90 static void format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg);
1114 PyEval_EvalCode(PyObject *co, PyObject *globals, PyObject *locals) in PyEval_EvalCode() argument
1127 .fc_name = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode()
1128 .fc_qualname = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode()
1129 .fc_code = co, in PyEval_EvalCode()
1409 assert(STACK_LEVEL() <= co->co_stacksize); }
1416 assert(STACK_LEVEL() <= co->co_stacksize); \
1422 assert(STACK_LEVEL() <= co->co_stacksize); \
1481 if (co->co_opcache != NULL) { \
1483 co->co_opcache_map[next_instr - first_instr]; \
[all …]
Dimport.c692 PyImport_ExecCodeModule(const char *name, PyObject *co) in PyImport_ExecCodeModule() argument
695 name, co, (char *)NULL, (char *)NULL); in PyImport_ExecCodeModule()
699 PyImport_ExecCodeModuleEx(const char *name, PyObject *co, const char *pathname) in PyImport_ExecCodeModuleEx() argument
702 name, co, pathname, (char *)NULL); in PyImport_ExecCodeModuleEx()
706 PyImport_ExecCodeModuleWithPathnames(const char *name, PyObject *co, in PyImport_ExecCodeModuleWithPathnames() argument
751 m = PyImport_ExecCodeModuleObject(nameobj, co, pathobj, cpathobj); in PyImport_ExecCodeModuleWithPathnames()
811 PyImport_ExecCodeModuleObject(PyObject *name, PyObject *co, PyObject *pathname, in PyImport_ExecCodeModuleObject() argument
824 pathname = ((PyCodeObject *)co)->co_filename; in PyImport_ExecCodeModuleObject()
838 res = exec_code_in_module(tstate, name, d, co); in PyImport_ExecCodeModuleObject()
846 update_code_filenames(PyCodeObject *co, PyObject *oldname, PyObject *newname) in update_code_filenames() argument
[all …]
Dpythonrun.c1266 run_eval_code_obj(PyThreadState *tstate, PyCodeObject *co, PyObject *globals, PyObject *locals) in run_eval_code_obj() argument
1291 v = PyEval_EvalCode((PyObject*)co, globals, locals); in run_eval_code_obj()
1303 PyCodeObject *co = _PyAST_Compile(mod, filename, flags, -1, arena); in run_mod() local
1304 if (co == NULL) in run_mod()
1307 if (_PySys_Audit(tstate, "exec", "O", co) < 0) { in run_mod()
1308 Py_DECREF(co); in run_mod()
1312 PyObject *v = run_eval_code_obj(tstate, co, globals, locals); in run_mod()
1313 Py_DECREF(co); in run_mod()
1322 PyCodeObject *co; in run_pyc_file() local
1349 co = (PyCodeObject *)v; in run_pyc_file()
[all …]
/third_party/python/Modules/
Ditertoolsmodule.c2601 combinationsobject *co; in itertools_combinations_impl() local
2626 co = (combinationsobject *)type->tp_alloc(type, 0); in itertools_combinations_impl()
2627 if (co == NULL) in itertools_combinations_impl()
2630 co->pool = pool; in itertools_combinations_impl()
2631 co->indices = indices; in itertools_combinations_impl()
2632 co->result = NULL; in itertools_combinations_impl()
2633 co->r = r; in itertools_combinations_impl()
2634 co->stopped = r > n ? 1 : 0; in itertools_combinations_impl()
2636 return (PyObject *)co; in itertools_combinations_impl()
2646 combinations_dealloc(combinationsobject *co) in combinations_dealloc() argument
[all …]
/third_party/python/Include/
Dimport.h13 PyObject *co
17 PyObject *co,
22 PyObject *co,
29 PyObject *co,
/third_party/curl/tests/data/
Dtest147617 Set-Cookie: super=oops; domain=co.UK; path=/
32 -x http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://curl.co.UK -c %LOGDIR/cookies%TESTNUMBER.txt
44 GET http://curl.co.UK/ HTTP/1.1
45 Host: curl.co.UK
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
Dbloat.py170 co = val.find('::')
173 co = len(val) if co == -1 else co
176 if co < lt and co < pa:
178 return (val[:co], val[co+2:])
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
Dtest_subpicture.c46 static void PrintComponentOrder(const char *co) in PrintComponentOrder() argument
51 printf("%c,", co[i] == 0 ? '0' : co[i]); in PrintComponentOrder()
53 printf("%x,", (unsigned int)co[i]); in PrintComponentOrder()
54 printf("%x\n", (unsigned int)co[31]); in PrintComponentOrder()
/third_party/python/Doc/c-api/
Dcode.rst28 .. c:function:: int PyCode_Check(PyObject *co)
30 Return true if *co* is a :class:`code` object. This function always succeeds.
32 .. c:function:: int PyCode_GetNumFree(PyCodeObject *co)
34 Return the number of free variables in *co*.
55 .. c:function:: int PyCode_Addr2Line(PyCodeObject *co, int byte_offset)
/third_party/typescript/tests/baselines/reference/
Des2018IntlAPIs.types4 const locales = ['ban', 'id-u-co-pinyin', 'de-ID'];
6 >['ban', 'id-u-co-pinyin', 'de-ID'] : string[]
8 >'id-u-co-pinyin' : "id-u-co-pinyin"

12345678910>>...32