Searched refs:code (Results 51 - 75 of 3769) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/test/remoting/
H A Dkey_code_conv.cc2 // Use of this source code is governed by a BSD-style license that can be
16 char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift) {
17 *code = NULL;
22 *code = key_code_map[i].code;
29 *code = key_code_map[i].code;
15 GetKeyValuesFromChar( char c, const char** code, ui::KeyboardCode* vkey_code, bool* shift) argument
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebIDBDatabaseError.h8 * 1. Redistributions of source code must retain the above copyright
45 WebIDBDatabaseError(unsigned short code) { assign(code); } argument
46 WebIDBDatabaseError(unsigned short code, const WebString& message) { assign(code, message); } argument
62 BLINK_EXPORT void assign(unsigned short code);
63 BLINK_EXPORT void assign(unsigned short code, const WebString& message);
/external/qemu/android/
H A Dkeycode-array.c20 unsigned code,
23 if (code != 0 && keycodes->keycode_count < MAX_KEYCODES) {
25 ( (code & 0x1ff) | (down ? 0x200 : 0) );
37 int code = keycodes->keycodes[nn]; local
38 printf(" [0x%03x,%s]", (code & 0x1ff), (code & 0x200) ? "down" : " up " );
19 android_keycodes_add_key_event( AKeycodeBuffer* keycodes, unsigned code, unsigned down ) argument
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dentropy_encode.h77 EntropyCode<kSize>* code) {
78 memset(code->depth_, 0, sizeof(code->depth_));
79 memset(code->bits_, 0, sizeof(code->bits_));
80 memset(code->symbols_, 0, sizeof(code->symbols_));
81 code->count_ = 0;
85 if (code->count_ < 4) code
74 BuildEntropyCode(const Histogram<kSize>& histogram, const int tree_limit, const int alphabet_size, EntropyCode<kSize>* code) argument
[all...]
/external/chromium_org/ui/events/keycodes/dom4/
H A Dkeycode_converter.cc2 // Use of this source code is governed by a BSD-style license that can be
12 #define USB_KEYMAP(usb, xkb, win, mac, code) {usb, win, code}
14 #define USB_KEYMAP(usb, xkb, win, mac, code) {usb, xkb, code}
16 #define USB_KEYMAP(usb, xkb, win, mac, code) {usb, mac, code}
18 #define USB_KEYMAP(usb, xkb, win, mac, code) {usb, 0, code}
50 if (usb_keycode_map[i].code !
59 CodeToNativeKeycode(const char* code) argument
119 CodeToUsbKeycode(const char* code) argument
[all...]
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DModuleNode.py58 # to code generation.
62 # CodeGenerator, and tell that CodeGenerator to generate code
83 # Ensure that we don't generate import code for these entries!
314 code = globalstate['before_global_var']
315 code.putln('#define __Pyx_MODULE_NAME "%s"' % self.full_module_name)
316 code.putln("int %s%s = 0;" % (Naming.module_is_main, self.full_module_name.replace('.', '__')))
317 code.putln("")
318 code.putln("/* Implementation of '%s' */" % env.qualified_name)
320 code = globalstate['all_the_rest']
322 self.generate_cached_builtins_decls(env, code)
2095 code.putln("/*--- Type import code ---*/") namespace
2099 code.putln("/*--- Variable import code ---*/") namespace
2103 code.putln("/*--- Function import code ---*/") namespace
2223 code.putln("/*--- Type import cleanup code ---*/") namespace
[all...]
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/
H A DMojoException.java2 // Use of this source code is governed by a BSD-style license that can be
17 public MojoException(int code) { argument
18 mCode = code;
22 * The mojo result code associated with this exception. See {@link MojoResult} for possible
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/
H A Dentry_x86_tsd.h80 char *code = (char *) entry; local
82 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func);
83 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func);
90 void *code; local
93 code = u_execmem_alloc(X86_ENTRY_SIZE);
94 if (!code)
97 memcpy(code, code_templ, X86_ENTRY_SIZE);
98 entry = (mapi_func) code;
/external/chromium_org/tools/findit/common/
H A Dhttp_client_local_unittest.py2 # Use of this source code is governed by a BSD-style license that can be
12 code, deps = HttpClientLocal.Get(
14 self.assertEqual(200, code)
/external/chromium_org/tools/json_schema_compiler/highlighters/
H A Dnone_highlighter.py2 # Use of this source code is governed by a BSD-style license that can be
8 """Highlighter that just wraps code in a <pre>.
13 def GetCodeElement(self, code, style):
14 return '<pre>' + cgi.escape(code) + '</pre>'
/external/chromium_org/ui/base/ime/chromeos/
H A Dime_keymap.h2 // Use of this source code is governed by a BSD-style license that can be
15 // Translates the DOM4 key code string to ui::KeyboardCode.
16 UI_BASE_EXPORT KeyboardCode DomKeycodeToKeyboardCode(const std::string& code);
18 // Translates the ui::KeyboardCode to DOM4 key code string.
19 UI_BASE_EXPORT std::string KeyboardCodeToDomKeycode(KeyboardCode code);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-seqstrsetchar-ex1.js6 // * Redistributions of source code must retain the above copyright
37 function StringFromCharCode(code) {
42 var code = %_Arguments(i);
43 if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff;
44 if (code > 0xff) break;
49 var code = %_Arguments(i);
50 %_TwoByteSeqStringSetChar(j, code, two_byte);
/external/clang/test/Driver/
H A Doutput-file-cleanup.c24 invalid C code
28 // RUN: echo "invalid C code" > %t2.c
41 // RUN: echo "invalid C code" > %t2.c
43 // RUN: echo "invalid C code" > %t4.c
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DLocal.java19 import com.android.dx.rop.code.RegisterSpec;
25 private final Code code; field in class:Local
30 private Local(Code code, TypeId<T> type) { argument
31 this.code = code;
35 static <T> Local<T> get(Code code, TypeId<T> type) { argument
36 return new Local<T>(code, type);
59 code.initializeLocals();
/external/eigen/Eigen/src/Core/util/
H A DNonMPL2.h1 // Force error if including non MPL2 license code regardless
5 #error Including non-MPL2 code in EIGEN_MPL2_ONLY mode
/external/harfbuzz_ng/src/hb-ucdn/
H A Ducdn.c53 static const UCDRecord *get_ucd_record(uint32_t code) argument
57 if (code >= 0x110000)
60 index = index0[code >> (SHIFT1+SHIFT2)] << SHIFT1;
61 offset = (code >> SHIFT2) & ((1<<SHIFT1) - 1);
63 offset = code & ((1<<SHIFT2) - 1);
70 static const unsigned short *get_decomp_record(uint32_t code) argument
74 if (code >= 0x110000)
77 index = decomp_index0[code >> (DECOMP_SHIFT1+DECOMP_SHIFT2)]
79 offset = (code >> DECOMP_SHIFT2) & ((1<<DECOMP_SHIFT1) - 1);
81 offset = code
88 get_comp_index(uint32_t code, const Reindex *idx) argument
111 hangul_pair_decompose(uint32_t code, uint32_t *a, uint32_t *b) argument
131 hangul_pair_compose(uint32_t *code, uint32_t a, uint32_t b) argument
155 const unsigned short *code = *code_ptr; local
172 ucdn_get_combining_class(uint32_t code) argument
177 ucdn_get_east_asian_width(uint32_t code) argument
182 ucdn_get_general_category(uint32_t code) argument
187 ucdn_get_bidi_class(uint32_t code) argument
192 ucdn_get_mirrored(uint32_t code) argument
197 ucdn_get_script(uint32_t code) argument
202 ucdn_mirror(uint32_t code) argument
220 ucdn_decompose(uint32_t code, uint32_t *a, uint32_t *b) argument
244 ucdn_compose(uint32_t *code, uint32_t a, uint32_t b) argument
267 ucdn_compat_decompose(uint32_t code, uint32_t *decomposed) argument
[all...]
/external/junit/src/org/junit/internal/
H A DRealSystem.java7 public void exit(int code) { argument
8 System.exit(code);
/external/mesa3d/src/mapi/mapi/
H A Dentry_x86_tsd.h80 char *code = (char *) entry; local
82 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func);
83 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func);
90 void *code; local
93 code = u_execmem_alloc(X86_ENTRY_SIZE);
94 if (!code)
97 memcpy(code, code_templ, X86_ENTRY_SIZE);
98 entry = (mapi_func) code;
/external/valgrind/main/none/tests/x86/
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
47 static UChar code[10]; variable
49 /* Make `code' be PUSHL $dest ; ret */
53 code[0] = 0x68; /* PUSH imm32 */
54 code[1] = (dest & 0xFF);
55 code[2] = ((dest >> 8) & 0xFF);
56 code[3] = ((dest >> 16) & 0xFF);
57 code[
[all...]
/external/android-clat/
H A Dicmp.h34 uint8_t icmp_to_icmp6_type(uint8_t type, uint8_t code);
37 uint8_t icmp_to_icmp6_code(uint8_t type, uint8_t code);
40 uint8_t icmp6_to_icmp_type(uint8_t type, uint8_t code);
43 uint8_t icmp6_to_icmp_code(uint8_t type, uint8_t code);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebIDBDatabaseError.cpp8 * * Redistributions of source code must retain the above copyright
44 void WebIDBDatabaseError::assign(unsigned short code) argument
46 m_private = DOMError::create(code);
49 void WebIDBDatabaseError::assign(unsigned short code, const WebString& message) argument
51 m_private = DOMError::create(code, message);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcexport.h8 * 1. Redistributions of source code must retain the above copyright notice,
30 // When building for Chrome a part of the code can be built into
56 #define NON_EXPORTED_BASE(code) MSVC_SUPPRESS_WARNING(4275) \
57 code
60 #define NON_EXPORTED_BASE(code) code
/external/chromium_org/tools/idl_parser/test_parser/
H A Dinline_ppapi.idl2 Use of this source code is governed by a BSD-style license that can be
37 This is my block of C code
44 This is my block of CC code
/external/chromium_org/chrome/browser/resources/extensions/
H A Dextension_code.js2 // Use of this source code is governed by a BSD-style license that can be
17 * ExtensionCode is an element which displays code in a styled div, and is
31 * Populate the content area of the code div with the given code. This will
33 * @param {ExtensionHighlight} code The 'highlight' strings represent the
39 * @param {string} emptyMessage The message to display if the code
40 * object is empty (e.g., 'could not load code').
42 populate: function(code, emptyMessage) {
43 // Clear any remnant content, so we don't have multiple code listed.
47 sourceDiv.classList.add('extension-code
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DActivityLoggerTest.cpp2 // Use of this source code is governed by a BSD-style license that can be
108 const char* code = local
119 executeScriptInMainWorld(code);
121 executeScriptInIsolatedWorld(code);
127 const char* code = local
144 executeScriptInMainWorld(code);
146 executeScriptInIsolatedWorld(code);
152 const char* code = local
170 executeScriptInMainWorld(code);
172 executeScriptInIsolatedWorld(code);
178 const char* code = local
201 const char* code = local
228 const char* code = local
252 const char* code = local
277 const char* code = local
301 const char* code = local
325 const char* code = local
348 const char* code = local
376 const char* code = local
399 const char* code = local
422 const char* code = local
445 const char* code = local
471 const char* code = local
[all...]

Completed in 4224 milliseconds

1234567891011>>