Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 13021) sorted by relevance

12345678910>>...521

/external/libxml2/
Dxmlunicode.c976 xmlUCSIsAegeanNumbers(int code) { in xmlUCSIsAegeanNumbers() argument
977 return(((code >= 0x10100) && (code <= 0x1013F))); in xmlUCSIsAegeanNumbers()
989 xmlUCSIsAlphabeticPresentationForms(int code) { in xmlUCSIsAlphabeticPresentationForms() argument
990 return(((code >= 0xFB00) && (code <= 0xFB4F))); in xmlUCSIsAlphabeticPresentationForms()
1002 xmlUCSIsArabic(int code) { in xmlUCSIsArabic() argument
1003 return(((code >= 0x0600) && (code <= 0x06FF))); in xmlUCSIsArabic()
1015 xmlUCSIsArabicPresentationFormsA(int code) { in xmlUCSIsArabicPresentationFormsA() argument
1016 return(((code >= 0xFB50) && (code <= 0xFDFF))); in xmlUCSIsArabicPresentationFormsA()
1028 xmlUCSIsArabicPresentationFormsB(int code) { in xmlUCSIsArabicPresentationFormsB() argument
1029 return(((code >= 0xFE70) && (code <= 0xFEFF))); in xmlUCSIsArabicPresentationFormsB()
[all …]
/external/libxml2/include/libxml/
Dxmlunicode.h26 XMLPUBFUN int XMLCALL xmlUCSIsAegeanNumbers (int code);
27 XMLPUBFUN int XMLCALL xmlUCSIsAlphabeticPresentationForms (int code);
28 XMLPUBFUN int XMLCALL xmlUCSIsArabic (int code);
29 XMLPUBFUN int XMLCALL xmlUCSIsArabicPresentationFormsA (int code);
30 XMLPUBFUN int XMLCALL xmlUCSIsArabicPresentationFormsB (int code);
31 XMLPUBFUN int XMLCALL xmlUCSIsArmenian (int code);
32 XMLPUBFUN int XMLCALL xmlUCSIsArrows (int code);
33 XMLPUBFUN int XMLCALL xmlUCSIsBasicLatin (int code);
34 XMLPUBFUN int XMLCALL xmlUCSIsBengali (int code);
35 XMLPUBFUN int XMLCALL xmlUCSIsBlockElements (int code);
[all …]
/external/elfutils/tests/
Drun-show-abbrev.sh24 abbrev[0]: code = 1, tag = 17, children = 1
25 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
26 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
27 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
28 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
29 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
30 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
31 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
32 abbrev[19]: code = 2, tag = 46, children = 1
33 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
[all …]
/external/flatbuffers/src/
Didl_gen_php.cpp67 auto &code = *code_ptr; in BeginFile() local
68 code += "<?php\n"; in BeginFile()
69 code = code + "// " + FlatBuffersGeneratedWarning() + "\n\n"; in BeginFile()
72 code += "namespace " + name_space_name + ";\n\n"; in BeginFile()
76 code += "use \\Google\\FlatBuffers\\Struct;\n"; in BeginFile()
77 code += "use \\Google\\FlatBuffers\\Table;\n"; in BeginFile()
78 code += "use \\Google\\FlatBuffers\\ByteBuffer;\n"; in BeginFile()
79 code += "use \\Google\\FlatBuffers\\FlatBufferBuilder;\n"; in BeginFile()
80 code += "\n"; in BeginFile()
89 std::string code = ""; in SaveType() local
[all …]
Didl_gen_csharp.cpp97 std::string code = in SaveType() local
106 code += "namespace " + namespace_name + "\n{\n\n"; in SaveType()
109 code += "using global::System;\n"; in SaveType()
110 code += "using global::System.Collections.Generic;\n"; in SaveType()
111 code += "using global::FlatBuffers;\n\n"; in SaveType()
113 code += classcode; in SaveType()
114 if (!namespace_name.empty()) { code += "\n}\n"; } in SaveType()
116 return SaveFile(filename.c_str(), code, false); in SaveType()
264 std::string &code = *code_ptr; in GenEnum() local
275 code += in GenEnum()
[all …]
Didl_gen_java.cpp97 std::string code; in SaveType() local
98 code = "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; in SaveType()
102 code += "package " + namespace_name + ";"; in SaveType()
103 code += "\n\n"; in SaveType()
106 code += in SaveType()
110 code += "\nimport javax.annotation.Nullable;\n"; in SaveType()
113 code += "\nimport org.checkerframework.dataflow.qual.Pure;\n"; in SaveType()
115 code += "\n@SuppressWarnings(\"unused\")\n"; in SaveType()
118 code += "\n@javax.annotation.Generated(value=\"flatc\")\n"; in SaveType()
120 code += classcode; in SaveType()
[all …]
Didl_gen_go.cpp106 std::string code = ""; in generate() local
108 BeginFile(LastNamespacePart(go_namespace_), true, is_enum, &code); in generate()
109 code += one_file_code; in generate()
112 return SaveFile(filename.c_str(), code, false); in generate()
138 std::string &code = *code_ptr; in BeginClass() local
140 code += "type " + struct_def.name + " struct {\n\t"; in BeginClass()
143 code += "_tab "; in BeginClass()
144 code += struct_def.fixed ? "flatbuffers.Struct" : "flatbuffers.Table"; in BeginClass()
145 code += "\n}\n\n"; in BeginClass()
156 std::string &code = *code_ptr; in GenEnumType() local
[all …]
Didl_gen_dart.cpp57 std::string code; in generate() local
63 code.clear(); in generate()
64 code = code + "// " + FlatBuffersGeneratedWarning() + "\n"; in generate()
65 code = code + in generate()
69 if (!kv->first.empty()) { code += "library " + kv->first + ";\n\n"; } in generate()
71 code += "import 'dart:typed_data' show Uint8List;\n"; in generate()
72 code += "import 'package:flat_buffers/flat_buffers.dart' as " + _kFb + in generate()
76 GenIncludeDependencies(&code, kv->first); in generate()
82 code += in generate()
91 code += "\n"; in generate()
[all …]
Didl_gen_python.cpp65 auto &code = *code_ptr; in BeginClass() local
66 code += "class " + NormalizedName(struct_def) + "(object):\n"; in BeginClass()
67 code += Indent + "__slots__ = ['_tab']"; in BeginClass()
68 code += "\n\n"; in BeginClass()
73 auto &code = *code_ptr; in BeginEnum() local
74 code += "class " + class_name + "(object):\n"; in BeginEnum()
109 auto &code = *code_ptr; in EnumMember() local
110 code += Indent; in EnumMember()
111 code += NormalizedName(ev); in EnumMember()
112 code += " = "; in EnumMember()
[all …]
Didl_gen_lua.cpp64 std::string &code = *code_ptr; in BeginClass() local
65 code += "local " + NormalizedName(struct_def) + " = {} -- the module\n"; in BeginClass()
66 code += "local " + NormalizedMetaName(struct_def) + in BeginClass()
68 code += "\n"; in BeginClass()
73 std::string &code = *code_ptr; in BeginEnum() local
74 code += "local " + class_name + " = {\n"; in BeginEnum()
96 std::string &code = *code_ptr; in EnumMember() local
97 code += std::string(Indent) + NormalizedName(ev) + " = " + in EnumMember()
103 std::string &code = *code_ptr; in EndEnum() local
104 code += "}\n"; in EndEnum()
[all …]
Didl_gen_js_ts.cpp82 std::string enum_code, struct_code, import_code, exports_code, code; in generate() local
88 code = code + "// " + FlatBuffersGeneratedWarning() + "\n\n"; in generate()
91 GenNamespaces(&code, &exports_code); in generate()
94 code += import_code; in generate()
96 code += enum_code; in generate()
97 code += struct_code; in generate()
102 code += "// Exports for ECMAScript6 Modules\n"; in generate()
104 code += "// Exports for Node.js and RequireJS\n"; in generate()
105 code += exports_code; in generate()
109 code, false); in generate()
[all …]
/external/selinux/secilc/docs/
Dcil_constraint_statements.md22 <td align="left"><p><code>constrain</code></p></td>
23 <td align="left"><p>The <code>constrain</code> keyword.</p></td>
26 <td align="left"><p><code>classpermissionset_id</code></p></td>
27 … single named or anonymous <code>classpermissionset</code> or a single set of <code>classmap</code
30 <td align="left"><p><code>expression</code></p></td>
31 …td align="left"><p>There must be one constraint <code>expression</code> or one or more <code>expr<…
32 <p><code> (op u1 u2)</code></p>
33 <p><code> (role_op r1 r2)</code></p>
34 <p><code> (op t1 t2)</code></p>
35 <p><code> (op u1 user_id)</code></p>
[all …]
Dcil_access_vector_rules.md22 <td align="left"><p><code>allow</code></p></td>
23 <td align="left"><p>The <code>allow</code> keyword.</p></td>
26 <td align="left"><p><code>source_id</code></p></td>
27 …t"><p>A single previously defined source <code>type</code>, <code>typealias</code> or <code>typeat…
30 <td align="left"><p><code>target_id</code></p></td>
31 …t"><p>A single previously defined target <code>type</code>, <code>typealias</code> or <code>typeat…
32 <p>The <code>self</code> keyword may be used instead to signify that source and target are the same…
35 <td align="left"><p><code>classpermissionset_id</code></p></td>
36 … single named or anonymous <code>classpermissionset</code> or a single set of <code>classmap</code
106 <td align="left"><p><code>auditallow</code></p></td>
[all …]
Dcil_conditional_statements.md7 …nif`](cil_conditional_statements.md#booleanif) statement contains the CIL code that will be in the…
22 <td align="left"><p><code>boolean</code></p></td>
23 <td align="left"><p>The <code>boolean</code> keyword.</p></td>
26 <td align="left"><p><code>boolean_id</code></p></td>
27 <td align="left"><p>The <code>boolean</code> identifier.</p></td>
30 <td align="left"><p><code>true | false</code></p></td>
31 …g <strong><code>setsebool</code></strong><code>(8)</code> and its status queried using <strong><co…
67 <td align="left"><p><code>booleanif</code></p></td>
68 <td align="left"><p>The <code>booleanif</code> keyword.</p></td>
71 <td align="left"><p><code>boolean_id</code></p></td>
[all …]
/external/libxkbcommon/src/
Dkeysym.c305 UCSConvertCase(uint32_t code, xkb_keysym_t *lower, xkb_keysym_t *upper) in UCSConvertCase() argument
464 *lower = code; in UCSConvertCase()
465 *upper = code; in UCSConvertCase()
468 if (code <= 0x00ff) { in UCSConvertCase()
469 if (code >= 0x0041 && code <= 0x005a) /* A-Z */ in UCSConvertCase()
471 else if (code >= 0x0061 && code <= 0x007a) /* a-z */ in UCSConvertCase()
473 else if ( (code >= 0x00c0 && code <= 0x00d6) || in UCSConvertCase()
474 (code >= 0x00d8 && code <= 0x00de) ) in UCSConvertCase()
476 else if ( (code >= 0x00e0 && code <= 0x00f6) || in UCSConvertCase()
477 (code >= 0x00f8 && code <= 0x00fe) ) in UCSConvertCase()
[all …]
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dcodegen.c86 static void gpir_codegen_mul0_slot(gpir_codegen_instr *code, gpir_instr *instr) in gpir_codegen_mul0_slot() argument
91 code->mul0_src0 = gpir_codegen_src_unused; in gpir_codegen_mul0_slot()
92 code->mul0_src1 = gpir_codegen_src_unused; in gpir_codegen_mul0_slot()
100 code->mul0_src0 = gpir_get_alu_input(node, alu->children[0]); in gpir_codegen_mul0_slot()
101 code->mul0_src1 = gpir_get_alu_input(node, alu->children[1]); in gpir_codegen_mul0_slot()
102 if (code->mul0_src1 == gpir_codegen_src_p1_complex) { in gpir_codegen_mul0_slot()
104 code->mul0_src1 = code->mul0_src0; in gpir_codegen_mul0_slot()
105 code->mul0_src0 = gpir_codegen_src_p1_complex; in gpir_codegen_mul0_slot()
108 code->mul0_neg = alu->dest_negate; in gpir_codegen_mul0_slot()
110 code->mul0_neg = !code->mul0_neg; in gpir_codegen_mul0_slot()
[all …]
/external/strace/
Dioctl.c40 const unsigned int code2 = ((struct_ioctlent *) b)->code; in compare()
45 ioctl_lookup(const unsigned int code) in ioctl_lookup() argument
49 iop = bsearch((const void *) (const uintptr_t) code, ioctlent, in ioctl_lookup()
53 if (iop->code != code) { in ioctl_lookup()
64 const unsigned int code = iop->code; in ioctl_next_match() local
66 if (iop < ioctlent + nioctlents && iop->code == code) in ioctl_next_match()
72 ioctl_print_code(const unsigned int code) in ioctl_print_code() argument
75 printflags(ioctl_dirs, _IOC_DIR(code), "_IOC_???"); in ioctl_print_code()
77 _IOC_TYPE(code), _IOC_NR(code), _IOC_SIZE(code)); in ioctl_print_code()
81 evdev_decode_number(const unsigned int code) in evdev_decode_number() argument
[all …]
/external/mesa3d/src/mapi/glapi/
Dglapi_entrypoint.c103 GLubyte * const code = (GLubyte *) u_execmem_alloc(DISPATCH_FUNCTION_SIZE); in generate_entrypoint() local
106 if ( code != NULL ) { in generate_entrypoint()
107 (void) memcpy(code, template_func, DISPATCH_FUNCTION_SIZE); in generate_entrypoint()
108 fill_in_entrypoint_offset( (_glapi_proc) code, functionOffset ); in generate_entrypoint()
111 return (_glapi_proc) code; in generate_entrypoint()
122 GLubyte * const code = (GLubyte *) entrypoint; in fill_in_entrypoint_offset() local
125 *((unsigned int *)(code + 8)) = 4 * offset; in fill_in_entrypoint_offset()
127 *((unsigned int *)(code + 11)) = 4 * offset; in fill_in_entrypoint_offset()
128 *((unsigned int *)(code + 22)) = 4 * offset; in fill_in_entrypoint_offset()
196 unsigned int *code = &__glapi_sparc_tls_stub; in init_glapi_relocs() local
[all …]
/external/javassist/src/test/test/javassist/bytecode/analysis/
DScannerTest.java111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9); in generate() local
112 /* 0 */ code.addAload(0); in generate()
113 /* 1 */ code.addLdc("start"); in generate()
114 … /* 3 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); in generate()
115 /* 6 */ code.addAload(0); in generate()
116 /* 7 */ code.addLdc("try"); in generate()
117 … /* 9 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); in generate()
118 /* 12 */ addJump(code, Opcode.GOTO, 125); in generate()
119 /* 14 */ code.addAstore(2); in generate()
120 /* 16 */ code.addAload(2); in generate()
[all …]
/external/proguard/src/proguard/classfile/instruction/
DInstruction.java894 write(codeAttribute.code, offset); in write()
901 public void write(byte[] code, int offset) in write() argument
906 code[offset++] = InstructionConstants.OP_WIDE; in write()
910 code[offset++] = opcode; in write()
913 writeInfo(code, offset); in write()
930 protected abstract void readInfo(byte[] code, int offset); in readInfo() argument
936 protected abstract void writeInfo(byte[] code, int offset); in writeInfo() argument
1010 protected static int readByte(byte[] code, int offset) in readByte() argument
1012 return code[offset] & 0xff; in readByte()
1015 protected static int readShort(byte[] code, int offset) in readShort() argument
[all …]
/external/python/cpython3/Lib/
Dstringprep.py12 def in_table_a1(code): argument
13 if unicodedata.category(code) != 'Cn': return False
14 c = ord(code)
20 def in_table_b1(code): argument
21 return ord(code) in b1_set
189 def map_table_b3(code): argument
190 r = b3_exceptions.get(ord(code))
192 return code.lower()
206 def in_table_c11(code): argument
207 return code == " "
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_emit_nv50.cpp140 code[pos / 32] |= SDATA(src).id << (pos % 32); in srcId()
146 code[pos / 32] |= SDATA(*src).id << (pos % 32); in srcId()
164 code[pos / 32] |= offset << (pos % 32); in srcAddr16()
175 code[pos / 32] |= (offset >> 2) << (pos % 32); in srcAddr8()
182 code[pos / 32] |= DDATA(def).id << (pos % 32); in defId()
189 case ROUND_M: code[1] |= 1 << 22; break; in roundMode_MAD()
190 case ROUND_P: code[1] |= 2 << 22; break; in roundMode_MAD()
191 case ROUND_Z: code[1] |= 3 << 22; break; in roundMode_MAD()
201 code[1] |= i->src(0).mod.neg() << 26; in emitMNeg12()
202 code[1] |= i->src(1).mod.neg() << 27; in emitMNeg12()
[all …]
Dnv50_ir_emit_gk110.cpp163 if (i->src(s).mod.neg()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
165 if (i->src(s).mod.abs()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
168 code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
170 #define FTZ_(b) if (i->ftz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
171 #define DNZ_(b) if (i->dnz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
173 #define SAT_(b) if (i->saturate) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
182 code[pos / 32] |= (src.get() ? SDATA(src).id : GK110_GPR_ZERO) << (pos % 32); in srcId()
187 code[pos / 32] |= (src ? SDATA(*src).id : GK110_GPR_ZERO) << (pos % 32); in srcId()
193 code[pos / 32] |= r << (pos % 32); in srcId()
198 code[pos / 32] |= (SDATA(src).offset >> 2) << (pos % 32); in srcAddr32()
[all …]
/external/yapf/yapf/yapflib/
Dverifier.py33 def VerifyCode(code): argument
43 compile(textwrap.dedent(code).encode('UTF-8'), '<string>', 'exec')
46 ast.parse(textwrap.dedent(code.lstrip('\n')).lstrip(), '<string>', 'exec')
49 normalized_code = _NormalizeCode(code)
55 def _NormalizeCode(code): argument
57 code = textwrap.dedent(code.lstrip('\n')).lstrip()
61 lines = code.split('\n')
67 code = '\n'.join(lines[i:]) + '\n'
69 if re.match(r'(if|while|for|with|def|class|async|await)\b', code):
70 code += '\n pass'
[all …]
/external/python/cpython2/Modules/cjkcodecs/
D_codecs_jp.c24 DBCHAR code; in ENCODER() local
51 TRYMAP_ENC(cp932ext, code, c) { in ENCODER()
52 OUT1(code >> 8) in ENCODER()
53 OUT2(code & 0xff) in ENCODER()
55 else TRYMAP_ENC(jisxcommon, code, c) { in ENCODER()
56 if (code & 0x8000) /* MSB set: JIS X 0212 */ in ENCODER()
60 c1 = code >> 8; in ENCODER()
61 c2 = code & 0xff; in ENCODER()
151 DBCHAR code; in ENCODER() local
164 EMULATE_JISX0213_2000_ENCODE_BMP(code, c) in ENCODER()
[all …]

12345678910>>...521