/art/test/909-attach-agent/src-art/ |
H A D | Main.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 // Setup is finished. Try to attach agent in 2 ways. 86 private static void prepare(String in, File tmp) throws Exception { argument 88 File orig = find(in); 90 throw new RuntimeException("Could not find " + in); 110 private static File find(String in) { argument 113 File f = new File(path + "/" + in);
|
/art/runtime/arch/x86_64/ |
H A D | instruction_set_features_x86_64.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 57 // InstructionSetFeatures. This works around kernel bugs in AT_HWCAP and /proc/cpuinfo. 87 static X86_64FeaturesUniquePtr Convert(X86FeaturesUniquePtr&& in) { argument 88 return X86_64FeaturesUniquePtr(in.release()->AsX86_64InstructionSetFeatures());
|
/art/openjdkjvmti/ |
H A D | ti_properties.cc | 15 * by Oracle in the LICENSE file that accompanied this code. 17 * This code is distributed in the hope that it will be useful, but WITHOUT 20 * version 2 for more details (a copy is included in the LICENSE file that 50 // in System.java and AndroidHardcodedSystemProperties.java. 148 static jvmtiError Copy(jvmtiEnv* env, const char* in, char** out) { argument 150 JvmtiUniquePtr<char[]> data = CopyString(env, in, &result);
|
H A D | ti_heap.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 54 // The number of fields in interfaces and superclasses. This is the first index assigned to 271 // Visit primitive fields in an object (instance). Return true if the visit was aborted. 383 // (We do this in preparation for actual visiting of interface fields.) 892 // TODO: Fill in ref_info. 968 // Note: this isn't a root in the RI. 1310 // comment in Heap::VisitObjects(). 1410 // Only count objects in the boot image as HPROF_HEAP_IMAGE, this leaves app image objects 1448 // We cannot use SOA in thi 1459 CopyStringAndReturn(jvmtiEnv* env, const char* in, char** out) argument [all...] |
/art/test/409-materialized-condition/src/ |
H A D | Main.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 87 public static boolean $noinline$booleanCondition(boolean in) { argument 88 int value = in ? 1 : 0;
|
/art/libartbase/base/ |
H A D | utils.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 bool ParseUint(const char *in, T* out) { argument 39 unsigned long long int result = strtoull(in, &end, 0); // NOLINT(runtime/int) 40 if (in == end || *end != '\0') { 51 bool ParseInt(const char* in, T* out) { argument 53 long long int result = strtoll(in, &end, 0); // NOLINT(runtime/int) 54 if (in == end || *end != '\0') {
|
/art/libdexfile/dex/ |
H A D | utf_test.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 159 // Unpaired (or incorrectly paired) surrogates in the middle of the input. 187 std::vector<uint16_t> in = prefix_in; local 188 in.insert(in.end(), test_in.begin(), test_in.end()); 189 in.insert(in.end(), suffix_in.begin(), suffix_in.end()); 193 AssertConversion(in, out);
|
/art/test/004-ThreadStress/src-art/ |
H A D | Main.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 130 private final static int ALLOC_SIZE = 1024; // Needs to be small enough to not be in LOS. 165 private final static int ALLOC_SIZE = 1024; // Needs to be small enough to not be in LOS. 275 // java.util.concurrent.locks.AbstractQueuedSynchronizer, used in the 358 private static Map<Operation, Double> updateFrequencyMap(Map<Operation, Double> in, argument 400 if (in == null) { 401 in = new HashMap<Operation, Double>(); 403 in.put(op, d); 405 return in; [all...] |
/art/runtime/ |
H A D | native_stack_dump.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 80 : in(in_fd, false), out(out_fd, false), file(file_name), child_pid(pid), odd(true) {} 86 File in; // The file descriptor that is connected to the output of addr2line. member in struct:art::Addr2linePipe 144 int in = pipe->get()->in.Fd(); local 145 DCHECK_GE(in, 0); 154 struct pollfd read_fd{in, POLLIN, 0}; member in struct:art::read_fd 177 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); 360 // Functions found using the gdb jit interface will be in a [all...] |
H A D | class_loader_context_test.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 108 // classpath_dir) it might not match the expected location which is absolute in tests). 199 // An shared library context should have no class loader in the chain. 281 // Creates a relative path from cwd to 'in'. Returns false if it cannot be done. 282 // TODO We should somehow support this in all situations. b/72042237. 283 static bool CreateRelativeString(const std::string& in, const char* cwd, std::string* out) { argument 285 if (!android::base::StartsWith(in, cwd) || (cwd_len < 1)) { 290 *out = in.substr(start_position);
|
/art/adbconnection/ |
H A D | adbconnection.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 183 // The name in Attach() is only for logging. Set the thread name. This is important so 195 // The StartThreadBirth was called in the parent thread. We let the runtime know we are up 513 // up after a few minutes in case somebody ships an app with 559 // exclusive and shared lock in the same scope. Remove the assertion as a temporary workaround. 678 static uint32_t ReadUint32AndAdvance(/*in-out*/uint8_t** in) { argument 680 memcpy(&res, *in, sizeof(uint32_t)); 681 *in [all...] |
/art/dt_fd_forward/ |
H A D | dt_fd_forward.cc | 16 * by Oracle in the LICENSE file that accompanied this code. 18 * This code is distributed in the hope that it will be useful, but WITHOUT 21 * version 2 for more details (a copy is included in the LICENSE file that 55 // Helper that puts line-number in error message. 62 template <typename T> static T HostToNetwork(T in); 63 template <typename T> static T NetworkToHost(T in); 65 template<> int8_t HostToNetwork(int8_t in) { return in; } argument 66 template<> int8_t NetworkToHost(int8_t in) { return in; } argument 67 HostToNetwork(int16_t in) argument 68 NetworkToHost(int16_t in) argument 69 HostToNetwork(int32_t in) argument 70 NetworkToHost(int32_t in) argument [all...] |
/art/runtime/verifier/ |
H A D | verifier_deps.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 55 // which should be the one passed as `this` in this method. 171 // The main VerifierDeps is the one set in the compiler callbacks, which at the 205 // String is in the DEX file. Return its ID. 209 // String is not in the DEX file. Assign a new ID to it which is higher than 210 // the number of strings in the DEX file. 258 // is in the classpath. 273 // file was not registered as being compiled and we assume `klass` is in the 349 // If the destination is a direct interface of a class defined in th 552 DecodeUint32WithOverflowCheck(const uint8_t** in, const uint8_t* end) argument 559 Encode(uint16_t in) argument 562 Encode(uint32_t in) argument 565 Encode(dex::TypeIndex in) argument 568 Encode(dex::StringIndex in) argument 574 Decode(uint32_t in) argument 577 Decode(uint32_t in) argument 580 Decode(uint32_t in) argument 583 Decode(uint32_t in) argument 593 DecodeTuple(const uint8_t** in, const uint8_t* end, dex::TypeIndex* t) argument 604 DecodeTuple(const uint8_t** in, const uint8_t* end, std::tuple<T1, T2>* t) argument 618 DecodeTuple(const uint8_t** in, const uint8_t* end, std::tuple<T1, T2, T3>* t) argument 643 DecodeSet(const uint8_t** in, const uint8_t* end, std::set<T>* set) argument 654 DecodeUint16Vector(const uint8_t** in, const uint8_t* end, std::vector<T>* vector) argument 677 DecodeStringVector(const uint8_t** in, const uint8_t* end, std::vector<std::string>* strings) argument [all...] |
/art/test/ti-stress/ |
H A D | stress.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 469 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info 539 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info 625 << location << " in method " << method_info << " thread: " << info.GetName(); 669 static std::string GetOption(const std::string& in) { argument 670 return in.substr(0, in.find(','));
|
/art/compiler/optimizing/ |
H A D | intrinsics_mips64.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 84 // intrinsic) in an intrinsified call. This will copy the arguments 87 // Note: The actual parameters are required to be in the locations 116 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 152 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 156 __ Dmfc1(out, in); 158 __ Mfc1(out, in); 188 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 192 __ Dmtc1(in, ou 226 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 278 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 309 Location in = locations->InAt(0); local 348 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 391 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 474 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 510 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 765 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 788 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 814 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 881 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 1926 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 2247 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 2291 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local 2343 FpuRegister in = locations->InAt(0).AsFpuRegister<FpuRegister>(); local 2570 GpuRegister in = locations->InAt(0).AsRegister<GpuRegister>(); local [all...] |
H A D | intrinsics_arm64.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 104 // Slow-path for fallback (calling the managed code to handle the intrinsic) in an intrinsified 107 // Note: The actual parameters are required to be in the locations given by the invoke's location 139 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 171 << "Unexpected instruction in read barrier arraycopy slow path: " 200 // any live register in this slow path. 305 Location in = locations->InAt(0); local 310 __ Rev16(WRegisterFrom(out), WRegisterFrom(in)); 315 __ Rev(RegisterFrom(out, type), RegisterFrom(in, typ 360 Location in = locations->InAt(0); local 387 Location in = locations->InAt(0); local 415 Location in = locations->InAt(0); local 540 Location in = locations->InAt(0); local 568 Location in = locations->InAt(0); local 2998 Register in = RegisterFrom(locations->InAt(0), DataType::Type::kInt32); local [all...] |
H A D | intrinsics_arm_vixl.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 71 // Default slow-path for fallback (calling the managed code to handle the intrinsic) in an 74 // Note: The actual parameters are required to be in the locations given by the invoke's location 109 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 127 // Compute base address for the System.arraycopy intrinsic in `base`. 150 // Compute end address for the System.arraycopy intrinsic in `end`. 186 << "Unexpected instruction in read barrier arraycopy slow path: " 202 // Compute the base destination address in `dst_curr_addr`. 221 // any live register in thi 351 Location in = locations->InAt(0); local 413 vixl32::Register in = RegisterFrom(locations->InAt(0)); local 467 Location in = locations->InAt(0); local 2906 Location in = locations->InAt(0); local 2955 Location in = locations->InAt(0); local 2986 vixl32::Register in = InputRegisterAt(invoke, 0); local 3021 Location in = locations->InAt(0); local 3052 vixl32::Register in = InputRegisterAt(invoke, 0); local 3314 vixl32::Register in = RegisterFrom(locations->InAt(0)); local [all...] |
H A D | intrinsics_mips.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 96 // intrinsic) in an intrinsified call. This will copy the arguments 99 // Note: The actual parameters are required to be in the locations 127 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 163 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 169 __ Mfc1(out_lo, in); 170 __ MoveFromFpuHigh(out_hi, in); 174 __ Mfc1(out, in); 213 Register in local 258 Register in = locations->InAt(0).AsRegister<Register>(); local 272 Register in = locations->InAt(0).AsRegister<Register>(); local 462 Register in = locations->InAt(0).AsRegister<Register>(); local 496 Register in; local 641 Register in = locations->InAt(0).AsRegister<Register>(); local 750 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 834 Register in = locations->InAt(0).AsRegister<Register>(); local 1321 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 2359 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 2446 Register in = locations->InAt(0).AsRegister<Register>(); local 2500 Register in = locations->InAt(0).AsRegister<Register>(); local 2538 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 2762 FRegister in = locations->InAt(0).AsFpuRegister<FRegister>(); local 3182 Register in = locations->InAt(0).AsRegister<Register>(); local [all...] |
H A D | intrinsics_x86.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 95 << "Unexpected instruction in read barrier arraycopy slow path: " 116 // destination address, and the end source address (resp.), as in 437 // The result is in EAX. 673 // op1 is already in the same location as the output. 775 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 778 GetAssembler()->sqrtsd(out, in); 823 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 825 __ roundsd(out, in, Immediat 889 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 3320 Register in = locations->InAt(0).AsRegister<Register>(); local 3338 __ movl(Address(out, info.value_offset), in); local [all...] |
H A D | intrinsics_x86_64.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 88 << "Unexpected instruction in read barrier arraycopy slow path: " 550 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 553 GetAssembler()->sqrtsd(out, in); 598 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 600 __ roundsd(out, in, Immediate(round_mode)); 663 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 672 // result = floor(in); 673 // if (in 707 XmmRegister in = locations->InAt(0).AsFpuRegister<XmmRegister>(); local 2988 CpuRegister in = locations->InAt(0).AsRegister<CpuRegister>(); local 3013 __ movl(Address(out, info.value_offset), in); local [all...] |
H A D | code_generator_arm_vixl.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 176 // restored and then used in regular non SlowPath code as D register. 409 // Live registers will be restored in the catch block if caught. 496 // Live registers will be restored in the catch block if caught. 738 // location; in the latter case, the read barrier marking runtime 768 // and output in R0): 802 // barrier. The field `obj.field` in the object `obj` holding this 810 // reference (different from `ref`) in `obj.field`). 814 // location; in th 1562 const Operand in = kind == HInstruction::kAnd local 2177 vixl32::Register in = InputRegisterAt(cond, 0); local 3203 GenerateConditionWithZero(IfCondition condition, vixl32::Register out, vixl32::Register in, vixl32::Register temp) argument 3716 Location in = locations->InAt(0); local 3901 Location in = locations->InAt(0); local 4745 vixl32::Register in = InputRegisterAt(ror, 0); local 5206 Location in = locations->InAt(0); local [all...] |
H A D | code_generator_x86.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 66 // Live registers will be restored in the catch block if caught. 137 // Live registers will be restored in the catch block if caught. 440 // barrier. The field `obj.field` in the object `obj` holding this 449 // reference (different from `ref`) in `obj.field`). 478 << "Unexpected instruction in read barrier marking slow path: " 495 // and output in EAX): 515 // Should the reference in `ref_` be unpoisoned prior to marking it? 522 // and if needed, atomically updating the field `obj.field` in th 2342 Location in = locations->InAt(0); local 2596 Location in = locations->InAt(0); local 4291 Location in = locations->InAt(0); local 4318 Location in = locations->InAt(0); local [all...] |
H A D | code_generator_x86_64.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 70 // Live registers will be restored in the catch block if caught. 189 // Live registers will be restored in the catch block if caught. 455 // barrier. The field `obj.field` in the object `obj` holding this 464 // reference (different from `ref`) in `obj.field`). 494 << "Unexpected instruction in read barrier marking slow path: " 511 // and output in R0): 532 // Should the reference in `ref_` be unpoisoned prior to marking it? 539 // and if needed, atomically updating the field `obj.field` in th 2510 Location in = locations->InAt(0); local 2687 Location in = locations->InAt(0); local [all...] |
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 82 LOG(FATAL) << "Trying to abort, but not in transaction mode: " << msg; 124 // Helper function to deal with class loading in an unstarted runtime. 137 AbortTransactionOrFail(self, "%s failed in un-started runtime for class: %s", 154 // Common helper for class-loading cutouts in an unstarted runtime. We call Runtime methods that 155 // rely on Java code to wrap errors in the correct exception class (i.e., NoClassDefFoundError into 175 AbortTransactionOrFail(self, "Null-pointer in Class.forName."); 184 // All uses in this file are from reflection 269 AbortTransactionOrFail(self, "Null-pointer in Clas 1164 double in = shadow_frame->GetVRegDouble(arg_offset); local [all...] |
/art/dex2oat/ |
H A D | dex2oat.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 126 // even more aggressive. There won't be much reasonable data here for us in that case anyways (the 228 UsageError(" encode in the oat file for the corresponding --dex-file argument."); 268 UsageError(" --image-classes=<classname-file>: specifies classes to include in an image."); 373 UsageError(" --avoid-storing-invocation: Avoid storing the invocation args in the key value"); 392 UsageError(" --swap-dex-size-threshold=<size>: specifies the minimum total dex file size in"); 402 UsageError(" --very-large-app-threshold=<size>: specifies the minimum total dex file size in"); 407 UsageError(" The image is non-empty only if a profile is passed in."); 432 UsageError(" runtime loading context that is stored in th 1077 CreateMultiImageName(std::string in, const std::string& prefix, const std::string& infix, const char* replace_suffix) argument [all...] |