Searched refs:code (Results 101 - 125 of 3769) sorted by relevance

1234567891011>>

/external/qemu/android/
H A Duser-events-qemu.c32 user_event_key(unsigned code, unsigned down) argument
34 if(code == 0) {
38 printf(">> KEY [0x%03x,%s]\n", (code & 0x1ff), down ? "down" : " up " );
40 user_event_keycode((code & 0x1ff) | (down ? 0x200 : 0));
60 user_event_generic(int type, int code, int value) argument
63 generic_event_callback(generic_event_opaque, type, code, value);
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DNodes.py35 don't want to have to regenerate and compile all the source code
82 # here we annotate the code with this function call
83 # but only if new code is generated
84 node, code = args[:2]
86 ' ' * code.call_level,
90 pristine = code.buffer.stream.tell()
91 code.putln(marker)
92 start = code.buffer.stream.tell()
93 code.call_level += 4
95 code
[all...]
H A DUtilNodes.py50 def generate_result_code(self, code):
53 def generate_assignment_code(self, rhs, code):
55 rhs.make_owned_reference(code)
57 code.put_xdecref(self.result(), self.ctype())
58 code.putln('%s = %s;' % (self.result(), rhs.result_as(self.ctype())))
59 rhs.generate_post_assignment_code(code)
60 rhs.free_temps(code)
66 def generate_assignment_code(self, rhs, code):
69 def generate_execution_code(self, code):
71 code
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpResponse.java60 * @return the status line, or <code>null</code> if not yet set
77 * @param code the status code
79 void setStatusLine(ProtocolVersion ver, int code); argument
85 * @param code the status code
86 * @param reason the reason phrase, or <code>null</code> to omit
88 void setStatusLine(ProtocolVersion ver, int code, Strin argument
108 setStatusCode(int code) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DCodeAddress.java17 package com.android.dx.dex.code;
19 import com.android.dx.rop.code.RegisterSpecList;
20 import com.android.dx.rop.code.SourcePosition;
23 * Pseudo-instruction which is used to track an address within a code
25 * exception handler ranges. Its code size is zero, and so instances
32 * unknown ({@code -1}).
34 * @param position {@code non-null;} source position
55 return "code-address";
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
H A Derroroutput.py33 error_code = '%04d' % error.code
46 code = 'E:%04d' % error.code
52 return '%s%s: %s' % (line, code, error.message)
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/
H A Dbrlapi_keycode_map.cc2 // Use of this source code is governed by a BSD-style license that can be
32 void MapModifierFlags(brlapi_keyCode_t code, KeyEvent* event) { argument
33 if (code & BRLAPI_KEY_FLG_CONTROL)
35 if (code & BRLAPI_KEY_FLG_META)
37 if (code & BRLAPI_KEY_FLG_SHIFT)
45 void MapKeySym(brlapi_keyCode_t code, KeyEvent* event) { argument
46 brlapi_keyCode_t key_sym = code & BRLAPI_KEY_CODE_MASK;
111 MapModifierFlags(code, event);
115 void MapCommand(brlapi_keyCode_t code, KeyEvent* event) { argument
116 brlapi_keyCode_t argument = code
153 BrlapiKeyCodeToEvent(brlapi_keyCode_t code) argument
[all...]
H A Dbrlapi_keycode_map.h2 // Use of this source code is governed by a BSD-style license that can be
17 scoped_ptr<KeyEvent> BrlapiKeyCodeToEvent(brlapi_keyCode_t code);
/external/chromium_org/chrome/test/remoting/
H A Dkey_code_conv.h2 // Use of this source code is governed by a BSD-style license that can be
15 // 1. The UIEvents (aka: DOM4Events) |code| value as defined in:
17 // 2. The virtual key code (ui::KeyboardCode)
21 char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift);
/external/chromium_org/content/public/common/
H A Dspeech_recognition_error.h2 // Use of this source code is governed by a BSD-style license that can be
24 SpeechRecognitionErrorCode code; member in struct:content::SpeechRecognitionError
28 : code(SPEECH_RECOGNITION_ERROR_NONE),
32 : code(code_value),
37 : code(code_value),
/external/chromium_org/mojo/public/js/bindings/
H A Dcore.js2 // Use of this source code is governed by a BSD-style license that can be
7 // Note: This file is for documentation purposes only. The code here is not
118 * @return {MojoResult} Result code.
120 function close(handle) { [native code] }
129 * @return {MojoResult} Result code.
131 function wait(handle, signals, deadline) { [native code] }
143 * @return {MojoResult} Result code.
145 function waitMany(handles, signals, deadline) { [native code] }
159 function createMessagePipe(optionsDict) { [native code] }
170 * @return {MojoResult} Result code
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/common/
H A Derroroutput.py33 error_code = '%04d' % error.code
46 code = 'E:%04d' % error.code
52 return '%s%s: %s' % (line, code, error.message)
/external/elfutils/0.153/libdw/
H A Ddwarf_whatattr.c1 /* Return attribute code of given attribute.
20 additional right to link the code of Red Hat elfutils with code licensed
23 distribution of source code with any binary distribution and to
25 this exception must only link to the code of Red Hat elfutils through
27 found in the source code files (the "Approved Interfaces"). The files
35 License in all respects for all of the Red Hat elfutils code and other
36 code used in conjunction with Red Hat elfutils except the Non-GPL Code
63 return attr == NULL ? 0 : attr->code;
/external/smack/src/org/xbill/DNS/
H A DGenericEDNSOption.java18 GenericEDNSOption(int code) { argument
19 super(code);
27 GenericEDNSOption(int code, byte [] data) { argument
28 super(code);
H A DEDNSOption.java41 string(int code) { argument
42 return codes.getText(code);
48 * @param s The textual representation of the option code
49 * @return The option code, or -1 on error.
57 private final int code; field in class:EDNSOption
61 * Creates an option with the given option code and data.
64 EDNSOption(int code) { argument
65 this.code = Record.checkU16("code", code);
[all...]
/external/libunwind/src/ia64/
H A Dunwind_decoder.h51 * UNW_DEC_BAD_CODE(code)
107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) argument
124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) argument
142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) argument
162 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) argument
183 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) argument
185 int body = (code & 0x20) != 0;
188 rlen = (code & 0x1f);
194 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) argument
201 mask = ((code
209 unw_decode_r3(unsigned char *dp, unsigned char code, void *arg) argument
219 unw_decode_p1(unsigned char *dp, unsigned char code, void *arg) argument
228 unw_decode_p2_p5(unsigned char *dp, unsigned char code, void *arg) argument
277 unw_decode_p6(unsigned char *dp, unsigned char code, void *arg) argument
290 unw_decode_p7_p10(unsigned char *dp, unsigned char code, void *arg) argument
389 unw_decode_b1(unsigned char *dp, unsigned char code, void *arg) argument
401 unw_decode_b2(unsigned char *dp, unsigned char code, void *arg) argument
411 unw_decode_b3_x4(unsigned char *dp, unsigned char code, void *arg) argument
449 unsigned char code, primary; local
[all...]
/external/apache-http/src/org/apache/commons/codec/language/
H A DMetaphone.java26 * Permission given by <CITE>wbrogden</CITE> for code to be used anywhere.
59 * The max code length for metaphone is 4
77 * @param txt String to find the metaphone code for
78 * @return A metaphone code corresponding to the String supplied
93 StringBuffer code = new StringBuffer(10) ; // output
135 while ((code.length() < this.getMaxCodeLen()) &&
136 (n < wdsz) ) { // max code size of 4 works well
145 code.append(symb);
153 code.append(symb);
163 code
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicHttpResponse.java73 * <code>null</code> to disable automatic
76 * <code>null</code> for the system locale
107 * @param code the status code of the response
108 * @param reason the reason phrase to the status code, or
109 * <code>null</code>
112 final int code,
111 BasicHttpResponse(final ProtocolVersion ver, final int code, final String reason) argument
147 setStatusLine(final ProtocolVersion ver, final int code) argument
153 setStatusLine(final ProtocolVersion ver, final int code, final String reason) argument
160 setStatusCode(int code) argument
204 getReason(int code) argument
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dprefix.cc24 // Represents the range of values belonging to a prefix code:
102 int InsertLengthExtraBits(int code) { argument
103 int insert_code = (kInsertRangeLut[code >> 6] << 3) + ((code >> 3) & 7);
107 int InsertLengthOffset(int code) { argument
108 int insert_code = (kInsertRangeLut[code >> 6] << 3) + ((code >> 3) & 7);
112 int CopyLengthExtraBits(int code) { argument
113 int copy_code = (kCopyRangeLut[code >> 6] << 3) + (code
117 CopyLengthOffset(int code) argument
122 PrefixEncodeCopyDistance(int distance_code, int num_direct_codes, int postfix_bits, uint16_t* code, int* nbits, uint32_t* extra_bits) argument
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dbytecode.py8 # The offset of this bytecode in the code object.
17 # The offset in the code object of the next bytecode.
25 """Iterator over byte codes in `code`.
30 def __init__(self, code):
31 self.code = code
36 return self.code[i]
39 return ord(self.code[i])
45 if self.offset >= len(self.code):
71 """Iterate over all the code object
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DLookUpSwitchInstruction.java83 protected void readInfo(byte[] code, int offset) argument
89 defaultOffset = readInt(code, offset); offset += 4;
90 int jumpOffsetCount = readInt(code, offset); offset += 4;
98 cases[index] = readInt(code, offset); offset += 4;
99 jumpOffsets[index] = readInt(code, offset); offset += 4;
104 protected void writeInfo(byte[] code, int offset) argument
109 writeByte(code, offset++, 0);
113 writeInt(code, offset, defaultOffset); offset += 4;
114 writeInt(code, offset, cases.length); offset += 4;
119 writeInt(code, offse
[all...]
H A DTableSwitchInstruction.java87 protected void readInfo(byte[] code, int offset) argument
93 defaultOffset = readInt(code, offset); offset += 4;
94 lowCase = readInt(code, offset); offset += 4;
95 highCase = readInt(code, offset); offset += 4;
102 jumpOffsets[index] = readInt(code, offset); offset += 4;
107 protected void writeInfo(byte[] code, int offset) argument
112 writeByte(code, offset++, 0);
116 writeInt(code, offset, defaultOffset); offset += 4;
117 writeInt(code, offset, lowCase); offset += 4;
118 writeInt(code, offse
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c61 struct r300_fragment_program_code *code = &compiler->code->code.r300; local
70 fprintf(stderr, "code_offset_ext: %08x\n", code->r400_code_offset_ext);
73 for (n = 0; n <= (code->config & 3); n++) {
74 uint32_t code_addr = code->code_addr[3 - (code->config & 3) + n];
76 (((code->r400_code_offset_ext >> (24 - (n * 6))) & 0x7) << 6);
78 (((code->r400_code_offset_ext >> (27 - (n * 6))) & 0x7) << 6);
86 if (n > 0 || (code
[all...]
H A Dr300_fragprog_emit.c58 struct r300_fragment_program_code *code = &c->code->code.r300
83 static void use_temporary(struct r300_fragment_program_code *code, unsigned int index) argument
85 if (index > code->pixsize)
86 code->pixsize = index;
89 static unsigned int use_source(struct r300_fragment_program_code* code, struct rc_pair_instruction_source src) argument
97 use_temporary(code, src.Index);
157 if (code->alu.length >= c->Base.max_alu_insts) {
162 ip = code
308 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; local
481 struct r300_fragment_program_code *code = &compiler->code->code.r300; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c61 struct r300_fragment_program_code *code = &compiler->code->code.r300; local
70 fprintf(stderr, "code_offset_ext: %08x\n", code->r400_code_offset_ext);
73 for (n = 0; n <= (code->config & 3); n++) {
74 uint32_t code_addr = code->code_addr[3 - (code->config & 3) + n];
76 (((code->r400_code_offset_ext >> (24 - (n * 6))) & 0x7) << 6);
78 (((code->r400_code_offset_ext >> (27 - (n * 6))) & 0x7) << 6);
86 if (n > 0 || (code
[all...]

Completed in 773 milliseconds

1234567891011>>