| /prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
| ucnhash.h | 18 /* Get name for a given character code. Returns non-zero if 22 int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen); 24 /* Get character code for a given name. Same error handling 26 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code);
|
| /system/netd/libnetdutils/include/netdutils/ |
| Status.h | 28 // or moderate performance code. This can definitely be improved but 35 explicit Status(int code) : mCode(code) {} 37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } 39 int code() const { return mCode; } function in class:android::netdutils::Status 41 bool ok() const { return code() == 0; } 45 bool operator==(const Status& other) const { return code() == other.code(); }
|
| /toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
| pr18256.d | 1 # name: PR18256 - Bad code triggers internal error
|
| /toolchain/binutils/binutils-2.27/gas/testsuite/gas/hppa/basic/ |
| perf.s | 2 .code
|
| /toolchain/binutils/binutils-2.27/gas/testsuite/gas/hppa/reloc/ |
| blebug2.s | 1 .code
|
| /toolchain/binutils/binutils-2.27/gas/testsuite/gas/sh/ |
| pcrel-coff.s | 4 code: label 14 .long code - .
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-sh/sh64/ |
| shmix-2.s | 2 ! We will be using .text for the SHmedia code and .text.compact for the 3 ! SHcompact code, so we don't get two ISA in the same section.
|
| shmix-3.s | 2 ! We will be using .text for the SHmedia code and .text.compact for the 3 ! SHcompact code, so we don't get two ISA in the same section.
|
| /toolchain/binutils/binutils-2.27/zlib/contrib/infback9/ |
| inflate9.h | 16 LEN, /* i: waiting for length/lit code */ 39 unsigned ncode; /* number of code length code lengths */ 40 unsigned nlen; /* number of length code lengths */ 41 unsigned ndist; /* number of distance code lengths */ 42 unsigned have; /* number of code lengths in lens[] */ 43 code FAR *next; /* next available space in codes[] */ 44 unsigned short lens[320]; /* temporary storage for code lengths */ 45 unsigned short work[288]; /* work area for code table building */ 46 code codes[ENOUGH]; /* space for code tables * [all...] |
| inftree9.h | 12 information needed to do the operation requested by the code that 14 table that indexes more bits of the code. op indicates whether 16 distance, an end-of-block, or an invalid code. For a table 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 26 unsigned char bits; /* bits in this part of the code */ 27 unsigned short val; /* offset in table or code value */ 28 } code; typedef in typeref:struct:__anon5127 35 01000000 - invalid code [all...] |
| /toolchain/binutils/binutils-2.27/zlib/ |
| inftrees.h | 12 information needed to do the operation requested by the code that 14 table that indexes more bits of the code. op indicates whether 16 distance, an end-of-block, or an invalid code. For a table 19 is the number of extra bits to get after the code. bits is 20 the number of bits in this code or part of the code to drop off 26 unsigned char bits; /* bits in this part of the code */ 27 unsigned short val; /* offset in table or code value */ 28 } code; typedef in typeref:struct:__anon5143 35 01000000 - invalid code [all...] |
| /tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
| CompressionMethod.java | 36 * Code, within the zip file, that identifies this compression method. 43 * @param methodCode the code used in the zip file that identifies the compression method 50 * Obtains the compression method that corresponds to the provided code. 52 * @param code the code 53 * @return the method or {@code null} if no method has the provided code 56 static CompressionMethod fromCode(long code) { 58 if (method.methodCode == code) {
|
| /external/capstone/suite/ |
| benchmark.py | 3 # Simple benchmark for Capstone by disassembling random code. By Nguyen Anh Quynh, 2014 20 # file providing code to disassemble 47 code = f.read(size) 48 if len(code) != size: # reached end-of-file? 51 code = f.read(size) 53 return code 56 def cs(md, code): 57 insns = md.disasm(code, 0) 65 def cs_lite(md, code): 66 insns = md.disasm_lite(code, 0 94 code = get_code(cfile, 128) variable 102 code = get_code(cfile, 128) variable 116 code = get_code(cfile, 128) variable [all...] |
| /external/libese/libese/ |
| ese.c | 44 ese->error.code = 0; 56 return ese->error.code; 63 ESE_API void ese_set_error(struct EseInterface *ese, int code) { 68 ese->error.code = code; 70 if (code < 0) { 71 code = -(code + 1); /* Start at 0. */ 72 if ((uint32_t)(code) >= ESE_MESSAGES(kEseErrorMessages)) { 73 LOG_ALWAYS_FATAL("Unknown global error code passed to ese_set_error(%d)" [all...] |
| /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/ |
| FibonacciMaker.java | 19 import com.android.dx.Code; 41 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC); local 43 Local<Integer> i = code.getParameter(0, TypeId.INT); 44 Local<Integer> constant1 = code.newLocal(TypeId.INT); 45 Local<Integer> constant2 = code.newLocal(TypeId.INT); 46 Local<Integer> a = code.newLocal(TypeId.INT); 47 Local<Integer> b = code.newLocal(TypeId.INT); 48 Local<Integer> c = code.newLocal(TypeId.INT); 49 Local<Integer> d = code.newLocal(TypeId.INT) [all...] |
| /external/elfutils/libdw/ |
| dwarf_tag.c | 39 __libdw_findabbrev (struct Dwarf_CU *cu, unsigned int code) 43 /* Abbreviation code can never have a value of 0. */ 44 if (unlikely (code == 0)) 48 abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code, NULL); 67 /* Is this the code we are looking for? */ 68 if (abb->code == code) 73 and the code is invalid. */
|
| /external/libbrillo/brillo/errors/ |
| error.cc | 2 // Use of this source code is governed by a BSD-style license that can be 16 const std::string& code, 25 << "Domain=" << domain << ", Code=" << code << ", Message=" << message; 31 const std::string& code, 33 return Create(location, domain, code, message, ErrorPtr()); 38 const std::string& code, 41 LogError(location, domain, code, message); 43 new Error(location, domain, code, message, std::move(inner_error))); 49 const std::string& code, [all...] |
| /external/libffi/testsuite/libffi.call/ |
| cls_ulonglong.c | 24 void *code; local 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ulonglong_fn, NULL, code) == FFI_OK); 36 res = (*((cls_ret_ulonglong)code))(214LL); 41 res = (*((cls_ret_ulonglong)code))(9223372035854775808LL);
|
| /external/pdfium/core/fxcodec/gif/ |
| cfx_lzwdecompressor.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 90 uint16_t code = local 94 if (code == code_clear_) { 98 if (code == code_end_) { 105 if (code == code_next_) { 107 if (!DecodeString(code)) 109 } else if (code > code_next_) { 112 if (!DecodeString(code)) 120 if (!DecodeString(code)) [all...] |
| /external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
| cls_ulonglong.c | 24 void *code; local 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ulonglong_fn, NULL, code) == FFI_OK); 36 res = (*((cls_ret_ulonglong)code))(214LL); 41 res = (*((cls_ret_ulonglong)code))(9223372035854775808LL);
|
| /external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
| cls_ulonglong.c | 24 void *code; local 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ulonglong_fn, NULL, code) == FFI_OK); 36 res = (*((cls_ret_ulonglong)code))(214LL); 41 res = (*((cls_ret_ulonglong)code))(9223372035854775808LL);
|
| /frameworks/compile/mclinker/lib/Target/AArch64/ |
| AArch64CA53Erratum843419Stub2.cpp | 64 ErratumSequence code; local 65 pFragRef.memcpy(&code, AArch64InsnHelpers::InsnSize * 4, 0); 67 if (AArch64CA53Erratum843419Stub::isErratum843419Sequence(code.insns[0], 68 code.insns[1], 69 code.insns[3])) {
|
| /prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
| deadcode.go | 2 // Use of this source code is governed by a BSD-style 7 // This file contains tests for the dead code checker. 28 println() // ERROR "unreachable code" 35 println() // ERROR "unreachable code" 41 println() // ERROR "unreachable code" 56 println() // ERROR "unreachable code" 66 println() // ERROR "unreachable code" 74 println() // ERROR "unreachable code" 85 println() // ERROR "unreachable code" 99 println() // ERROR "unreachable code" [all...] |
| /prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
| deadcode.go | 2 // Use of this source code is governed by a BSD-style 7 // This file contains tests for the dead code checker. 28 println() // ERROR "unreachable code" 35 println() // ERROR "unreachable code" 41 println() // ERROR "unreachable code" 56 println() // ERROR "unreachable code" 66 println() // ERROR "unreachable code" 74 println() // ERROR "unreachable code" 85 println() // ERROR "unreachable code" 99 println() // ERROR "unreachable code" [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/ |
| _codecs_cn.c | 18 /* GBK and GB2312 map differently in few code points that are listed below:
33 #define GBK_ENCODE(code, assi) \
34 if ((code) == 0x2014) (assi) = 0xa1aa; \
35 else if ((code) == 0x2015) (assi) = 0xa844; \
36 else if ((code) == 0x00b7) (assi) = 0xa1a4; \
37 else if ((code) != 0x30fb && TRYMAP_ENC_COND(gbcommon, assi, code));
47 DBCHAR code;
local 57 TRYMAP_ENC(gbcommon, code, c);
60 if (code & 0x8000) /* MSB set: GBK */ 103 DBCHAR code; local 161 DBCHAR code; local 333 DBCHAR code; local [all...] |