/external/curl/lib/ |
D | cookie.c | 105 static void freecookie(struct Cookie *co) in freecookie() argument 107 free(co->expirestr); in freecookie() 108 free(co->domain); in freecookie() 109 free(co->path); in freecookie() 110 free(co->spath); in freecookie() 111 free(co->name); in freecookie() 112 free(co->value); in freecookie() 113 free(co->maxage); in freecookie() 114 free(co->version); in freecookie() 115 free(co); in freecookie() [all …]
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 99 PyCodeObject *co; in PyCode_New() local 120 co = PyObject_NEW(PyCodeObject, &PyCode_Type); in PyCode_New() 121 if (co != NULL) { in PyCode_New() 122 co->co_argcount = argcount; in PyCode_New() 123 co->co_nlocals = nlocals; in PyCode_New() 124 co->co_stacksize = stacksize; in PyCode_New() 125 co->co_flags = flags; in PyCode_New() 127 co->co_code = code; in PyCode_New() 129 co->co_consts = consts; in PyCode_New() 131 co->co_names = names; in PyCode_New() [all …]
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 113 PyCodeObject *co; in PyCode_NewWithPosOnlyArgs() local 202 co = PyObject_NEW(PyCodeObject, &PyCode_Type); in PyCode_NewWithPosOnlyArgs() 203 if (co == NULL) { in PyCode_NewWithPosOnlyArgs() 208 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs() 209 co->co_posonlyargcount = posonlyargcount; in PyCode_NewWithPosOnlyArgs() 210 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs() 211 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs() 212 co->co_stacksize = stacksize; in PyCode_NewWithPosOnlyArgs() 213 co->co_flags = flags; in PyCode_NewWithPosOnlyArgs() 215 co->co_code = code; in PyCode_NewWithPosOnlyArgs() [all …]
|
/external/python/cpython2/Demo/threads/ |
D | squasher.py | 47 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.tran(coassembler, ch) [all …]
|
/external/lua/src/ |
D | lcorolib.c | 22 lua_State *co = lua_tothread(L, 1); in getco() local 23 luaL_argcheck(L, co, 1, "thread expected"); in getco() 24 return co; in getco() 28 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() argument 30 if (!lua_checkstack(co, narg)) { in auxresume() 34 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 38 lua_xmove(L, co, narg); in auxresume() 39 status = lua_resume(co, L, narg); in auxresume() 41 int nres = lua_gettop(co); in auxresume() 43 lua_pop(co, nres); /* remove results anyway */ in auxresume() [all …]
|
/external/libunwind_llvm/src/ |
D | libunwind.cpp | 73 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in unw_init_local() local 74 co->setInfoBasedOnIPRegister(); in unw_init_local() 85 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in unw_get_reg() local 86 if (co->validReg(regNum)) { in unw_get_reg() 87 *value = co->getReg(regNum); in unw_get_reg() 100 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in unw_set_reg() local 101 if (co->validReg(regNum)) { in unw_set_reg() 102 co->setReg(regNum, (pint_t)value); in unw_set_reg() 108 co->getInfo(&info); in unw_set_reg() 109 co->setInfoBasedOnIPRegister(false); in unw_set_reg() [all …]
|
/external/python/cpython3/Lib/ |
D | dis.py | 155 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 …]
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/ |
D | CborEncoder.java | 1 package co.nstant.in.cbor; 7 import co.nstant.in.cbor.encoder.ArrayEncoder; 8 import co.nstant.in.cbor.encoder.ByteStringEncoder; 9 import co.nstant.in.cbor.encoder.MapEncoder; 10 import co.nstant.in.cbor.encoder.NegativeIntegerEncoder; 11 import co.nstant.in.cbor.encoder.SpecialEncoder; 12 import co.nstant.in.cbor.encoder.TagEncoder; 13 import co.nstant.in.cbor.encoder.UnicodeStringEncoder; 14 import co.nstant.in.cbor.encoder.UnsignedIntegerEncoder; 15 import co.nstant.in.cbor.model.Array; [all …]
|
D | CborDecoder.java | 1 package co.nstant.in.cbor; 10 import co.nstant.in.cbor.decoder.ArrayDecoder; 11 import co.nstant.in.cbor.decoder.ByteStringDecoder; 12 import co.nstant.in.cbor.decoder.MapDecoder; 13 import co.nstant.in.cbor.decoder.NegativeIntegerDecoder; 14 import co.nstant.in.cbor.decoder.SpecialDecoder; 15 import co.nstant.in.cbor.decoder.TagDecoder; 16 import co.nstant.in.cbor.decoder.UnicodeStringDecoder; 17 import co.nstant.in.cbor.decoder.UnsignedIntegerDecoder; 18 import co.nstant.in.cbor.model.Array; [all …]
|
D | CborBuilder.java | 1 package co.nstant.in.cbor; 7 import co.nstant.in.cbor.builder.AbstractBuilder; 8 import co.nstant.in.cbor.builder.ArrayBuilder; 9 import co.nstant.in.cbor.builder.ByteStringBuilder; 10 import co.nstant.in.cbor.builder.MapBuilder; 11 import co.nstant.in.cbor.builder.UnicodeStringBuilder; 12 import co.nstant.in.cbor.model.Array; 13 import co.nstant.in.cbor.model.ByteString; 14 import co.nstant.in.cbor.model.DataItem; 15 import co.nstant.in.cbor.model.Map; [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 151 def dump(co): argument 156 print("%s: %s" % (attr, getattr(co, "co_" + attr))) 157 print("consts:", tuple(consts(co.co_consts))) 169 co = _testcapi.code_newempty("filename", "funcname", 15) 170 self.assertEqual(co.co_filename, "filename") 171 self.assertEqual(co.co_name, "funcname") 172 self.assertEqual(co.co_firstlineno, 15) 213 co = func.__code__ 214 CodeType = type(co) 217 return CodeType(co.co_argcount, [all …]
|
D | test_zlib.py | 235 co = zlib.compressobj() 236 x1 = co.compress(data) 237 x2 = co.flush() 238 self.assertRaises(zlib.error, co.flush) # second flush should not work 254 co = zlib.compressobj(level=level, 262 co.compress(data=HAMLET_SCENE) 265 x = co.compress(HAMLET_SCENE) + co.flush() 276 co = zlib.compressobj(level, method, wbits, memLevel, strategy) 277 x1 = co.compress(HAMLET_SCENE) 278 x2 = co.flush() [all …]
|
/external/python/cpython2/Tools/compiler/ |
D | dumppyc.py | 17 co = marshal.load(f) 19 return co 21 def walk(co, match=None): argument 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 = compile(buf, filename, "exec") variable [all …]
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/builder/ |
D | AbstractBuilder.java | 1 package co.nstant.in.cbor.builder; 9 import co.nstant.in.cbor.CborException; 10 import co.nstant.in.cbor.decoder.HalfPrecisionFloatDecoder; 11 import co.nstant.in.cbor.encoder.HalfPrecisionFloatEncoder; 12 import co.nstant.in.cbor.model.ByteString; 13 import co.nstant.in.cbor.model.DataItem; 14 import co.nstant.in.cbor.model.DoublePrecisionFloat; 15 import co.nstant.in.cbor.model.HalfPrecisionFloat; 16 import co.nstant.in.cbor.model.NegativeInteger; 17 import co.nstant.in.cbor.model.SimpleValue; [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_code.py | 97 def dump(co): argument 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 = compile('res = ("str_value",)', '?', 'exec') [all …]
|
/external/libpng/contrib/libtests/ |
D | tarith.c | 323 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 …]
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 309 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, argument 363 code = co.co_code 364 names = co.co_names [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 43 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() 112 co->PE_DITHER[0] = 0x6e4ca280; in etna_blend_state_create() 113 co->PE_DITHER[1] = 0x5d7f91b3; in etna_blend_state_create() 115 co->PE_DITHER[0] = 0xffffffff; in etna_blend_state_create() [all …]
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/encoder/ |
D | SpecialEncoder.java | 1 package co.nstant.in.cbor.encoder; 5 import co.nstant.in.cbor.CborEncoder; 6 import co.nstant.in.cbor.CborException; 7 import co.nstant.in.cbor.model.DoublePrecisionFloat; 8 import co.nstant.in.cbor.model.HalfPrecisionFloat; 9 import co.nstant.in.cbor.model.SimpleValue; 10 import co.nstant.in.cbor.model.SimpleValueType; 11 import co.nstant.in.cbor.model.SinglePrecisionFloat; 12 import co.nstant.in.cbor.model.Special;
|
/external/cbor-java/src/test/java/co/nstant/in/cbor/examples/ |
D | Example14Test.java | 1 package co.nstant.in.cbor.examples; 10 import co.nstant.in.cbor.CborDecoder; 11 import co.nstant.in.cbor.CborEncoder; 12 import co.nstant.in.cbor.CborException; 13 import co.nstant.in.cbor.model.ByteString; 14 import co.nstant.in.cbor.model.DataItem; 15 import co.nstant.in.cbor.model.NegativeInteger; 16 import co.nstant.in.cbor.model.Tag;
|
D | Example12Test.java | 1 package co.nstant.in.cbor.examples; 10 import co.nstant.in.cbor.CborDecoder; 11 import co.nstant.in.cbor.CborEncoder; 12 import co.nstant.in.cbor.CborException; 13 import co.nstant.in.cbor.model.ByteString; 14 import co.nstant.in.cbor.model.DataItem; 15 import co.nstant.in.cbor.model.Tag; 16 import co.nstant.in.cbor.model.UnsignedInteger;
|
D | Example74Test.java | 1 package co.nstant.in.cbor.examples; 11 import co.nstant.in.cbor.CborBuilder; 12 import co.nstant.in.cbor.CborDecoder; 13 import co.nstant.in.cbor.CborEncoder; 14 import co.nstant.in.cbor.CborException; 15 import co.nstant.in.cbor.model.Array; 16 import co.nstant.in.cbor.model.DataItem; 17 import co.nstant.in.cbor.model.SimpleValue;
|
D | Example76Test.java | 1 package co.nstant.in.cbor.examples; 11 import co.nstant.in.cbor.CborBuilder; 12 import co.nstant.in.cbor.CborDecoder; 13 import co.nstant.in.cbor.CborEncoder; 14 import co.nstant.in.cbor.CborException; 15 import co.nstant.in.cbor.model.Array; 16 import co.nstant.in.cbor.model.DataItem; 17 import co.nstant.in.cbor.model.SimpleValue;
|
D | Example75Test.java | 1 package co.nstant.in.cbor.examples; 11 import co.nstant.in.cbor.CborBuilder; 12 import co.nstant.in.cbor.CborDecoder; 13 import co.nstant.in.cbor.CborEncoder; 14 import co.nstant.in.cbor.CborException; 15 import co.nstant.in.cbor.model.Array; 16 import co.nstant.in.cbor.model.DataItem; 17 import co.nstant.in.cbor.model.SimpleValue;
|
D | Example64Test.java | 1 package co.nstant.in.cbor.examples; 10 import co.nstant.in.cbor.CborBuilder; 11 import co.nstant.in.cbor.CborDecoder; 12 import co.nstant.in.cbor.CborEncoder; 13 import co.nstant.in.cbor.CborException; 14 import co.nstant.in.cbor.model.Array; 15 import co.nstant.in.cbor.model.DataItem; 16 import co.nstant.in.cbor.model.Number;
|