| /external/libpcap/bpf/net/ |
| bpf_filter.c | 5 * This code is derived from the Stanford/CMU enet packet filter, 6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 13 * 1. Redistributions of source code must retain the above copyright 233 switch (pc->code) { 519 * code. The code must terminate with either an accept or reject. 523 * The kernel needs to be able to verify an application's filter code. 537 * the code block. 540 if (BPF_CLASS(p->code) == BPF_JMP) { 543 if (BPF_OP(p->code) == BPF_JA) [all...] |
| /external/skia/include/xml/ |
| SkXMLParser.h | 49 void setCode(ErrorCode code) { fCode = code; }
|
| /external/v8/test/mjsunit/ |
| global-load-from-eval.js | 6 // * Redistributions of source code must retain the above copyright 61 // Test loading of globals from deeply nested eval. This code is a 63 // code that loads the global variable accounts for the fact that the 83 // Because of the eval-cache, the 'result = x' code gets reused. This
|
| /external/webkit/LayoutTests/fast/dom/Geolocation/resources/ |
| error.js | 15 shouldBe('error.code', 'mockCode');
|
| timeout-clear-watch.js | 11 shouldBe('error.code', 'error.TIMEOUT');
|
| /external/webkit/WebCore/bindings/js/ |
| JSLazyEventListener.cpp | 38 JSLazyEventListener::JSLazyEventListener(const String& functionName, const String& eventParameterName, const String& code, Node* node, const String& sourceURL, int lineNumber, JSObject* wrapper, DOMWrapperWorld* isolatedWorld) 42 , m_code(code)
|
| ScheduledAction.cpp | 146 ScriptSourceCode code(m_code, workerContext->url()); 147 scriptController->evaluate(code);
|
| /external/webkit/WebKit/win/ |
| DOMCSSClasses.cpp | 7 * 1. Redistributions of source code must retain the above copyright 146 WebCore::ExceptionCode code; local 147 m_style->setProperty(propertyNameString, valueString, priorityString, code);
|
| /frameworks/base/cmds/app_process/ |
| app_main.cpp | 87 virtual void onExit(int code) 96 AndroidRuntime::onExit(code);
|
| /ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
| module.h | 108 #define module_put_and_exit(code) do_exit(code)
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| LatinKeyboard.java | 471 final int code = key.codes[0]; local 472 if (code == KEYCODE_SHIFT || 473 code == KEYCODE_DELETE) { 475 if (code == KEYCODE_SHIFT) x += key.width / 6; 476 if (code == KEYCODE_DELETE) x -= key.width / 6; 477 } else if (code == LatinIME.KEYCODE_SPACE) { 506 if (DEBUG_PREFERRED_LETTER && mPrefLetter == code 510 return mPrefLetter == code; 517 if (inPrefList(code, pref)) { 519 mPrefLetter = code; [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/ |
| EditingUtil.java | 159 private static boolean isWhitespace(int code, String whitespace) { 160 return whitespace.contains(String.valueOf((char) code));
|
| /system/core/toolbox/ |
| powerd.c | 19 __u16 code; member in struct:input_event 197 light_event.code = 4; // bright lcd backlight 201 light_event2.code = 8; // keyboard backlight 353 if(event.type == EV_PWR && event.code == KEY_SLEEP) { 356 if(event.type == EV_KEY || (event.type == EV_SW && event.code == SW_0 && event.value == 1)) { 376 printf("got %s %s %d%s\n", event.type == EV_KEY ? "key" : "switch", event.value ? "down" : "up", event.code, event_sleep ? " from sleep" : ""); 377 if(event.code == KEY_POWER) { 395 if(event.type == EV_SW && event.code == SW_0 && event.value == 0) {
|
| sendevent.c | 16 __u16 code; member in struct:input_event 57 fprintf(stderr, "use: %s device type code value\n", argv[0]); 72 event.code = atoi(argv[3]);
|
| /system/extras/tests/bionic/libc/common/ |
| test_udp.c | 26 usage(int code) 33 exit(code);
|
| /dalvik/dx/src/com/android/dx/ssa/ |
| SsaBasicBlock.java | 19 import com.android.dx.rop.code.BasicBlock; 20 import com.android.dx.rop.code.BasicBlockList; 21 import com.android.dx.rop.code.InsnList; 22 import com.android.dx.rop.code.PlainInsn; 23 import com.android.dx.rop.code.RegisterSpec; 24 import com.android.dx.rop.code.RegisterSpecList; 25 import com.android.dx.rop.code.RopMethod; 26 import com.android.dx.rop.code.Rops; 27 import com.android.dx.rop.code.SourcePosition; 28 import com.android.dx.rop.code.Insn [all...] |
| /external/opencore/codecs_v2/video/avc_h264/dec/src/ |
| slice.cpp | 286 uint code; local 328 ue_v(stream, &code); 330 if (code > 3) 334 currMB->intra_chroma_pred_mode = (AVCIntraChromaPredMode)code; 350 te_v(stream, &code, max_ref_idx); 351 if (code > (uint)max_ref_idx) 355 currMB->ref_idx_L0[mbPartIdx] = code; 394 uint code; local 421 te_v(stream, (uint*)&code, max_ref_idx); 422 if (code > max_ref_idx [all...] |
| /frameworks/base/core/tests/coretests/src/android/net/ |
| UriTest.java | 240 code(null); 241 code(""); 242 code("Bob"); 243 code(":Bob"); 244 code("::Bob"); 245 code("Bob::Lee"); 246 code("Bob:Lee"); 247 code("Bob::"); 248 code("Bob:"); 249 code("::Bob::") 252 private void code(String s) { method in class:UriTest [all...] |
| /frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
| slice.cpp | 287 uint code; local 329 ue_v(stream, &code); 331 if (code > 3) 335 currMB->intra_chroma_pred_mode = (AVCIntraChromaPredMode)code; 351 te_v(stream, &code, max_ref_idx); 352 if (code > (uint)max_ref_idx) 356 currMB->ref_idx_L0[mbPartIdx] = code; 395 uint code; local 422 te_v(stream, (uint*)&code, max_ref_idx); 423 if (code > max_ref_idx [all...] |
| /external/kernel-headers/original/linux/ |
| input.h | 29 __u16 code; member in struct:input_event 909 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); 999 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value); 1067 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 1068 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value); 1070 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) 1072 input_event(dev, EV_KEY, code, !!value); 1075 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) 1077 input_event(dev, EV_REL, code, value); 1080 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value [all...] |