| /external/v8/src/ia32/ |
| deoptimizer-ia32.cc | 2 // Use of this source code is governed by a BSD-style license that can be 25 void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) { 26 Isolate* isolate = code->GetIsolate(); 29 // Compute the size of relocation information needed for the code 34 DeoptimizationInputData::cast(code->deoptimization_data()); 55 int reloc_length = code->relocation_info()->length(); 72 code->relocation_info()->GetDataStartAddress(), reloc_length); 88 // Replace relocation information on the code object. 89 code->set_relocation_info(*new_reloc) 201 int code = config->GetAllocatableDoubleCode(i); local 259 int code = config->GetAllocatableDoubleCode(i); local 333 int code = config->GetAllocatableDoubleCode(i); local [all...] |
| /external/mesa3d/src/gallium/drivers/r300/ |
| r300_vs.c | 117 c->code->inputs[i] = i; 121 c->code->outputs[outputs->pos] = reg++; 128 c->code->outputs[outputs->psize] = reg++; 141 c->code->outputs[outputs->color[i]] = reg++; 151 c->code->outputs[outputs->bcolor[i]] = reg++; 160 c->code->outputs[outputs->generic[i]] = reg++; 166 c->code->outputs[outputs->fog] = reg++; 170 c->code->outputs[outputs->wpos] = reg++; 218 compiler.code = &vs->code; [all...] |
| /frameworks/av/media/mtp/ |
| MtpDebug.cpp | 23 uint16_t code; member in struct:android::CodeEntry 372 static const char* getCodeName(uint16_t code, const CodeEntry* table) { 375 if (entry->code == code) 382 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) { 383 return getCodeName(code, sOperationCodes); 386 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) { 387 if (code == 0) 389 return getCodeName(code, sFormatCodes); 392 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) { [all...] |
| /prebuilts/go/darwin-x86/src/compress/lzw/ |
| writer.go | 2 // Use of this source code is governed by a BSD-style 34 // A code is a 12 bit value, stored as a uint32 when encoding to avoid 43 // lower 12 bits of a valid entry must be a non-literal code. 52 // converting a code stream into a byte stream. 60 // hi is the code implied by the next code emission. 61 // overflow is the code at which hi overflows the code width. 63 // savedCode is the accumulated code at the end of the most recent Write 71 // The keys consist of a 12-bit code prefix and an 8-bit byte suffix [all...] |
| /prebuilts/go/linux-x86/src/compress/lzw/ |
| writer.go | 2 // Use of this source code is governed by a BSD-style 34 // A code is a 12 bit value, stored as a uint32 when encoding to avoid 43 // lower 12 bits of a valid entry must be a non-literal code. 52 // converting a code stream into a byte stream. 60 // hi is the code implied by the next code emission. 61 // overflow is the code at which hi overflows the code width. 63 // savedCode is the accumulated code at the end of the most recent Write 71 // The keys consist of a 12-bit code prefix and an 8-bit byte suffix [all...] |
| /external/python/cpython3/Lib/test/ |
| test_faulthandler.py | 50 def get_output(self, code, filename=None, fd=None): 52 Run the specified code in Python (in a new child process) and read the 60 code = dedent(code).strip() 65 process = script_helper.spawn_python('-c', code, pass_fds=pass_fds) 84 def check_error(self, code, line_number, fatal_error, *, 112 output, exitcode = self.get_output(code, filename=filename, fd=fd) 117 def check_fatal_error(self, code, line_number, name_regex, **kw): 119 self.check_error(code, line_number, fatal_error, **kw) 121 def check_windows_exception(self, code, line_number, name_regex, **kw) [all...] |
| /system/core/libunwindstack/ |
| DwarfSection.cpp | 53 last_error_.code = DWARF_ERROR_ILLEGAL_STATE; 61 last_error_.code = DWARF_ERROR_NONE; 64 last_error_.code = DWARF_ERROR_ILLEGAL_STATE; 99 last_error_.code = DWARF_ERROR_ILLEGAL_STATE; 104 last_error_.code = DWARF_ERROR_NOT_IMPLEMENTED; 132 last_error_.code = DWARF_ERROR_MEMORY_INVALID; 143 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; 158 last_error_.code = DWARF_ERROR_MEMORY_INVALID; 187 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; 194 last_error_.code = DWARF_ERROR_CFA_NOT_DEFINED [all...] |
| /external/v8/src/ |
| perf-jit.cc | 6 // * Redistributions of source code must retain the above copyright 211 Code* code = abstract_code->GetCode(); 212 DCHECK(code->instruction_start() == code->address() + Code::kHeaderSize); 216 LogWriteDebugInfo(code, shared); 220 uint8_t* code_pointer = reinterpret_cast<uint8_t*>(code->instruction_start()); 221 uint32_t code_size = code->is_crankshafted() ? code->safepoint_table_offset( [all...] |
| /external/vixl/src/aarch64/ |
| operands-aarch64.cc | 7 // * Redistributions of source code must retain the above copyright notice, 187 const Register& Register::GetWRegFromCode(unsigned code) { 188 if (code == kSPRegInternalCode) { 191 VIXL_ASSERT(code < kNumberOfRegisters); 192 return wregisters[code]; 197 const Register& Register::GetXRegFromCode(unsigned code) { 198 if (code == kSPRegInternalCode) { 201 VIXL_ASSERT(code < kNumberOfRegisters); 202 return xregisters[code]; 207 const VRegister& VRegister::GetBRegFromCode(unsigned code) { [all...] |
| /external/boringssl/src/crypto/fipsmodule/md5/asm/ |
| md5-x86_64.pl | 6 # Licence: I hereby disclaim the copyright on this code and place it 12 my $code; 22 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1); 23 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 24 $code .= <<EOF; 46 $code .= " mov 1*4(%rsi), %r10d /* (NEXT STEP) X[1] */\n" if ($pos == -1); 47 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 48 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 49 $code .= <<EOF; 72 $code .= " mov 5*4(%rsi), %r10d /* (NEXT STEP) X[5] */\n" if ($pos == -1) [all...] |
| /external/python/cpython3/Lib/ |
| smtplib.py | 36 # ESMTP support, test code and doc fixes added by 90 """Base class for all exceptions that include an SMTP error code. 93 server returns an error code. The error code is stored in the 98 def __init__(self, code, msg): 99 self.smtp_code = code 101 self.args = (code, msg) 110 def __init__(self, code, msg, sender): 111 self.smtp_code = code 114 self.args = (code, msg, sender [all...] |
| /external/v8/src/s390/ |
| assembler-s390.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 224 // instruction sequence, and that is always the case inside code 271 // Verify all Objects referred by code are NOT in new space. 312 // Set up code descriptor. 344 // This code assumes a FIXED_SEQUENCE for 64bit loads (iihf/iilf) 350 // This code assumes a FIXED_SEQUENCE for 32bit loads (iilf) 357 // Labels refer to positions in the (to be) generated code. 361 // generated code. pos() is the position the label refers to. 363 // Linked labels refer to unknown positions in the code 645 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 669 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 745 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 770 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 797 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 825 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 853 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 883 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 943 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 969 uint64_t code = (static_cast<uint64_t>(op)) * B32 | local 995 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 1026 uint64_t code = local 1057 uint64_t code = local 1087 uint64_t code = local 1114 uint64_t code = (static_cast<uint64_t>(op)) * B40 | local 1158 uint64_t code = (static_cast<uint64_t>(op)) * B32 | local 1187 uint64_t code = (static_cast<uint64_t>(op & 0xFF0)) * B36 | local 1208 uint32_t code = op << 16 | r3.code() * B12 | r1.code() * B4 | r2.code(); local 1246 uint32_t code = op << 16 | m3 * B12 | m4 * B8 | r1.code() * B4 | r2.code(); local 1998 uint64_t code = (static_cast<uint64_t>(op & 0xFF00)) * B32 | local 2110 Code* code = NULL; local 2111 RelocInfo rinfo(isolate(), pc, rmode, it->data(), code); local 2121 set_target_address_at(isolate(), pc, code, buffer_ + pos, local [all...] |
| /toolchain/binutils/binutils-2.27/opcodes/ |
| aarch64-dis.c | 119 these fields where the VALUE will be extracted from CODE and returned. 129 extract_fields (aarch64_insn code, aarch64_insn mask, ...) 145 value |= extract_field (kind, code, mask); 229 const aarch64_insn code, 232 info->reg.regno = extract_field (self->fields[0], code, 0); 238 const aarch64_insn code ATTRIBUTE_UNUSED, 250 const aarch64_insn code, 253 info->reg.regno = extract_field (self->fields[0], code, 0); 268 const aarch64_insn code, 272 info->reglane.regno = extract_field (self->fields[0], code, 1232 aarch64_insn code; local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
| DataDrivenUScriptTest.java | 71 int[] code = UScript.getCode(testLocaleName); local 72 if (code == null) { 77 } else if ((code[0] != expected)) { 78 errln("Error testing UScript.getCode(). Got: " + code[0] + " Expected: " + expected + " for locale " 85 code = UScript.getCode(esperanto); 86 if (code != null) { 87 if (code[0] != UScript.LATIN) { 88 errln("Did not get the expected script code for Esperanto"); 143 int[] code = UScript.getCode(testLocaleName); local 144 if (code != null) 244 int[] code = UScript.getCode(testName); local 369 int code = UScript.INVALID_CODE; local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
| DataDrivenUScriptTest.java | 68 int[] code = UScript.getCode(testLocaleName); local 69 if (code == null) { 74 } else if ((code[0] != expected)) { 75 errln("Error testing UScript.getCode(). Got: " + code[0] + " Expected: " + expected + " for locale " 82 code = UScript.getCode(esperanto); 83 if (code != null) { 84 if (code[0] != UScript.LATIN) { 85 errln("Did not get the expected script code for Esperanto"); 140 int[] code = UScript.getCode(testLocaleName); local 141 if (code != null) 241 int[] code = UScript.getCode(testName); local 366 int code = UScript.INVALID_CODE; local [all...] |
| /hardware/interfaces/gatekeeper/1.0/vts/functional/ |
| VtsHalGatekeeperV1_0TargetTest.cpp | 106 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; 107 ALOGI("%s: got retry code; retrying in 1 sec", __func__); 118 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; 119 ALOGI("%s: got retry code; retrying in 1 sec", __func__); 129 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; 130 ALOGI("%s: got retry code; retrying in 1 sec", __func__); 140 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; 141 ALOGI("%s: got retry code; retrying in 1 sec", __func__); 153 EXPECT_EQ(GatekeeperStatusCode::STATUS_OK, rsp.code); 157 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); [all...] |
| /art/dex2oat/linker/ |
| image_test.cc | 96 // Test that pointer to quick code is the same in 112 // Test the pointer to quick code is the same in origin method 120 const void* code = origin->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size); local 121 // The origin method should have a pointer to quick code 122 ASSERT_NE(nullptr, code); 123 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code)); 129 // the copied method should have pointer to the same quick code as the origin method 130 ASSERT_EQ(code, copied->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size)); 132 // Test the origin method has pointer to quick code 143 code = origin->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size) [all...] |
| /external/javassist/src/main/javassist/ |
| CtMethod.java | 21 * An instance of <code>CtMethod</code> represents a method. 23 * <p>See the super class <code>CtBehavior</code> since 24 * a number of useful methods are in <code>CtBehavior</code>. 25 * A number of useful factory methods are in <code>CtNewMethod</code>. 43 * added to a class with <code>CtClass.addMethod()</code> 285 Bytecode code = CtNewWrappedMethod.makeBody(clazz, local [all...] |
| /external/skia/src/gpu/ccpr/ |
| GrCCTriangleShader.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 GrGLSLVarying::Scope scope, SkString* code, 23 code->appendf("%s = %s;", OutName(fCoverageTimesWind), wind); 26 code->appendf("%s = %s * %s;", OutName(fCoverageTimesWind), inputCoverage, wind); 90 GrGLSLVarying::Scope scope, SkString* code, 102 code->appendf("for (int i = 0; i < 2; ++i) {"); 103 code->appendf( "%s[i] = %s * %s[i] + %s[i];", 106 code->appendf( "%s[i] = %s[i];", OutName(fBisectInAABoxes), fGeoShaderBisects.c_str()); 107 code->appendf("}"); 111 code->appendf("%s = %s * .5;", OutName(fWindTimesHalf), wind) [all...] |
| /external/tensorflow/tensorflow/compiler/xla/ |
| status_macros.cc | 29 static Status MakeStatus(tensorflow::error::Code code, const string& message) { 30 return Status(code, message); 64 // Make a Status with a code, error message and payload, 71 tensorflow::error::Code code, const string& message, 74 if (TF_PREDICT_FALSE(code == tensorflow::error::OK)) { 76 code = tensorflow::error::UNKNOWN; 78 const Status status = MakeStatus(code, message); 86 // generating a lot of inline code for error cases in all callers [all...] |
| /hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
| supplicant_hidl_test.cpp | 67 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); 89 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); 97 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); 115 status.code); 132 status.code); 150 status.code); 168 status.code); 179 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); 183 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code);
|
| /hardware/qcom/display/msm8084/libqservice/ |
| IQService.cpp | 85 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 87 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); 102 if (code == CONNECT_HWC_CLIENT) { 114 } else if(code == CONNECT_HDMI_CLIENT) { 126 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { 129 pid=%d uid=%d process=%s", code, callerPid, 134 dispatch(code, &data, reply); 137 return BBinder::onTransact(code, data, reply, flags) [all...] |
| /hardware/qcom/display/msm8909/libqservice/ |
| IQService.cpp | 83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); 99 if (code == CONNECT_HWC_CLIENT) { 110 } else if(code == CONNECT_HDMI_CLIENT) { 121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { 124 code, callerPid, callerUid); 128 dispatch(code, &data, reply); 131 return BBinder::onTransact(code, data, reply, flags) [all...] |
| /hardware/qcom/display/msm8909w_3100/libqservice/ |
| IQService.cpp | 83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); 99 if (code == CONNECT_HWC_CLIENT) { 110 } else if(code == CONNECT_HDMI_CLIENT) { 121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { 124 code, callerPid, callerUid); 128 dispatch(code, &data, reply); 131 return BBinder::onTransact(code, data, reply, flags) [all...] |
| /hardware/qcom/display/msm8996/libqservice/ |
| IQService.cpp | 83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); 97 if (code == CONNECT_HWC_CLIENT) { 108 } else if(code == CONNECT_HDMI_CLIENT) { 119 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { 122 code, callerPid, callerUid); 126 dispatch(code, &data, reply); 129 return BBinder::onTransact(code, data, reply, flags) [all...] |