Searched refs:code (Results 26 - 50 of 4188) sorted by relevance

1234567891011>>

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
H A DCode4.java23 private final Integer code; field in class:Code4
26 this.code = name;
30 this.code = new Integer(name.intValue());
34 return code;
40 Code4 code = (Code4) obj;
41 return code.equals(code.code);
49 return code.hashCode();
54 return "<Code4 code
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DInstruction.java890 * Writes the Instruction at the given offset in the given code attribute.
894 write(codeAttribute.code, offset);
899 * Writes the Instruction at the given offset in the given code array.
901 public void write(byte[] code, int offset) argument
906 code[offset++] = InstructionConstants.OP_WIDE;
910 code[offset++] = opcode;
913 writeInfo(code, offset);
930 protected abstract void readInfo(byte[] code, int offset); argument
936 protected abstract void writeInfo(byte[] code, int offset); argument
1010 protected static int readByte(byte[] code, in argument
1015 readShort(byte[] code, int offset) argument
1021 readInt(byte[] code, int offset) argument
1029 readValue(byte[] code, int offset, int valueSize) argument
1041 readSignedByte(byte[] code, int offset) argument
1046 readSignedShort(byte[] code, int offset) argument
1052 readSignedValue(byte[] code, int offset, int valueSize) argument
1064 writeByte(byte[] code, int offset, int value) argument
1074 writeShort(byte[] code, int offset, int value) argument
1085 writeInt(byte[] code, int offset, int value) argument
1093 writeValue(byte[] code, int offset, int value, int valueSize) argument
1105 writeSignedByte(byte[] code, int offset, int value) argument
1115 writeSignedShort(byte[] code, int offset, int value) argument
1126 writeSignedValue(byte[] code, int offset, int value, int valueSize) argument
[all...]
/external/syslinux/com32/gpllib/dmi/
H A Ddmi_memory.c22 * 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 void dmi_memory_array_error_handle(uint16_t code, char *array) argument
34 if (code == 0xFFFE)
36 else if (code == 0xFFFF)
39 sprintf(array, "0x%04X", code);
42 void dmi_memory_device_width(uint16_t code, char *width) argument
48 if (code == 0xFFFF || code == 0)
51 sprintf(width, "%u bits", code);
54 dmi_memory_device_size(uint16_t code, char *size) argument
68 dmi_memory_device_form_factor(uint8_t code) argument
94 dmi_memory_device_set(uint8_t code, char *set) argument
104 dmi_memory_device_type(uint8_t code) argument
140 dmi_memory_device_type_detail(uint16_t code, char *type_detail, int sizeof_type_detail) argument
169 dmi_memory_device_speed(uint16_t code, char *speed) argument
181 dmi_memory_module_types(uint16_t code, const char *sep, char *type, int sizeof_type) argument
209 dmi_memory_module_connections(uint8_t code, char *connection, int sizeof_connection) argument
221 dmi_memory_module_speed(uint8_t code, char *speed) argument
229 dmi_memory_module_size(uint8_t code, char *size, int sizeof_size) argument
252 dmi_memory_module_error(uint8_t code, const char *prefix, char *error) argument
[all...]
/external/clang/utils/TestUtils/
H A Dpch-test.pl20 my $code = system("clang -fsyntax-only -x $language $file > /dev/null 2>&1");
21 if ($code == 0) {
23 $code = system("clang -cc1 -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1");
24 if ($code == 0) {
25 $code = system("clang -cc1 -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&1");
26 if ($code == 0) {
28 } elsif (($code & 0xFF) == SIGINT) {
36 } elsif (($code & 0xFF) == SIGINT) {
43 } elsif (($code & 0xFF) == SIGINT) {
/external/strace/
H A Dioctl.c12 * 1. Redistributions of source code must retain the above copyright
47 const unsigned int code2 = ((struct_ioctlent *) b)->code;
52 ioctl_lookup(const unsigned int code) argument
56 iop = bsearch((const void *) (const uintptr_t) code, ioctlent,
60 if (iop->code != code) {
71 const unsigned int code = iop->code; local
73 if (iop < ioctlent + nioctlents && iop->code == code)
79 ioctl_print_code(const unsigned int code) argument
88 evdev_decode_number(const unsigned int code) argument
150 hiddev_decode_number(const unsigned int code) argument
188 const unsigned int code = tcp->u_arg[1]; local
257 const unsigned int code = tcp->u_arg[1]; local
[all...]
/external/chromium-trace/catapult/common/eslint/tests/
H A Dcatapult-camelcase.js2 // Use of this source code is governed by a BSD-style license that can be
51 code: "var o = {key: 1}",
55 code: "var o = {bar_baz: 1}",
59 code: "obj.a_b = 2;",
63 code: "var obj = {\n a_a: 1 \n};\n obj.a_b = 2;",
67 code: "obj.foo_bar = function(){};",
71 code: "var { category_id: category } = query;",
75 code: "var { category_id: category } = query;",
80 code: "import { camelCased } from \"external module\";",
84 code
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_flufl.py7 code = "from __future__ import barry_as_FLUFL; 2 {0} 3"
8 compile(code.format('<>'), '<BDFL test>', 'exec',
10 self.assertRaises(SyntaxError, compile, code.format('!='),
15 code = '2 {0} 3'
16 compile(code.format('!='), '<BDFL test>', 'exec')
17 self.assertRaises(SyntaxError, compile, code.format('<>'),
/external/mesa3d/src/mapi/glapi/
H A Dglapi_entrypoint.c28 * Arch-specific code for manipulating GL API entrypoints (dispatch stubs).
103 GLubyte * const code = (GLubyte *) u_execmem_alloc(DISPATCH_FUNCTION_SIZE); local
106 if ( code != NULL ) {
107 (void) memcpy(code, template_func, DISPATCH_FUNCTION_SIZE);
108 fill_in_entrypoint_offset( (_glapi_proc) code, functionOffset );
111 return (_glapi_proc) code;
122 GLubyte * const code = (GLubyte *) entrypoint; local
125 *((unsigned int *)(code + 8)) = 4 * offset;
127 *((unsigned int *)(code + 11)) = 4 * offset;
128 *((unsigned int *)(code
196 unsigned int *code = &__glapi_sparc_tls_stub; local
200 unsigned int *code = &__glapi_sparc_pthread_stub; local
284 unsigned int *code = (unsigned int *) u_execmem_alloc(sizeof(template)); local
303 unsigned int *code = (unsigned int *) entrypoint; local
[all...]
/external/nos/host/generic/libnos/
H A Ddebug.cpp27 std::string StatusCodeString(uint32_t code) { argument
28 switch (code) {
36 if (code >= APP_LINE_NUMBER_BASE && code < MAX_APP_STATUS) {
37 return "APP_LINE_NUMBER " + std::to_string(code - APP_LINE_NUMBER_BASE);
39 if (code >= APP_SPECIFIC_ERROR && code < APP_LINE_NUMBER_BASE) {
41 " + " + std::to_string(code - APP_LINE_NUMBER_BASE);
/external/valgrind/gdbserver_tests/
H A Dnlgone_exit.stdoutB.exp2 Program exited with code 01.
/external/javassist/src/test/test/javassist/bytecode/analysis/
H A DScannerTest.java111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9);
112 /* 0 */ code.addAload(0);
113 /* 1 */ code.addLdc("start");
114 /* 3 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass});
115 /* 6 */ code.addAload(0);
116 /* 7 */ code.addLdc("try");
117 /* 9 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass});
118 /* 12 */ addJump(code, Opcode.GOTO, 125);
119 /* 14 */ code.addAstore(2);
120 /* 16 */ code
180 addJump(Bytecode code, int opcode, int pos) argument
[all...]
/external/pcre/dist2/src/
H A Dpcre2_find_bracket.c9 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,
62 code points to start of expression
70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) argument
74 register PCRE2_UCHAR c = *code;
81 zero; the actual length is stored in the compiled code. */
83 if (c == OP_XCLASS) code += GET(code, 1);
84 else if (c == OP_CALLOUT_STR) code
[all...]
/external/python/cpython2/Lib/xml/dom/
H A D__init__.py24 # the values given in the W3C recommendation. Client code can
72 return self.code
76 code = INDEX_SIZE_ERR variable in class:IndexSizeErr
79 code = DOMSTRING_SIZE_ERR variable in class:DomstringSizeErr
82 code = HIERARCHY_REQUEST_ERR variable in class:HierarchyRequestErr
85 code = WRONG_DOCUMENT_ERR variable in class:WrongDocumentErr
88 code = INVALID_CHARACTER_ERR variable in class:InvalidCharacterErr
91 code = NO_DATA_ALLOWED_ERR variable in class:NoDataAllowedErr
94 code = NO_MODIFICATION_ALLOWED_ERR variable in class:NoModificationAllowedErr
97 code variable in class:NotFoundErr
100 code = NOT_SUPPORTED_ERR variable in class:NotSupportedErr
103 code = INUSE_ATTRIBUTE_ERR variable in class:InuseAttributeErr
106 code = INVALID_STATE_ERR variable in class:InvalidStateErr
109 code = SYNTAX_ERR variable in class:SyntaxErr
112 code = INVALID_MODIFICATION_ERR variable in class:InvalidModificationErr
115 code = NAMESPACE_ERR variable in class:NamespaceErr
118 code = INVALID_ACCESS_ERR variable in class:InvalidAccessErr
121 code = VALIDATION_ERR variable in class:ValidationErr
[all...]
/external/python/cpython3/Lib/xml/dom/
H A D__init__.py25 # the values given in the W3C recommendation. Client code can
73 return self.code
77 code = INDEX_SIZE_ERR variable in class:IndexSizeErr
80 code = DOMSTRING_SIZE_ERR variable in class:DomstringSizeErr
83 code = HIERARCHY_REQUEST_ERR variable in class:HierarchyRequestErr
86 code = WRONG_DOCUMENT_ERR variable in class:WrongDocumentErr
89 code = INVALID_CHARACTER_ERR variable in class:InvalidCharacterErr
92 code = NO_DATA_ALLOWED_ERR variable in class:NoDataAllowedErr
95 code = NO_MODIFICATION_ALLOWED_ERR variable in class:NoModificationAllowedErr
98 code variable in class:NotFoundErr
101 code = NOT_SUPPORTED_ERR variable in class:NotSupportedErr
104 code = INUSE_ATTRIBUTE_ERR variable in class:InuseAttributeErr
107 code = INVALID_STATE_ERR variable in class:InvalidStateErr
110 code = SYNTAX_ERR variable in class:SyntaxErr
113 code = INVALID_MODIFICATION_ERR variable in class:InvalidModificationErr
116 code = NAMESPACE_ERR variable in class:NamespaceErr
119 code = INVALID_ACCESS_ERR variable in class:InvalidAccessErr
122 code = VALIDATION_ERR variable in class:ValidationErr
[all...]
/external/valgrind/none/tests/amd64/
H A Dsmc1.c2 /* Test Valgrind's ability to spot writes to code which has been
18 WRONG output (if you fail to spot code-writes to code[0 .. 4]) is
50 // code on the heap therefore
51 static UChar* code; variable
53 /* Make `code' be movabsq $dest, %rax ; pushq %rax ; ret */
60 code[0] = 0x48;
61 code[1] = 0xB8;
62 code[2] = (dest & 0xFF);
63 code[
[all...]
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
H A DRcsException.java7 * - Redistributions of source code must retain the above copyright
46 public RcsException(String message, int code) { argument
48 mCode = code;
51 public RcsException(String message, Throwable cause, int code) { argument
53 mCode = code;
57 * Gets the detailed exception code when RcsException is throwed
59 * @return the exception code in {@link RcsManager.ResultCode}
/external/llvm/lib/Support/
H A Dregcname.h2 * This code is derived from OpenBSD's libc/regex, original license follows:
8 * This code is derived from software contributed to Berkeley by
14 * 1. Redistributions of source code must retain the above copyright
44 char code; member in struct:cname
/external/swiftshader/third_party/LLVM/lib/Support/
H A Dregcname.h2 * This code is derived from OpenBSD's libc/regex, original license follows:
8 * This code is derived from software contributed to Berkeley by
14 * 1. Redistributions of source code must retain the above copyright
41 char code; member in struct:cname
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregcname.h2 * This code is derived from OpenBSD's libc/regex, original license follows:
8 * This code is derived from software contributed to Berkeley by
14 * 1. Redistributions of source code must retain the above copyright
44 char code; member in struct:cname
/external/curl/tests/libtest/
H A Dlib512.c26 /* Test case code based on source in a bug report filed by James Bursa on
31 CURLcode code; local
36 code = curl_global_init(CURL_GLOBAL_ALL);
37 if(code == CURLE_OK) {
48 code = curl_easy_setopt(curl2, CURLOPT_URL, URL);
49 if(code == CURLE_OK) {
51 code = curl_easy_perform(curl2);
52 if(code == CURLE_OK)
/external/libmicrohttpd/src/microhttpd/
H A Dreason_phrase.c25 * @author Christian Grothoff (minor code clean up)
153 MHD_get_reason_phrase_for (unsigned int code) argument
155 if ( (code >= 100) &&
156 (code < 600) &&
157 (reasons[code / 100].max > (code % 100)) )
158 return reasons[code / 100].data[code % 100];
/external/syslinux/com32/gplinclude/dmi/
H A Ddmi_cache.h42 const char *dmi_cache_mode(uint8_t code);
43 const char *dmi_cache_location(uint8_t code);
44 uint16_t dmi_cache_size(uint16_t code);
45 void dmi_cache_types(uint16_t code, const char *sep, char *array);
46 const char *dmi_cache_ec_type(uint8_t code);
47 const char *dmi_cache_type(uint8_t code);
48 const char *dmi_cache_associativity(uint8_t code);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DWarning.java48 * Comment for <code>serialVersionUID</code>
52 /** warn code field, the warn code consists of three digits.
54 protected int code; field in class:Warning
77 ? Integer.toString(code)
84 : Integer.toString(code) + SP + agent;
88 * Gets code of WarningHeader
89 * @return code of WarningHeader
92 return code;
116 setCode(int code) argument
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowKeyEvent.java11 private int code; field in class:ShadowKeyEvent
13 public void __constructor__(int action, int code) { argument
15 this.code = code;
25 return code;
/external/skia/experimental/docs/
H A Dutilities.js13 function isAlpha(code) {
14 return (code > 64 && code < 91) // upper alpha (A-Z)
15 || (code > 96 && code < 123); // lower alpha (a-z)

Completed in 833 milliseconds

1234567891011>>