Searched refs:co (Results 1 - 25 of 187) sorted by relevance

12345678

/external/python/cpython2/Lib/test/crashers/
H A Dbogus_code_obj.py17 co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (), variable
19 exec co
/external/python/cpython2/Demo/threads/
H A Dsquasher.py47 co.tran(codisassembler, line)
51 card = co.tran(cogetline)
53 co.tran(cosquasher, card[i])
54 co.tran(cosquasher, ';')
58 ch = co.tran(codisassembler)
60 ch2 = co.tran(codisassembler)
64 co.tran(coassembler, ch)
68 ch2 = co.tran(codisassembler)
71 co.tran(coassembler, ' ')
73 co
95 co = Coroutine() variable
[all...]
H A Dfcmp.py7 def fringe(co, list):
10 fringe(co, x)
12 co.back(x)
15 co = Coroutine()
16 f = co.create(fringe, co, list)
19 print co.tran(f),
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.c39 struct etna_blend_state *co = CALLOC_STRUCT(etna_blend_state); local
41 if (!co)
44 co->base = *so;
73 co->PE_ALPHA_CONFIG =
83 co->PE_ALPHA_CONFIG = 0;
86 co->PE_COLOR_FORMAT =
90 co->PE_LOGIC_OP =
101 co->PE_DITHER[0] = 0x6e4ca280;
102 co->PE_DITHER[1] = 0x5d7f91b3;
104 co
[all...]
/external/skia/third_party/lua/src/
H A Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) { argument
22 if (!lua_checkstack(co, narg)) {
26 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) {
30 lua_xmove(L, co, narg);
31 status = lua_resume(co, L, narg);
33 int nres = lua_gettop(co);
35 lua_pop(co, nres); /* remove results anyway */
39 lua_xmove(co, L, nres); /* move yielded values */
43 lua_xmove(co,
50 lua_State *co = lua_tothread(L, 1); local
68 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); local
105 lua_State *co = lua_tothread(L, 1); local
[all...]
/external/syslinux/com32/lua/src/
H A Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) { argument
22 if (!lua_checkstack(co, narg)) {
26 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) {
30 lua_xmove(L, co, narg);
31 status = lua_resume(co, L, narg);
33 int nres = lua_gettop(co);
35 lua_pop(co, nres); /* remove results anyway */
39 lua_xmove(co, L, nres); /* move yielded values */
43 lua_xmove(co,
50 lua_State *co = lua_tothread(L, 1); local
68 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); local
105 lua_State *co = lua_tothread(L, 1); local
[all...]
/external/curl/lib/
H A Dcookie.c106 static void freecookie(struct Cookie *co) argument
108 free(co->expirestr);
109 free(co->domain);
110 free(co->path);
111 free(co->spath);
112 free(co->name);
113 free(co->value);
114 free(co->maxage);
115 free(co->version);
116 free(co);
303 struct Cookie *co, *nx, *pv; local
378 struct Cookie *co; local
1105 struct Cookie *co; local
1222 Curl_cookie_freelist(struct Cookie *co) argument
1293 get_netscape_format(const struct Cookie *co) argument
1327 struct Cookie *co; local
[all...]
/external/python/cpython2/Tools/compiler/
H A Ddumppyc.py17 co = marshal.load(f)
19 return co
21 def walk(co, match=None):
22 if match is None or co.co_name == match:
23 dump(co)
25 dis.dis(co)
26 for obj in co.co_consts:
31 co = loadCode(filename)
32 walk(co, codename)
43 co variable
[all...]
H A Dstacktest.py5 def extract_code_objects(co):
6 l = [co]
7 for const in co.co_consts:
/external/fio/engines/
H A Dcpu.c58 struct cpu_options *co = td->eo; local
60 if (co->exit_io_done && !fio_running_or_pending_io_threads()) {
65 usec_spin(co->cpucycle);
72 struct cpu_options *co = td->eo; local
74 if (!co->cpuload) {
79 if (co->cpuload > 100)
80 co->cpuload = 100;
87 o->thinktime = (co->cpucycle * (100 - co->cpuload)) / co
[all...]
/external/python/cpython2/Objects/
H A Dcodeobject.c99 PyCodeObject *co; local
120 co = PyObject_NEW(PyCodeObject, &PyCode_Type);
121 if (co != NULL) {
122 co->co_argcount = argcount;
123 co->co_nlocals = nlocals;
124 co->co_stacksize = stacksize;
125 co->co_flags = flags;
127 co->co_code = code;
129 co->co_consts = consts;
131 co
275 PyObject *co = NULL; local
345 code_dealloc(PyCodeObject *co) argument
364 code_repr(PyCodeObject *co) argument
384 code_compare(PyCodeObject *co, PyCodeObject *cp) argument
550 PyCodeObject *co, *cp; local
629 code_hash(PyCodeObject *co) argument
700 PyCode_Addr2Line(PyCodeObject *co, int addrq) argument
718 _PyCode_CheckLineNumber(PyCodeObject* co, int lasti, PyAddrPair *bounds) argument
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_code.py97 def dump(co):
101 print "%s: %s" % (attr, getattr(co, "co_" + attr))
102 print "consts:", tuple(consts(co.co_consts))
110 co = _testcapi.code_newempty("filename", "funcname", 15)
111 self.assertEqual(co.co_filename, "filename")
112 self.assertEqual(co.co_name, "funcname")
113 self.assertEqual(co.co_firstlineno, 15)
138 co = compile('res = "str_value"', '?', 'exec')
139 v = self.find_const(co.co_consts, 'str_value')
144 co
[all...]
H A Dtest_zlib.py218 co = zlib.compressobj()
219 x1 = co.compress(data)
220 x2 = co.flush()
221 self.assertRaises(zlib.error, co.flush) # second flush should not work
234 co = zlib.compressobj(level, method, wbits, memlevel, strategy)
235 x1 = co.compress(HAMLET_SCENE)
236 x2 = co.flush()
245 co = zlib.compressobj()
248 bufs.append(co.compress(data[i:i+256]))
249 bufs.append(co
[all...]
/external/libunwind_llvm/src/
H A Dlibunwind.cpp70 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
71 co->setInfoBasedOnIPRegister();
164 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
165 if (co->validReg(regNum)) {
166 *value = co->getReg(regNum);
179 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
180 if (co->validReg(regNum)) {
181 co->setReg(regNum, (pint_t)value);
185 co->setInfoBasedOnIPRegister(false);
198 AbstractUnwindCursor *co local
217 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
229 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
239 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
251 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
263 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
275 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
285 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
294 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
303 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
[all...]
/external/curl/scripts/
H A Dlog2changes.pl33 $co = $1;
63 if($co ne $oldco) {
73 $oldco = $co;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
H A Dcompat.py125 co = fn.__code__
127 co = fn.func_code
129 nargs = co.co_argcount
130 names = co.co_varnames
134 if co.co_flags & CO_VARARGS:
135 varargs = co.co_varnames[nargs]
138 if co.co_flags & CO_VARKEYWORDS:
139 varkw = co.co_varnames[nargs]
/external/python/cpython2/Include/
H A Dcode.h86 #define _PyCode_GETCODEPTR(co, pp) \
87 ((*Py_TYPE((co)->co_code)->tp_as_buffer->bf_getreadbuffer) \
88 ((co)->co_code, 0, (void **)(pp)))
98 PyAPI_FUNC(int) _PyCode_CheckLineNumber(PyCodeObject* co,
H A Deval.h12 PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
/external/libpng/contrib/libtests/
H A 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) argument
344 co->number[c.cnumber++] = (char)ch;
347 co->number[c.cnumber++] = '<';
348 co->number[c.cnumber++] = hexdigits[(ch >> 4) & 0xf];
349 co->number[c.cnumber++] = hexdigits[ch & 0xf];
350 co->number[c.cnumber++] = '>';
352 co->number[c.cnumber] = 0;
354 if (co
520 check_all_characters(checkfp_command *co, checkfp_control c) argument
533 check_some_characters(checkfp_command *co, checkfp_control c, const char *tests) argument
[all...]
/external/aac/libAACenc/src/
H A Dchannel_map.cpp178 const INT* FDKaacEnc_getChannelAssignment(CHANNEL_MODE encMode, CHANNEL_ORDER co) argument
183 if (co == CH_ORDER_MPEG)
224 static INT FDKaacEnc_initElement (ELEMENT_INFO* elInfo, MP4_ELEMENT_ID elType, INT* cnt, CHANNEL_MODE mode, CHANNEL_ORDER co, INT* it_cnt, const FIXP_DBL relBits) { argument
229 const INT *assign = FDKaacEnc_getChannelAssignment(mode, co);
260 AAC_ENCODER_ERROR FDKaacEnc_InitChannelMapping(CHANNEL_MODE mode, CHANNEL_ORDER co, CHANNEL_MAPPING* cm) argument
288 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL);
292 FDKaacEnc_initElement(&cm->elInfo[0], ID_CPE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL);
297 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f));
298 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.6f));
303 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cn
[all...]
H A Dchannel_map.h119 CHANNEL_ORDER co,
/external/v8/tools/gcmole/
H A Dbootstrap.sh74 if ! svn co --force \
79 svn co --force \
85 svn co --force \
/external/python/cpython2/Lib/
H A Dmodulefinder.py309 co = compile(fp.read()+'\n', pathname, 'exec')
315 co = marshal.load(fp)
317 co = None
320 if co:
322 co = self.replace_paths_in_code(co)
323 m.__code__ = co
324 self.scan_code(co, m)
359 def scan_opcodes(self, co,
363 code = co
[all...]
H A Dtraceback.py63 co = f.f_code
64 filename = co.co_filename
65 name = co.co_name
97 co = f.f_code
98 filename = co.co_filename
99 name = co.co_name
302 co = f.f_code
303 filename = co.co_filename
304 name = co.co_name
/external/skia/tests/
H A DPathOpsCubicConicIntersectionTest.cpp36 const ConicPts& co = cubicConicTests[index].conic; local
38 conic.debugSet(co.fPts.fPts, co.fWeight);

Completed in 2125 milliseconds

12345678