HomeSort by relevance Sort by last modified time
    Searched refs:code (Results 176 - 200 of 9702) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/WebKit/Source/modules/geolocation/
PositionError.h 7 * 1. Redistributions of source code must retain the above copyright
43 static PositionError* create(ErrorCode code, const String& message) { return new PositionError(code, message); }
46 ErrorCode code() const { return m_code; } function in class:WebCore::PositionError
52 PositionError(ErrorCode code, const String& message)
53 : m_code(code)
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
dec_pred_intra_dc.cpp 34 uint code; local
52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size);
54 first_bit = code >> (DC_size - 1);
59 *INTRADC_delta = code ^((1 << DC_size) - 1);
64 *INTRADC_delta = code;
  /libcore/luni/src/main/java/libcore/io/
EventLogger.java 47 public void report (int code, Object... list);
55 public void report (int code, Object... list) {
57 sb.append(code);
66 public static void writeEvent(int code, Object... list) {
67 getReporter().report(code, list);
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
close_wsh.py 8 # * Redistributions of source code must retain the above copyright
45 code, reason = line.split(' ', 1)
46 if code is None or reason is None:
48 request.ws_stream.close_connection(int(code), reason)
49 # close_connection() initiates closing handshake. It validates code
51 # following code will be useful.
52 # > data = struct.pack('!H', int(code)) + reason.encode('UTF-8')
59 # Simply echo a close status code
60 code, reason = request.ws_close_code, request.ws_close_reason
62 # pywebsocket sets pseudo code for receiving an empty body close frame
    [all...]
  /external/chromium_org/ui/events/ozone/evdev/
event_device_info.cc 2 // Use of this source code is governed by a BSD-style license that can be
39 bool GetAbsInfo(int fd, int code, struct input_absinfo* absinfo) {
40 if (ioctl(fd, EVIOCGABS(code), absinfo)) {
41 DLOG(ERROR) << "failed EVIOCGABS(" << code << ") on fd " << fd;
102 bool EventDeviceInfo::HasKeyEvent(unsigned int code) const {
103 if (code > KEY_MAX)
105 return BitIsSet(key_bits_, code);
108 bool EventDeviceInfo::HasRelEvent(unsigned int code) const {
109 if (code > REL_MAX)
111 return BitIsSet(rel_bits_, code);
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StopRequestException.java 50 public static StopRequestException throwUnhandledHttpError(int code, String message)
52 final String error = "Unhandled HTTP response: " + code + " " + message;
53 if (code >= 400 && code < 600) {
54 throw new StopRequestException(code, error);
55 } else if (code >= 300 && code < 400) {
  /external/chromium_org/sandbox/linux/seccomp-bpf/
verifier.cc 2 // Use of this source code is governed by a BSD-style license that can be
32 const ErrorCode& code,
34 if (code.error_type() == ErrorCode::ET_SIMPLE ||
35 code.error_type() == ErrorCode::ET_TRAP) {
36 return code.err();
37 } else if (code.error_type() == ErrorCode::ET_COND) {
38 if (code.width() == ErrorCode::TP_32BIT &&
39 (data.args[code.argno()] >> 32) &&
40 (data.args[code.argno()] & 0xFFFFFFFF80000000ull) !=
44 switch (code.op())
390 ErrorCode code = iter.IsValid(sysnum) local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
nv50_ir_emit_nv50.cpp 132 code[pos / 32] |= SDATA(src).id << (pos % 32);
138 code[pos / 32] |= SDATA(*src).id << (pos % 32);
156 code[pos / 32] |= offset << (pos % 32);
167 code[pos / 32] |= (offset >> 2) << (pos % 32);
174 code[pos / 32] |= DDATA(def).id << (pos % 32);
181 case ROUND_M: code[1] |= 1 << 22; break;
182 case ROUND_P: code[1] |= 2 << 22; break;
183 case ROUND_Z: code[1] |= 3 << 22; break;
193 code[1] |= i->src(0).mod.neg() << 26;
194 code[1] |= i->src(1).mod.neg() << 27
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/codegen/
nv50_ir_emit_nv50.cpp 132 code[pos / 32] |= SDATA(src).id << (pos % 32);
138 code[pos / 32] |= SDATA(*src).id << (pos % 32);
156 code[pos / 32] |= offset << (pos % 32);
167 code[pos / 32] |= (offset >> 2) << (pos % 32);
174 code[pos / 32] |= DDATA(def).id << (pos % 32);
181 case ROUND_M: code[1] |= 1 << 22; break;
182 case ROUND_P: code[1] |= 2 << 22; break;
183 case ROUND_Z: code[1] |= 3 << 22; break;
193 code[1] |= i->src(0).mod.neg() << 26;
194 code[1] |= i->src(1).mod.neg() << 27
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileError.cpp 8 * * Redistributions of source code must retain the above copyright
53 ExceptionCode errorCodeToExceptionCode(FileError::ErrorCode code)
55 switch (code) {
84 return code;
88 const char* errorCodeToMessage(FileError::ErrorCode code)
91 switch (code) {
126 void FileError::throwDOMException(ExceptionState& exceptionState, ErrorCode code)
128 if (code == FileError::OK)
132 if (code == FileError::SECURITY_ERR) {
137 exceptionState.throwDOMException(errorCodeToExceptionCode(code), errorCodeToMessage(code))
    [all...]
  /bionic/libc/kernel/uapi/linux/
filter.h 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
27 __u16 code; member in struct:sock_filter
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define BPF_CLASS(code) ((code) & 0x07)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50 #define BPF_SIZE(code) ((code) & 0x18
    [all...]
  /development/ndk/platforms/android-L/include/linux/
filter.h 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
27 __u16 code; member in struct:sock_filter
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define BPF_CLASS(code) ((code) & 0x07)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50 #define BPF_SIZE(code) ((code) & 0x18
    [all...]
  /external/kernel-headers/original/uapi/linux/
filter.h 13 * Current version of the filter code architecture.
20 * the BPF code definitions which need to match so you can share filters
24 __u16 code; /* Actual filter code */ member in struct:sock_filter
39 #define BPF_CLASS(code) ((code) & 0x07)
50 #define BPF_SIZE(code) ((code) & 0x18)
54 #define BPF_MODE(code) ((code) & 0xe0
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/
filter.h 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
27 __u16 code; member in struct:sock_filter
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define BPF_CLASS(code) ((code) & 0x07)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50 #define BPF_SIZE(code) ((code) & 0x18
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/
filter.h 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
27 __u16 code; member in struct:sock_filter
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define BPF_CLASS(code) ((code) & 0x07)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50 #define BPF_SIZE(code) ((code) & 0x18
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/
filter.h 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
27 __u16 code; member in struct:sock_filter
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define BPF_CLASS(code) ((code) & 0x07)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50 #define BPF_SIZE(code) ((code) & 0x18
    [all...]
  /external/chromium_org/v8/test/cctest/
test-utils-arm64.h 6 // * Redistributions of source code must retain the above copyright
48 // The Dump method generates code to store a snapshot of the register values.
52 // The dumping code is generated though the given MacroAssembler. No registers
58 inline int32_t wreg(unsigned code) const {
59 if (code == kSPRegInternalCode) {
62 ASSERT(RegAliasesMatch(code));
63 return dump_.w_[code];
66 inline int64_t xreg(unsigned code) const {
67 if (code == kSPRegInternalCode) {
70 ASSERT(RegAliasesMatch(code));
    [all...]
  /external/vixl/test/
test-utils-a64.h 7 // * Redistributions of source code must retain the above copyright notice,
51 // The Dump method generates code to store a snapshot of the register values.
55 // The dumping code is generated though the given MacroAssembler. No registers
61 inline int32_t wreg(unsigned code) const {
62 if (code == kSPRegInternalCode) {
65 VIXL_ASSERT(RegAliasesMatch(code));
66 return dump_.w_[code];
69 inline int64_t xreg(unsigned code) const {
70 if (code == kSPRegInternalCode) {
73 VIXL_ASSERT(RegAliasesMatch(code));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLError.h 8 * 1. Redistributions of source code must retain the above copyright
40 static PassOwnPtr<SQLErrorData> create(unsigned code, const String& message)
42 return adoptPtr(new SQLErrorData(code, message));
45 static PassOwnPtr<SQLErrorData> create(unsigned code, const char* message, int sqliteCode, const char* sqliteMessage)
47 return create(code, String::format("%s (%d %s)", message, sqliteCode, sqliteMessage));
52 return create(data.code(), data.message());
55 unsigned code() const { return m_code; } function in class:WebCore::SQLErrorData
59 SQLErrorData(unsigned code, const String& message) : m_code(code), m_message(message.isolatedCopy()) { }
70 unsigned code() const { return m_data.code(); function in class:WebCore::SQLError
    [all...]
  /external/icu/icu4c/source/common/
uscript.c 33 UScriptCode code = USCRIPT_INVALID_CODE; local
47 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale);
50 if(code==(UScriptCode)UCHAR_INVALID_CODE){
63 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, cName);
64 /* got the script code now fill in the buffer */
66 *(fillIn)++=code;
80 code = USCRIPT_INVALID_CODE;
82 if(code==(UScriptCode)UCHAR_INVALID_CODE){
84 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale);
86 if(code!=(UScriptCode)UCHAR_INVALID_CODE)
    [all...]
  /external/android-clat/
icmp.c 63 uint8_t icmp_to_icmp6_type(uint8_t type, uint8_t code) {
76 if (code != ICMP_UNREACH_PROTOCOL && code != ICMP_UNREACH_NEEDFRAG) {
89 * code - the ICMP code
91 uint8_t icmp_to_icmp6_code(uint8_t type, uint8_t code) {
98 return code;
101 switch (code) {
115 // Otherwise, we don't understand this ICMP type/code combination. Fall through.
118 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_code: unhandled ICMP type/code %d/%d", type, code)
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
StatusLineTest.java 29 int code = 200; local
30 StatusLine statusLine = new StatusLine("HTTP/1." + version + " " + code + " " + message);
33 assertEquals(code, statusLine.code());
38 int code = 503; local
39 StatusLine statusLine = new StatusLine("HTTP/1." + version + " " + code + " ");
42 assertEquals(code, statusLine.code());
52 int code = 503; local
53 StatusLine statusLine = new StatusLine("HTTP/1." + version + " " + code);
    [all...]
  /system/core/libpixelflinger/codeflinger/
Arm64Disassembler.cpp 8 * * Redistributions of source code must retain the above copyright
134 static void decode_token(uint32_t code, char *token, char *instr_part)
137 sprintf(instr_part, "0x%x", bits_unsigned(code, 21,10));
139 sprintf(instr_part, "0x%x", bits_unsigned(code, 20,5));
141 sprintf(instr_part, "lsl #%d", bits_unsigned(code, 23,22) * 12);
145 sprintf(instr_part, "%s", shift2_table[bits_unsigned(code, 23,22)]);
148 sprintf(instr_part, "%d", bits_unsigned(code, 22,21) * 16);
150 sprintf(instr_part, "%d", bits_unsigned(code, 15,10));
152 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 2);
154 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 3)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
TBCPadding.java 53 byte code;
57 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00);
61 code = (byte)((in[in.length - 1] & 0x01) == 0 ? 0xff : 0x00);
66 in[inOff] = code;
79 byte code = in[in.length - 1];
82 while (index > 0 && in[index - 1] == code)
  /external/chromium_org/ash/wm/
cursor_manager_chromeos.cc 2 // Use of this source code is governed by a BSD-style license that can be
32 ui::KeyboardCode code = event.key_code();
33 if (code >= ui::VKEY_F1 && code <= ui::VKEY_F24)
35 if (code >= ui::VKEY_BROWSER_BACK && code <= ui::VKEY_MEDIA_LAUNCH_APP2)
37 switch (code) {

Completed in 1394 milliseconds

1 2 3 4 5 6 78 91011>>