/external/clang/unittests/ASTMatchers/Dynamic/ |
RegistryTest.cpp | 109 std::string code = "int i;"; local 110 EXPECT_FALSE(matches(code, HasInitializerSimple)); 111 EXPECT_FALSE(matches(code, HasInitializerComplex)); 113 code = "int i = 1;"; 114 EXPECT_TRUE(matches(code, HasInitializerSimple)); 115 EXPECT_FALSE(matches(code, HasInitializerComplex)); 117 code = "int y(); int i = y();"; 118 EXPECT_TRUE(matches(code, HasInitializerSimple)); 119 EXPECT_TRUE(matches(code, HasInitializerComplex)); 142 std::string Code = "class Y { public: void x(); }; void z() { Y y; y.x(); }" [all...] |
/external/libffi/src/ |
closures.c | 5 Code to allocate and deallocate memory for closures. 38 with both write and execute permission. Code compiled when this 71 /* We have no use for this, so save some code and data. */ 75 lose track of the corresponding code address. */ 460 void *code; local 466 if (seg && (code = add_segment_exec_offset (start, seg)) != start) 468 int ret = munmap (code, length); 477 /* Return segment holding given code address. */ 493 to the writable address, and sets *CODE to the executable 496 ffi_closure_alloc (size_t size, void **code) [all...] |
/external/openssl/crypto/sha/asm/ |
sha1-x86_64.pl | 12 # It was brought to my attention that on EM64T compiler-generated code 14 # Opteron where compiler-generated code was only 15% behind 32-bit 16 # There was suggestion to mechanically translate 32-bit code, but I 19 # implementation:-) However! While 64-bit code does perform better 23 # core must have managed to run-time optimize even 32-bit code just as 34 # The code was revised to minimize code size and to maximize 45 # 32-bit code is that 64-bit code doesn't have to spill @X[] elements 50 # Add AVX code path. See sha1-586.pl for further information [all...] |
/external/qemu/ |
disas.c | 1 /* General "disassemble this chunk" code. Used for debugging. */ 141 i386 - nonzero means 16 bit code 142 arm - nonzero means thumb code 146 void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) 156 disasm_info.buffer_vma = code; 226 ": Asm output not supported on this arch\n", code); 230 for (pc = code; size > 0; pc += count, size -= count) { 259 void disas(FILE *out, void *code, unsigned long size) 268 disasm_info.buffer = code; 269 disasm_info.buffer_vma = (unsigned long)code; [all...] |
/external/smack/src/org/jivesoftware/smackx/provider/ |
VCardProvider.java | 185 String code = null; local 198 code = nodeName; 201 if (code == null || value == null) continue; 203 vCard.setPhoneHome(code, value); 206 vCard.setPhoneWork(code, value); 222 List<String> code = new ArrayList<String>(); local 233 code.add(nodeName); 239 vCard.setAddressFieldHome((String) code.get(j), (String) value.get(j)); 242 vCard.setAddressFieldWork((String) code.get(j), (String) value.get(j));
|
/external/v8/src/ |
log.h | 6 // * Redistributions of source code must retain the above copyright 45 // Minimal logging (no API, code, or GC sample events), default is off. 49 // --log-api, --log-code, --log-gc, and --log-regexp. 54 // --log-code 55 // Log code (create, move, and delete) events to the logfile, default is off. 56 // --log-code implies --log. 71 // tick profiler requires code events, so --prof implies --log-code. 90 V(CODE_CREATION_EVENT, "code-creation") \ 91 V(CODE_MOVE_EVENT, "code-move") [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 37 inline double distance(double freq, double code) { 38 // return fabs(freq - code); 39 return freq * fabs(log(freq) - log(code)); 42 // Find the index of the code value which is nearest to the given freq 93 for (size_t code = 0; code < kCodeBookSize; code++) { 94 assert(item_num[code] > 0); 95 code_book[code] = cb_new[code] / item_num[code] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1TaggedObject.java | 131 int code = tagNo; local 140 code ^= obj.hashCode(); 143 return code;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
httpcommon.h | 8 * 1. Redistributions of source code must retain the above copyright notice, 152 inline bool HttpCodeIsInformational(uint32 code) { return ((code / 100) == 1); } 153 inline bool HttpCodeIsSuccessful(uint32 code) { return ((code / 100) == 2); } 154 inline bool HttpCodeIsRedirection(uint32 code) { return ((code / 100) == 3); } 155 inline bool HttpCodeIsClientError(uint32 code) { return ((code / 100) == 4); } 156 inline bool HttpCodeIsServerError(uint32 code) { return ((code / 100) == 5); [all...] |
/external/chromium_org/chrome/browser/extensions/ |
script_executor.cc | 2 // Use of this source code is governed by a BSD-style license that can be 114 const std::string& code, 124 params.code = code;
|
/external/chromium_org/chrome_frame/ |
find_dialog.cc | 2 // Use of this source code is governed by a BSD-style license that can be 79 LRESULT CALLBACK CFFindDialog::GetMsgProc(int code, WPARAM wparam, 84 if (code >= 0 && wparam == PM_REMOVE && 101 return ::CallNextHookEx(msg_hook_, code, wparam, lparam);
|
/external/chromium_org/content/renderer/ |
renderer_main_platform_delegate_win.cc | 2 // Use of this source code is governed by a BSD-style license that can be 47 // If code subsequently tries to exit using exit(), _exit(), abort(), or 55 LRESULT CALLBACK WindowsHookCBT(int code, WPARAM w_param, LPARAM l_param) { 56 CHECK_NE(code, HCBT_CREATEWND) 58 return CallNextHookEx(NULL, code, w_param, l_param); 94 // malicious code if the renderer gets compromised. 112 // At this point we are shutting down in a normal code path, so undo our
|
/external/chromium_org/ppapi/proxy/ |
websocket_resource.h | 2 // Use of this source code is governed by a BSD-style license that can be 23 // run with untrusted code. 39 virtual int32_t Close(uint16_t code, 67 unsigned short code, 81 unsigned short code, 114 // Keeps the status code field of closing handshake. It can be read via
|
/external/chromium_org/remoting/host/setup/win/ |
host_configurer_window.cc | 2 // Use of this source code is governed by a BSD-style license that can be 28 void HostConfigurerWindow::OnCancel(UINT code, int id, HWND control) { 51 void HostConfigurerWindow::OnOk(UINT code, int id, HWND control) { 57 void HostConfigurerWindow::OnStartHost(UINT code, int id, HWND control) {
|
start_host_window.cc | 2 // Use of this source code is governed by a BSD-style license that can be 34 void StartHostWindow::OnCancel(UINT code, int id, HWND control) { 50 void StartHostWindow::OnConsent(UINT code, int id, HWND control) { 56 void StartHostWindow::OnOk(UINT code, int id, HWND control) {
|
/external/chromium_org/remoting/webapp/ |
host_session.js | 2 // Use of this source code is governed by a BSD-style license that can be 10 * actual remoting work. There should be no UI code inside this class. It 84 * Get the access code generated by the host plugin. Valid only after the 86 * @return {string} The access code. 93 * Get the lifetime for the access code. Valid only after the plugin state is 95 * @return {number} The access code lifetime, in seconds.
|
/external/chromium_org/sandbox/win/tests/common/ |
controller.h | 2 // Use of this source code is governed by a BSD-style license that can be 47 unsigned int code = static_cast<unsigned int>(result); local 50 return (code > first) && (code < last);
|
/external/chromium_org/sandbox/win/wow_helper/ |
wow_helper.cc | 2 // Use of this source code is governed by a BSD-style license that can be 68 char* code = reinterpret_cast<char*>(thunk) + used; local 70 code, thunk, thunk_bytes, NULL); 81 if (!::WriteProcessMemory(child, code, &TargetNtMapViewOfSection, size,
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
HelpScreen.js | 8 * * Redistributions of source code must retain the above copyright 101 WebInspector.KeyboardShortcut.Keys.Enter.code, 102 WebInspector.KeyboardShortcut.Keys.Esc.code, 103 WebInspector.KeyboardShortcut.Keys.Space.code,
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocket.h | 8 * * Redistributions of source code must retain the above copyright 77 // To distinguish close method call with the code parameter from one 81 // is passed as code parameter. 82 void close(unsigned short code, const String& reason, ExceptionState&); 84 void close(unsigned short code, ExceptionState&); 122 virtual void didClose(unsigned long unhandledBufferedAmount, ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE; 128 // are just for determining if the optional code argument is supplied or
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httpcommon.h | 8 * 1. Redistributions of source code must retain the above copyright notice, 152 inline bool HttpCodeIsInformational(uint32 code) { return ((code / 100) == 1); } 153 inline bool HttpCodeIsSuccessful(uint32 code) { return ((code / 100) == 2); } 154 inline bool HttpCodeIsRedirection(uint32 code) { return ((code / 100) == 3); } 155 inline bool HttpCodeIsClientError(uint32 code) { return ((code / 100) == 4); } 156 inline bool HttpCodeIsServerError(uint32 code) { return ((code / 100) == 5); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
GAEChannelClient.java | 8 * 1. Redistributions of source code must retain the above copyright notice, 62 public void onError(int code, String description); 163 final int code, final String description) { 167 handler.onError(code, description);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_driver.h | 35 * It is created by the code generator and handed to the pipe driver 109 uint32_t *code; member in struct:nv50_ir_prog_info::__anon14558 191 extern void nv50_ir_relocate_code(void *relocData, uint32_t *code, 196 /* obtain code that will be shared among programs */ 198 const uint32_t **code, uint32_t *size);
|
/external/chromium_org/v8/src/mips/ |
disasm-mips.cc | 6 // * Redistributions of source code must retain the above copyright 28 // A Disassembler object is used to disassemble a block of code instruction by 32 // The example below will disassemble a block of code and print it to stdout. 45 // of code into a FILE*, meaning that the above functionality could also be 288 int32_t code = instr->Bits(25, 6); local 290 "0x%05x (%d)", code, code); 299 int32_t code = instr->Bits(15, 6); local 301 OS::SNPrintF(out_buffer_ + out_buffer_pos_, "0x%03x", code); 370 case 'c': { // 'code for break or trap instructions [all...] |
/external/chromium_org/v8/test/mjsunit/ |
enumeration-order.js | 6 // * Redistributions of source code must retain the above copyright 49 var code = "{ "; 50 for (var i = 0; i < size-1; i++) code += " a_" + i + " : " + (i + 1) + ", "; 51 code += "a_" + (size - 1) + " : " + size; 52 code += " }"; 53 eval("var a = " + code);
|