/hardware/qcom/audio/legacy/libalsa-intf/ |
alsaucm_test.c | 2 * Copyright (c) 2012, Code Aurora Forum. All rights reserved. 7 * * Redistributions of source code must retain the above copyright 13 * * Neither the name of Code Aurora Forum, Inc. nor the names of its 66 enum ucm_cmd_id code; member in struct:cmd 187 if ((identifier == NULL) && ((cmd->code != UCM_HELP) && 188 (cmd->code != UCM_LISTCARDS) && (cmd->code != UCM_RESET) && 189 (cmd->code != UCM_RELOAD))) 195 switch (cmd->code) {
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
Prefix.java | 138 success = (ex.code == DOMException.NAMESPACE_ERR); 156 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); 174 success = (ex.code == DOMException.NAMESPACE_ERR); 208 // success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); 228 success = (ex.code == DOMException.NAMESPACE_ERR); 246 success = (ex.code == DOMException.NAMESPACE_ERR); 266 success = (ex.code == DOMException.NAMESPACE_ERR);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_new.py | 61 # It's unclear what the semantics should be for a code object compiled 104 # Note: Jython will never have new.code() 105 if hasattr(new, 'code'): 107 # bogus test of new.code() 126 d = new.code(argcount, nlocals, stacksize, flags, codestring, 131 d = new.code(argcount, nlocals, stacksize, flags, codestring, 136 self.assertRaises(ValueError, new.code, 141 self.assertRaises(ValueError, new.code, 146 self.assertRaises(TypeError, new.code, 150 # new.code used to be a way to mutate a tuple.. [all...] |
test_struct.py | 160 for code in integer_codes: 162 format = byteorder+code 164 self.assertEqual(size, expected_size[code]) 194 self.code = format[-1] 201 if self.code in tuple('bhilq'): 205 elif self.code in tuple('BHILQ'): 210 raise ValueError("unrecognized format code: %s" % 211 self.code) 344 self.fail("integer code pack failed on object " 355 for code in integer_codes [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_new.py | 61 # It's unclear what the semantics should be for a code object compiled 104 # Note: Jython will never have new.code() 105 if hasattr(new, 'code'): 107 # bogus test of new.code() 126 d = new.code(argcount, nlocals, stacksize, flags, codestring, 131 d = new.code(argcount, nlocals, stacksize, flags, codestring, 136 self.assertRaises(ValueError, new.code, 141 self.assertRaises(ValueError, new.code, 146 self.assertRaises(TypeError, new.code, 150 # new.code used to be a way to mutate a tuple.. [all...] |
test_struct.py | 160 for code in integer_codes: 162 format = byteorder+code 164 self.assertEqual(size, expected_size[code]) 194 self.code = format[-1] 201 if self.code in tuple('bhilq'): 205 elif self.code in tuple('BHILQ'): 210 raise ValueError("unrecognized format code: %s" % 211 self.code) 344 self.fail("integer code pack failed on object " 355 for code in integer_codes [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
EventSender.cpp | 8 * * Redistributions of source code must retain the above copyright 170 // If we want to change this behavior on Linux, this piece of code must be 171 // kept in sync with the related code in above file. 178 // See the related code in: WebKit/chromium/src/mac/WebInputEventFactory.cpp 179 // It must be kept in sync with the related code in above file. 242 // Key event location code introduced in DOM Level 3. 560 int code = 0; local 565 text = code = VKEY_RETURN; 567 code = VKEY_RIGHT; 569 code = VKEY_DOWN [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
RopperMachine.java | 17 package com.android.dx.cf.code; 19 import com.android.dx.rop.code.FillArrayDataInsn; 20 import com.android.dx.rop.code.Insn; 21 import com.android.dx.rop.code.PlainCstInsn; 22 import com.android.dx.rop.code.PlainInsn; 23 import com.android.dx.rop.code.RegOps; 24 import com.android.dx.rop.code.RegisterSpec; 25 import com.android.dx.rop.code.RegisterSpecList; 26 import com.android.dx.rop.code.Rop; 27 import com.android.dx.rop.code.Rops [all...] |
/external/chromium/chrome/browser/chromeos/ |
user_cros_settings_provider.cc | 2 // Use of this source code is governed by a BSD-style license that can be 305 virtual void OnRetrievePropertyCompleted(SignedSettings::ReturnCode code, 316 switch (code) { 321 || (code == SignedSettings::NOT_FOUND); 322 DCHECK(fallback_to_default || code == SignedSettings::SUCCESS); 340 DCHECK(code == SignedSettings::OPERATION_FAILED); 369 if (code == SignedSettings::SUCCESS) 374 virtual void OnStorePropertyCompleted(SignedSettings::ReturnCode code, 377 VLOG(1) << "Store cros setting " << name << "=" << value << ", code=" 378 << code; local 388 VLOG(1) << "Add " << email << " to whitelist, code=" << code; local 398 VLOG(1) << "Remove " << email << " from whitelist, code=" << code; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 331 int code = SSL_connect(ssl_); local 332 switch (SSL_get_error(ssl_, code)) { 366 LOG(LS_INFO) << " -- error " << code; 367 return (code != 0) ? code : -1; 434 int code = SSL_write(ssl_, pv, cb); local 435 switch (SSL_get_error(ssl_, code)) { 438 return code; 454 //LOG(LS_INFO) << " -- error " << code; 455 Error("SSL_write", (code ? code : -1), false) 489 int code = SSL_read(ssl_, pv, cb); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
parser.py | 0 """Code parsing for Coverage.""" 13 """Parse code to find executable lines, excluded lines, etc.""" 23 self.filename = filename or "<code>" 35 "No source for code: %r: %s" % (self.filename, err) 42 # The text lines of the parsed code. 45 # The line numbers of excluded lines of code. 117 # Class definitions look like branches in the byte code, so 211 """Get information about the arcs available in the code. 274 # Opcodes that leave the code object. 277 # Opcodes that unconditionally end the code chunk [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 8 * 1. Redistributions of source code must retain the above copyright notice, 369 int code = SSL_connect(ssl_); local 370 switch (SSL_get_error(ssl_, code)) { 398 LOG(LS_WARNING) << "ContinueSSL -- error " << code; 399 return (code != 0) ? code : -1; 466 int code = SSL_write(ssl_, pv, cb); local 467 switch (SSL_get_error(ssl_, code)) { 470 return code; 486 //LOG(LS_INFO) << " -- error " << code; 521 int code = SSL_read(ssl_, pv, cb); local [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaDec.c | 17 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 19 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 21 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); 47 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 49 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 51 #define UPDATE_1_CHECK range -= bound; code -= bound; 151 UInt32 code = p->code; local 490 UInt32 code = p->code; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/aes/asm/ |
bsaes-x86_64.pl | 17 # Started as transliteration to "perlasm" the original code has 20 # - code was made position-independent; 51 # be equivalent to Nehalem for this code. 78 # it's still faster than ["hyper-threading-safe" code path in] 133 $code.=<<___; 156 $code.=<<___; 186 $code.=<<___ 205 $code.=<<___; 229 $code.=<<___; 244 $code.=<<___ [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaDec.c | 18 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 20 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 22 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); 48 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 50 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 52 #define UPDATE_1_CHECK range -= bound; code -= bound; 152 UInt32 code = p->code; local 491 UInt32 code = p->code; local [all...] |
/external/lzma/C/ |
LzmaDec.c | 17 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
19 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
21 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
47 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
49 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
51 #define UPDATE_1_CHECK range -= bound; code -= bound;
151 UInt32 code = p->code;
local 490 UInt32 code = p->code; local [all...] |
/external/openssl/crypto/aes/asm/ |
bsaes-x86_64.pl | 17 # Started as transliteration to "perlasm" the original code has 20 # - code was made position-independent; 51 # be equivalent to Nehalem for this code. 78 # it's still faster than ["hyper-threading-safe" code path in] 133 $code.=<<___; 156 $code.=<<___; 186 $code.=<<___ 205 $code.=<<___; 229 $code.=<<___; 244 $code.=<<___ [all...] |
/external/v8/src/mips/ |
code-stubs-mips.h | 6 // * Redistributions of source code must retain the above copyright 134 virtual int GetCodeKind() { return Code::UNARY_OP_IC; } 140 virtual void FinishCode(Handle<Code> code) { 141 code->set_unary_op_type(operand_type_); 233 virtual int GetCodeKind() { return Code::BINARY_OP_IC; } 239 virtual void FinishCode(Handle<Code> code) { 240 code->set_binary_op_type(operands_type_); 241 code->set_binary_op_result_type(result_type_) [all...] |
/frameworks/native/libs/binder/ |
IPCThreadState.cpp | 149 << "code=" << TypeCode(btd->code) << ", flags=" << (void*)btd->flags << endl 161 int32_t code = *cmd++; local 162 size_t cmdIndex = code & 0xff; 163 if (code == (int32_t) BR_ERROR) { 167 out << "Unknown reply: " << code << endl; 172 switch (code) { 222 int32_t code = *cmd++; local 223 size_t cmdIndex = code & 0xff; 226 out << "Unknown command: " << code << endl [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_rc.c | 141 static int send_event (int fd, uint16_t type, uint16_t code, int32_t value); 173 * For now, only the rc_white_addr_prefix is used in the code while 190 tBTA_AV_CODE code, tAVRC_RESPONSE *pmetamsg_resp); 226 int send_event (int fd, uint16_t type, uint16_t code, int32_t value) 229 BTIF_TRACE_DEBUG4("%s type:%u code:%u value:%d", __FUNCTION__, 230 type, code, value); 233 event.code = code; 444 BTIF_TRACE_ERROR2("%s Connect failed with error code: %d", 619 if (pmeta_msg->code >= AVRC_RSP_NOT_IMPL [all...] |
/external/v8/src/ |
uri.js | 6 // * Redistributions of source code must retain the above copyright 39 result[index++] = 37; // Char code of '%'. 235 result[index++] = 37; // Char code of '%'. 284 // Does the char code correspond to an alpha-numeric char. 349 function HexValueOf(code) { 351 if (code >= 48 && code <= 57) return code - 48; 353 if (code >= 65 && code <= 70) return code - 55 [all...] |
/external/chromium_org/v8/src/ia32/ |
assembler-ia32.cc | 8 // - Redistributions of source code must retain the above copyright notice, 33 // The original source code covered by the above license above has been modified 211 // code object moves. 217 // Patch the code at the current address with the supplied instructions. 222 // Indicate that code has changed. 227 // Patch the code at the current PC with a call to the target address. 234 // Create a code patcher. 237 // Add a label for checking the size of the code used for returning. 243 // Patch the code. 246 // Check that the size of the code generated is as expected 2269 XMMRegister code = XMMRegister::from_code(level); local [all...] |
/external/chromium_org/content/public/test/ |
test_file_error_injector.cc | 2 // Use of this source code is governed by a BSD-style license that can be 62 TestFileErrorInjector::FileOperationCode code, 65 // Determine whether to overwrite an operation with the given code 69 // operations counts for the specified code. It should only be called 72 TestFileErrorInjector::FileOperationCode code, 231 TestFileErrorInjector::FileOperationCode code, 233 int counter = operation_counter_[code]++; 235 if (code != error_info_.code) 246 TestFileErrorInjector::FileOperationCode code, [all...] |
/external/chromium_org/ppapi/proxy/ |
websocket_resource.cc | 2 // Use of this source code is governed by a BSD-style license that can be 129 int32_t WebSocketResource::Close(uint16_t code, 137 // Validate |code| and |reason|. 141 static_cast<WebKit::WebSocket::CloseEventCode>(code); 142 if (code == PP_WEBSOCKETSTATUSCODE_NOT_SPECIFIED) { 148 if (!(code == PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE || 149 (PP_WEBSOCKETSTATUSCODE_USER_REGISTERED_MIN <= code && 150 code <= PP_WEBSOCKETSTATUSCODE_USER_PRIVATE_MAX))) 151 // RFC 6455 limits applications to use reserved connection close code in 156 // |reason| must be ignored if it is PP_VARTYPE_UNDEFINED or |code| i [all...] |
/external/chromium_org/third_party/icu/source/common/ |
unames.c | 48 * and we don't want to make it less compact, so we changed the access code. 96 UChar32 code; member in struct:__anon13291 200 /* check error code from previous attempt */ 469 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { 470 const char *catname = getCharCatName(code); 481 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4) 485 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) { 498 * Unicode code point "code". 499 * The return value is always a valid Group* that may contain "code" 1088 UChar32 code; local [all...] |