/external/harfbuzz_ng/src/hb-ucdn/ |
ucdn.c | 58 static const UCDRecord *get_ucd_record(uint32_t code) 62 if (code >= 0x110000) 65 index = index0[code >> (SHIFT1+SHIFT2)] << SHIFT1; 66 offset = (code >> SHIFT2) & ((1<<SHIFT1) - 1); 68 offset = code & ((1<<SHIFT2) - 1); 75 static const unsigned short *get_decomp_record(uint32_t code) 79 if (code >= 0x110000) 82 index = decomp_index0[code >> (DECOMP_SHIFT1+DECOMP_SHIFT2)] 84 offset = (code >> DECOMP_SHIFT2) & ((1<<DECOMP_SHIFT1) - 1); 86 offset = code & ((1<<DECOMP_SHIFT2) - 1) 183 const unsigned short *code = *code_ptr; local [all...] |
/external/javassist/src/main/javassist/ |
CtNewWrappedConstructor.java | 37 Bytecode code = makeBody(declaring, declaring.getClassFile2(), local 40 cons.getMethodInfo2().setCodeAttribute(code.toCodeAttribute()); 58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); local 59 code.setMaxLocals(false, parameters, 0); 60 code.addAload(0); 63 code.addInvokespecial(superclazz, "<init>", "()V"); 66 stacksize = code.addLoadParameters(parameters, 1) + 1; 67 code.addInvokespecial(superclazz, "<init>", 71 stacksize = compileParameterList(code, parameters, 1); 78 stacksize2 = cparam.compile(code) + 2 [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
Charset_TestGenerator.java | 105 abstract void consume (int code); 107 boolean isAccepted (int code) 109 return Character.isLetterOrDigit(code); 115 void consume (int code) { 116 System.out.print(code); 127 boolean isAccepted (int code) 129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code); 135 void consume (int code) { 136 // System.out.print(code); 175 int code = 0; local [all...] |
/toolchain/binutils/binutils-2.27/opcodes/ |
aarch64-asm-2.c | 452 aarch64_insn *code, const aarch64_inst *inst) 483 return aarch64_ins_regno (self, info, code, inst); 485 return aarch64_ins_reg_extended (self, info, code, inst); 487 return aarch64_ins_reg_shifted (self, info, code, inst); 489 return aarch64_ins_ft (self, info, code, inst); 493 return aarch64_ins_reglane (self, info, code, inst); 495 return aarch64_ins_reglist (self, info, code, inst); 497 return aarch64_ins_ldst_reglist (self, info, code, inst); 499 return aarch64_ins_ldst_reglist_r (self, info, code, inst); 501 return aarch64_ins_ldst_elemlist (self, info, code, inst) [all...] |
/external/flatbuffers/src/ |
idl_gen_python.cpp | 17 // independent from idl_parser, since this code is not needed for most clients 43 // this is the prefix code for that. 54 std::string &code = *code_ptr; local 55 code += "class " + struct_def.name + "(object):\n"; 56 code += Indent + "__slots__ = ['_tab']"; 57 code += "\n\n"; 60 // Begin enum code with a class declaration. 62 std::string &code = *code_ptr; local 63 code += "class " + class_name + "(object):\n"; 68 std::string &code = *code_ptr local 77 std::string &code = *code_ptr; local 84 std::string &code = *code_ptr; local 103 std::string &code = *code_ptr; local 115 std::string &code = *code_ptr; local 128 std::string &code = *code_ptr; local 141 std::string &code = *code_ptr; local 157 std::string &code = *code_ptr; local 171 std::string &code = *code_ptr; local 194 std::string &code = *code_ptr; local 208 std::string &code = *code_ptr; local 231 std::string &code = *code_ptr; local 257 std::string &code = *code_ptr; local 282 std::string &code = *code_ptr; local 312 std::string &code = *code_ptr; local 336 std::string &code = *code_ptr; local 345 std::string &code = *code_ptr; local 354 std::string &code = *code_ptr; local 375 std::string &code = *code_ptr; local 382 std::string &code = *code_ptr; local 395 std::string &code = *code_ptr; local 418 std::string &code = *code_ptr; local 433 std::string &code = *code_ptr; local 441 std::string &code = *code_ptr; local 666 std::string &code = *code_ptr; local 688 std::string code = ""; local [all...] |
idl_gen_js.cpp | 17 // independent from idl_parser, since this code is not needed for most clients 69 // Iterate through all definitions we haven't generate code for (enums, structs, 83 // Iterate through all definitions we haven't generate code for (enums, 89 std::string enum_code, struct_code, import_code, exports_code, code; local 95 code = code + "// " + FlatBuffersGeneratedWarning() + "\n\n"; 97 // Generate code for all the namespace declarations. 98 GenNamespaces(&code, &exports_code); 100 // Output the main declaration code from above. 101 code += import_code 122 std::string &code = *code_ptr; local 144 std::string &code = *code_ptr; local 217 std::string &code = *code_ptr; local 251 std::string &code = *code_ptr; local [all...] |
idl_gen_general.cpp | 17 // independent from idl_parser, since this code is not needed for most clients 205 // Save out the generated code for a single class while adding 211 std::string code; 213 code = "// <auto-generated>\n" 217 code = "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; 222 code += lang_.namespace_ident + namespace_name + lang_.namespace_begin; 223 code += "\n\n"; 226 code += lang_.includes; 228 code += "\nimport javax.annotation.Nullable;\n"; 230 code += lang_.class_annotation 522 std::string &code = *code_ptr; local 659 std::string &code = *code_ptr; local 685 std::string &code = *code_ptr; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
dec_pred_intra_dc.cpp | 34 uint code; local 52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size); 54 first_bit = code >> (DC_size - 1); 59 *INTRADC_delta = code ^((1 << DC_size) - 1); 64 *INTRADC_delta = code;
|
/libcore/luni/src/main/java/libcore/io/ |
EventLogger.java | 47 public void report (int code, Object... list); 55 public void report (int code, Object... list) { 57 sb.append(code); 66 public static void writeEvent(int code, Object... list) { 67 getReporter().report(code, list);
|
/external/vixl/test/aarch64/ |
test-utils-aarch64.h | 7 // * Redistributions of source code must retain the above copyright notice, 71 // The Dump method generates code to store a snapshot of the register values. 75 // The dumping code is generated though the given MacroAssembler. No registers 81 inline int32_t wreg(unsigned code) const { 82 if (code == kSPRegInternalCode) { 85 VIXL_ASSERT(RegAliasesMatch(code)); 86 return dump_.w_[code]; 89 inline int64_t xreg(unsigned code) const { 90 if (code == kSPRegInternalCode) { 93 VIXL_ASSERT(RegAliasesMatch(code)); [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StopRequestException.java | 50 public static StopRequestException throwUnhandledHttpError(int code, String message) 52 final String error = "Unhandled HTTP response: " + code + " " + message; 53 if (code >= 400 && code < 600) { 54 throw new StopRequestException(code, error); 55 } else if (code >= 300 && code < 400) {
|
/art/runtime/ |
oat_file-inl.h | 26 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); local 27 if (code == nullptr) { 30 // Return a pointer to the packed struct before the code. 31 return reinterpret_cast<const OatQuickMethodHeader*>(code) - 1; 51 const void* code = EntryPointToCodePointer(GetQuickCode()); local 52 if (code == nullptr) { 55 return reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetFrameInfo().FrameSizeInBytes(); 59 const void* code = EntryPointToCodePointer(GetQuickCode()); local 60 if (code == nullptr) { 63 return reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetFrameInfo().CoreSpillMask() 67 const void* code = EntryPointToCodePointer(GetQuickCode()); local 88 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); local 100 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); local [all...] |
/external/libpcap/pcap/ |
bpf.h | 5 * This code is derived from the Stanford/CMU enet packet filter, 6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 13 * 1. Redistributions of source code must retain the above copyright 43 * the stuff needed for the code generator and the userland BPF 49 * At least two programs found by Google Code Search explicitly includes 129 #define BPF_CLASS(code) ((code) & 0x07) 140 #define BPF_SIZE(code) ((code) & 0x18) 145 #define BPF_MODE(code) ((code) & 0xe0 239 u_short code; member in struct:bpf_insn [all...] |
/external/syslinux/com32/gpllib/dmi/ |
dmi_processor.c | 22 * For the avoidance of doubt the "preferred form" of this code is one which 26 * are deemed to be part of the source code. 32 const char *dmi_processor_type(uint8_t code) 44 if (code >= 0x01 && code <= 0x06) 45 return type[code - 0x01]; 49 const char *dmi_processor_family(uint8_t code, char *manufacturer) 52 /* TODO : Need to implement code/value (see dmidecode) insteed of array to address large index */ 312 if (code == 0xBE) { 323 if (family[code] != NULL) [all...] |
/external/tensorflow/tensorflow/core/platform/posix/ |
error.cc | 26 error::Code ErrnoToCode(int err_number) { 27 error::Code code; local 30 code = error::OK; 45 code = error::INVALID_ARGUMENT; 49 code = error::DEADLINE_EXCEEDED; 55 code = error::NOT_FOUND; 60 code = error::ALREADY_EXISTS; 65 code = error::PERMISSION_DENIED; 84 code = error::FAILED_PRECONDITION 174 auto code = ErrnoToCode(err_number); local [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
DisconnectCause.java | 27 * Describes the cause of a disconnected call. This always includes a code describing the generic 80 * Reason code (returned via {@link #getReason()}) which indicates that a call could not be 88 * Reason code (returned via {@link #getReason()}), which indicates that the video telephony 103 * @param code The code for the disconnect cause. 105 public DisconnectCause(int code) { 106 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); 112 * @param code The code for the disconnect cause. 115 public DisconnectCause(int code, String reason) 259 String code = ""; local [all...] |
/toolchain/binutils/binutils-2.27/gold/ |
aarch64-reloc-property.h | 34 // relocation code. 80 // Relocation code represented by this. 82 code() const function in class:gold::AArch64_reloc_property 85 // Name of the relocation code. 90 // Type of relocation code. 95 // Class of relocation code. 100 // Whether this code is implemented in gold. 105 // If code is a group relocation code, return the group number, otherwise -1. 135 AArch64_reloc_property(unsigned int code, const char* name, Reloc_type rtype [all...] |
/external/pcre/dist2/src/ |
pcre2_printint.c | 9 Original API code Copyright (c) 1997-2012 University of Cambridge 10 New API code Copyright (c) 2016 University of Cambridge 16 * Redistributions of source code must retain the above copyright notice, 45 code unit width, with PCRE2_SUFFIX set appropriately, just like the functions 50 /* Tables of operator names. The same 8-bit table is used for all code unit 81 /* In UTF mode the character may occupy more than one code unit. 85 ptr pointer to first code unit of the character 88 Returns: number of additional code units used 97 /* If UTF is supported and requested, check for a valid single code unit. */ 112 /* Handle a valid one-code-unit character at any width. * 310 PCRE2_SPTR codestart, nametable, code; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
bpf_common.h | 21 #define BPF_CLASS(code) ((code) & 0x07) 30 #define BPF_SIZE(code) ((code) & 0x18) 34 #define BPF_MODE(code) ((code) & 0xe0) 41 #define BPF_OP(code) ((code) & 0xf0) 58 #define BPF_SRC(code) ((code) & 0x08 [all...] |
/external/iproute2/include/uapi/linux/ |
bpf_common.h | 6 #define BPF_CLASS(code) ((code) & 0x07) 17 #define BPF_SIZE(code) ((code) & 0x18) 21 #define BPF_MODE(code) ((code) & 0xe0) 30 #define BPF_OP(code) ((code) & 0xf0) 48 #define BPF_SRC(code) ((code) & 0x08 [all...] |
/external/kernel-headers/original/uapi/linux/ |
bpf_common.h | 6 #define BPF_CLASS(code) ((code) & 0x07) 17 #define BPF_SIZE(code) ((code) & 0x18) 21 #define BPF_MODE(code) ((code) & 0xe0) 30 #define BPF_OP(code) ((code) & 0xf0) 48 #define BPF_SRC(code) ((code) & 0x08 [all...] |
/external/syslinux/com32/libutil/ |
keyname.c | 82 int key_name_to_code(const char *code) 86 if (code[0] && !code[1]) { 88 return (unsigned char)code[0]; 89 } else if (code[0] == '^' && code[1] && !code[2]) { 91 if (code[1] == '?') 94 return (unsigned char)code[1] & 0x9f; 99 if (!strcasecmp(name->string, code)) [all...] |
/art/compiler/linker/mips64/ |
relative_patcher_mips64.cc | 41 void Mips64RelativePatcher::PatchCall(std::vector<uint8_t>* code ATTRIBUTE_UNUSED, 48 void Mips64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, 54 bool high_patch = ((*code)[literal_offset + 0] == 0x34) && ((*code)[literal_offset + 1] == 0x12); 59 DCHECK_EQ(((*code)[literal_offset + 2] & 0x1F), 0x1E); 60 DCHECK_EQ(((*code)[literal_offset + 3] & 0xFC), 0xEC); 63 CHECK_EQ((*code)[literal_offset + 0], 0x78); 64 CHECK_EQ((*code)[literal_offset + 1], 0x56); 78 (*code)[literal_offset + 0] = static_cast<uint8_t>(diff >> 16); 79 (*code)[literal_offset + 1] = static_cast<uint8_t>(diff >> 24) [all...] |
/external/android-clat/ |
icmp.c | 63 uint8_t icmp_to_icmp6_type(uint8_t type, uint8_t code) { 76 if (code != ICMP_UNREACH_PROTOCOL && code != ICMP_UNREACH_NEEDFRAG) { 89 * code - the ICMP code 91 uint8_t icmp_to_icmp6_code(uint8_t type, uint8_t code) { 98 return code; 101 switch (code) { 115 // Otherwise, we don't understand this ICMP type/code combination. Fall through. 118 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_code: unhandled ICMP type/code %d/%d", type, code) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_emit_gk110.cpp | 160 if (i->src(s).mod.neg()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 162 if (i->src(s).mod.abs()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 165 code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 167 #define FTZ_(b) if (i->ftz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 168 #define DNZ_(b) if (i->dnz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 170 #define SAT_(b) if (i->saturate) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 179 code[pos / 32] |= (src.get() ? SDATA(src).id : GK110_GPR_ZERO) << (pos % 32); 184 code[pos / 32] |= (src ? SDATA(*src).id : GK110_GPR_ZERO) << (pos % 32); 190 code[pos / 32] |= r << (pos % 32); 195 code[pos / 32] |= (SDATA(src).offset >> 2) << (pos % 32) [all...] |