Home
last modified time | relevance | path

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

12345678910>>...200

/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.sh32 abbrev[0]: code = 1, tag = 17, children = 1
33 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
34 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
35 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
36 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
37 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
38 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
39 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
40 abbrev[19]: code = 2, tag = 46, children = 1
41 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
[all …]
/external/proguard/src/proguard/classfile/instruction/
DInstruction.java686 write(codeAttribute.code, offset); in write()
693 public void write(byte[] code, int offset) in write() argument
698 code[offset++] = InstructionConstants.OP_WIDE; in write()
702 code[offset++] = opcode; in write()
705 writeInfo(code, offset); in write()
722 protected abstract void readInfo(byte[] code, int offset); in readInfo() argument
728 protected abstract void writeInfo(byte[] code, int offset); in writeInfo() argument
793 protected static int readByte(byte[] code, int offset) in readByte() argument
795 return code[offset] & 0xff; in readByte()
798 protected static int readShort(byte[] code, int offset) in readShort() argument
[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/openfst/src/include/fst/
Dicu.h48 int code = c & ((1 << (6 - count)) - 1); in UTF8StringToLabels() local
59 code = (code << 6) | (cb & 0x3f); in UTF8StringToLabels()
62 if (code < 0) { in UTF8StringToLabels()
67 labels->push_back(code); in UTF8StringToLabels()
77 int32_t code = labels[i]; in LabelsToUTF8String() local
78 if (code < 0) { in LabelsToUTF8String()
79 LOG(ERROR) << "LabelsToUTF8String: Invalid character found: " << code; in LabelsToUTF8String()
81 } else if (code < 0x80) { in LabelsToUTF8String()
82 ostr << static_cast<char>(code); in LabelsToUTF8String()
83 } else if (code < 0x800) { in LabelsToUTF8String()
[all …]
/external/icu4c/common/
Dutypes.c191 u_errorName(UErrorCode code) { in u_errorName() argument
192 if(U_ZERO_ERROR <= code && code < U_STANDARD_ERROR_LIMIT) { in u_errorName()
193 return _uErrorName[code]; in u_errorName()
194 } else if(U_ERROR_WARNING_START <= code && code < U_ERROR_WARNING_LIMIT) { in u_errorName()
195 return _uErrorInfoName[code - U_ERROR_WARNING_START]; in u_errorName()
196 } else if(U_PARSE_ERROR_START <= code && code < U_PARSE_ERROR_LIMIT){ in u_errorName()
197 return _uTransErrorName[code - U_PARSE_ERROR_START]; in u_errorName()
198 } else if(U_FMT_PARSE_ERROR_START <= code && code < U_FMT_PARSE_ERROR_LIMIT){ in u_errorName()
199 return _uFmtErrorName[code - U_FMT_PARSE_ERROR_START]; in u_errorName()
200 } else if (U_BRK_ERROR_START <= code && code < U_BRK_ERROR_LIMIT){ in u_errorName()
[all …]
/external/harfbuzz_ng/src/hb-ucdn/
Ducdn.c54 static const UCDRecord *get_ucd_record(uint32_t code) in get_ucd_record() argument
58 if (code >= 0x110000) in get_ucd_record()
61 index = index0[code >> (SHIFT1+SHIFT2)] << SHIFT1; in get_ucd_record()
62 offset = (code >> SHIFT2) & ((1<<SHIFT1) - 1); in get_ucd_record()
64 offset = code & ((1<<SHIFT2) - 1); in get_ucd_record()
71 static const unsigned short *get_decomp_record(uint32_t code) in get_decomp_record() argument
75 if (code >= 0x110000) in get_decomp_record()
78 index = decomp_index0[code >> (DECOMP_SHIFT1+DECOMP_SHIFT2)] in get_decomp_record()
80 offset = (code >> DECOMP_SHIFT2) & ((1<<DECOMP_SHIFT1) - 1); in get_decomp_record()
82 offset = code & ((1<<DECOMP_SHIFT2) - 1); in get_decomp_record()
[all …]
/external/webkit/LayoutTests/fast/dom/DOMImplementation/script-tests/
DcreateDocument-namespace-err.js46 { args: [undefined, null], code: 5 }, property
47 { args: [null, null], code: 5 }, property
48 { args: [null, ""], code: 5 }, property
49 { args: ["", null], code: 5 }, property
50 { args: ["", ""], code: 5 }, property
51 { args: [null, "<div>"], code: 5 }, property
52 { args: [null, "0div"], code: 5 }, property
53 { args: [null, "di v"], code: 5 }, property
54 { args: [null, "di<v"], code: 5 }, property
55 { args: [null, "-div"], code: 5 }, property
[all …]
DcreateDocumentType-err.js30 { args: [undefined, undefined], code: 5 }, property
31 { args: [null, undefined], code: 5 }, property
32 { args: [undefined, null], code: 5 }, property
33 { args: [undefined, undefined, null], code: 5 }, property
34 { args: [null, null], code: 5 }, property
35 { args: [null, null, null], code: 5 }, property
36 { args: [null, ""], code: 5 }, property
37 { args: ["", null], code: 5 }, property
38 { args: ["", ""], code: 5 }, property
39 { args: ["a:", null, null], code: 14 }, property
[all …]
/external/v8/test/mjsunit/compiler/
Dliterals-assignment.js34 var code = "(function() {\ variable
39 assertEquals(8, eval(code));
41 code = "(function() {\
46 assertEquals("abc", eval(code));
50 code = "(function() {\
55 assertEquals(8, eval(code));
58 code = "(function() {\
63 assertEquals(8, eval(code));
66 code = "(function() {\
70 assertEquals(8, eval(code));
[all …]
/external/strace/
Dioctl.c76 unsigned long code1 = ((struct ioctlent *) a)->code;
77 unsigned long code2 = ((struct ioctlent *) b)->code;
82 ioctl_lookup(code) in ioctl_lookup() argument
83 long code; in ioctl_lookup()
87 ioent.code = code;
89 ioent.code &= (_IOC_NRMASK<<_IOC_NRSHIFT) | (_IOC_TYPEMASK<<_IOC_TYPESHIFT);
94 if ((--iop)->code != ioent.code) {
105 long code; local
107 code = (iop++)->code;
108 if (iop < ioctlent + nioctlents && iop->code == code)
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DKeyboardShortcut.js52 Backspace: { code: 8, name: "\u21a4" }, property
53 Tab: { code: 9, name: { mac: "\u21e5", other: "<Tab>" } }, property
54 Enter: { code: 13, name: { mac: "\u21a9", other: "<Enter>" } }, property
55 Esc: { code: 27, name: { mac: "\u238b", other: "<Esc>" } }, property
56 Space: { code: 32, name: "<Space>" }, property
57 PageUp: { code: 33, name: { mac: "\u21de", other: "<PageUp>" } }, // also NUM_NORTH_EAST property
58 PageDown: { code: 34, name: { mac: "\u21df", other: "<PageDown>" } }, // also NUM_SOUTH_EAST property
59 End: { code: 35, name: { mac: "\u2197", other: "<End>" } }, // also NUM_SOUTH_WEST property
60 Home: { code: 36, name: { mac: "\u2196", other: "<Home>" } }, // also NUM_NORTH_WEST property
61 Left: { code: 37, name: "\u2190" }, // also NUM_WEST property
[all …]
/external/javassist/src/main/javassist/bytecode/
DByteArray.java25 public static int readU16bit(byte[] code, int index) { in readU16bit() argument
26 return ((code[index] & 0xff) << 8) | (code[index + 1] & 0xff); in readU16bit()
32 public static int readS16bit(byte[] code, int index) { in readS16bit() argument
33 return (code[index] << 8) | (code[index + 1] & 0xff); in readS16bit()
39 public static void write16bit(int value, byte[] code, int index) { in write16bit() argument
40 code[index] = (byte)(value >>> 8); in write16bit()
41 code[index + 1] = (byte)value; in write16bit()
47 public static int read32bit(byte[] code, int index) { in read32bit() argument
48 return (code[index] << 24) | ((code[index + 1] & 0xff) << 16) in read32bit()
49 | ((code[index + 2] & 0xff) << 8) | (code[index + 3] & 0xff); in read32bit()
[all …]
/external/guava/guava/src/com/google/common/primitives/
Dgenerate.sh61 * Static utility methods pertaining to {@code primtyp} primitives, that are not
72 * The number of bytes required to represent a primitive {@code primtyp}
78 * Returns a hash code for {@code value}; equal to the result of invoking
79 * {@code ((WrapperCl) value).hashCode()}.
81 * @param value a primitive {@code primtyp} value
82 * @return a hash code for the value
89 * Returns the {@code primtyp} value that is equal to {@code value}, if
92 * @param value any value in the range of the {@code primtyp} type
93 * @return the {@code primtyp} value that equals {@code value}
94 * @throws IllegalArgumentException if {@code value} is greater than {@link
[all …]
/external/javassist/src/main/javassist/bytecode/stackmap/
DTracer.java90 protected int doOpcode(int pos, byte[] code) throws BadBytecode { in doOpcode() argument
92 int op = code[pos] & 0xff; in doOpcode()
95 return doOpcode0_53(pos, code, op); in doOpcode()
97 return doOpcode54_95(pos, code, op); in doOpcode()
100 return doOpcode96_147(pos, code, op); in doOpcode()
102 return doOpcode148_201(pos, code, op); in doOpcode()
109 protected void visitBranch(int pos, byte[] code, int offset) throws BadBytecode {} in visitBranch() argument
110 protected void visitGoto(int pos, byte[] code, int offset) throws BadBytecode {} in visitGoto() argument
111 protected void visitReturn(int pos, byte[] code) throws BadBytecode {} in visitReturn() argument
112 protected void visitThrow(int pos, byte[] code) throws BadBytecode {} in visitThrow() argument
[all …]
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java81 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testNewInstance() local
82 Local<Long> localA = code.getParameter(0, TypeId.LONG); in testNewInstance()
83 Local<Boolean> localB = code.getParameter(1, TypeId.BOOLEAN); in testNewInstance()
86 Local<Constructable> localResult = code.newLocal(constructable); in testNewInstance()
87 code.newInstance(localResult, constructor, localA, localB); in testNewInstance()
88 code.returnValue(localResult); in testNewInstance()
110 Code code = dexMaker.declare(methodId, PUBLIC); in testVoidNoArgMemberMethod() local
111 code.returnVoid(); in testVoidNoArgMemberMethod()
129 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testInvokeStatic() local
130 Local<Integer> localA = code.getParameter(0, TypeId.INT); in testInvokeStatic()
[all …]
/external/chromium/third_party/libevent/
Devent_rpcgen.py52 def PrintIdented(self, file, ident, code): argument
54 for entry in code:
354 code = [ 'int %s(struct %s *, %s *);' % (
356 return code
359 code = (
369 code = '\n'.join(code)
370 code = code % self.GetTranslation()
371 return code.split('\n')
380 code = [ 'int %s(struct %s *, const %s);' % (
382 return code
[all …]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g13 1. Redistributions of source code must retain the above copyright
33 /** Walk a grammar and generate code by gradually building up
375 if ( $rST.code != null )
377 recognizerST.add("rules", $rST.code);
378 outputFileST.add("rules", $rST.code);
379 headerFileST.add("rules", $rST.code);
396 rule returns [ST code=null]
409 // For syn preds, we don't want any AST code etc... in there.
435 $b.code.add("description", description);
461 $code = templates.getInstanceOf(stName);
[all …]
/external/valgrind/main/none/tests/amd64/
Dsmc1.c51 static UChar* code; variable
60 code[0] = 0x48; in set_dest()
61 code[1] = 0xB8; in set_dest()
62 code[2] = (dest & 0xFF); in set_dest()
63 code[3] = ((dest >> 8) & 0xFF); in set_dest()
64 code[4] = ((dest >> 16) & 0xFF); in set_dest()
65 code[5] = ((dest >> 24) & 0xFF); in set_dest()
66 code[6] = ((dest >> 32) & 0xFF); in set_dest()
67 code[7] = ((dest >> 40) & 0xFF); in set_dest()
68 code[8] = ((dest >> 48) & 0xFF); in set_dest()
[all …]
/external/antlr/antlr-3.4/runtime/C/doxygen/
Datsections.dox7 /// the placement of their contents within the generated code at defined points
12 /// \code
28 /// Java targeted grammars allow the special section <code>\@init</code> to be placed after the dec…
30 /// variables that are local to the code generated for that rule. You can then reference them within
31 /// your rule action code.
33 /// With the C target, the generated code is subject to the restrictions of C semantics and this
35 /// <code>\@init</code> section, which C programmers should use to initialize their local variables…
36 /// target provides the <code>\@declarations</code> section, which is also a rule based section. Th…
40 /// \code
58 /// Using the <code>\@declarations</code> and <code>\@init</code> sections guarantees that your gen…
[all …]
/external/apache-http/src/org/apache/commons/codec/language/
DMetaphone.java88 StringBuffer code = new StringBuffer(10) ; // output in metaphone() local
130 while ((code.length() < this.getMaxCodeLen()) && in metaphone()
140 code.append(symb); in metaphone()
148 code.append(symb); in metaphone()
158 code.append('X'); in metaphone()
163 code.append('S'); in metaphone()
168 code.append('K') ; in metaphone()
175 code.append('K'); in metaphone()
177 code.append('X'); // CHvowel -> X in metaphone()
180 code.append('K'); in metaphone()
[all …]
/external/webkit/Source/WebCore/dom/
DExceptionCode.cpp252 int code = ec; in getExceptionCodeDescription() local
259 if (code >= RangeException::RangeExceptionOffset && code <= RangeException::RangeExceptionMax) { in getExceptionCodeDescription()
262 code -= RangeException::RangeExceptionOffset; in getExceptionCodeDescription()
267 …} else if (code >= EventException::EventExceptionOffset && code <= EventException::EventExceptionM… in getExceptionCodeDescription()
270 code -= EventException::EventExceptionOffset; in getExceptionCodeDescription()
275 …} else if (code >= XMLHttpRequestException::XMLHttpRequestExceptionOffset && code <= XMLHttpReques… in getExceptionCodeDescription()
278 code -= XMLHttpRequestException::XMLHttpRequestExceptionOffset; in getExceptionCodeDescription()
285 …} else if (code >= XPathException::XPathExceptionOffset && code <= XPathException::XPathExceptionM… in getExceptionCodeDescription()
288 code -= XPathException::XPathExceptionOffset; in getExceptionCodeDescription()
296 } else if (code >= SVGException::SVGExceptionOffset && code <= SVGException::SVGExceptionMax) { in getExceptionCodeDescription()
[all …]
/external/javassist/src/main/javassist/
DCtField.java813 abstract int compile(CtClass type, String name, Bytecode code, in compile() argument
819 Bytecode code, Javac drv) throws CannotCompileException; in compileIfStatic() argument
829 int compile(CtClass type, String name, Bytecode code, in compile() argument
834 code.addAload(0); in compile()
836 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
837 return code.getMaxStack(); in compile()
844 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic() argument
849 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic()
850 return code.getMaxStack(); in compileIfStatic()
929 int compile(CtClass type, String name, Bytecode code, in compile() argument
[all …]
/external/v8/src/
Dstub-cache.cc58 Code* StubCache::Set(String* name, Map* map, Code* code) { in Set() argument
60 Code::Flags flags = Code::RemoveTypeFromFlags(code->flags()); in Set()
95 primary->value = code; in Set()
98 return code; in Set()
126 Handle<Code> code = in ComputeLoadNonexistent() local
128 PROFILE(isolate_, CodeCreateEvent(Logger::LOAD_IC_TAG, *code, *cache_name)); in ComputeLoadNonexistent()
129 GDBJIT(AddCode(GDBJITInterface::LOAD_IC, *cache_name, *code)); in ComputeLoadNonexistent()
130 JSObject::UpdateMapCodeCache(receiver, cache_name, code); in ComputeLoadNonexistent()
131 return code; in ComputeLoadNonexistent()
145 Handle<Code> code = in ComputeLoadField() local
[all …]

12345678910>>...200