/art/runtime/mirror/ |
array-inl.h | 20 #include "array.h" 35 inline uint32_t Array::ClassSize(PointerSize pointer_size) { 41 inline size_t Array::SizeOf() { 42 // This is safe from overflow because the array was already allocated, so we know it's sane. 53 inline MemberOffset Array::DataOffset(size_t component_size) { 55 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); 57 << "Array data offset isn't aligned with component size"; 62 inline bool Array::CheckIsValidIndex(int32_t index) { 75 size_t header_size = Array::DataOffset(component_size).SizeValue(); 89 // The array length limit (exclusive) 108 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local 132 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local [all...] |
/art/runtime/entrypoints/quick/ |
quick_default_externs.h | 24 class Array; 68 // Array entrypoints. 69 extern "C" void art_quick_aput_obj_with_null_and_bound_check(art::mirror::Array*, int32_t, 71 extern "C" void art_quick_aput_obj_with_bound_check(art::mirror::Array*, int32_t, 73 extern "C" void art_quick_aput_obj(art::mirror::Array*, int32_t, art::mirror::Object*);
|
/art/test/003-omnibus-opcodes/src/ |
Main.java | 46 Array.run();
|
/art/test/004-UnsafeTest/ |
unsafe_test.cc | 19 #include "mirror/array.h" 30 return mirror::Array::DataOffset(
|
/art/test/497-inlining-and-class-loader/ |
clear_dex_cache.cc | 20 #include "mirror/array-inl.h" 42 jarray array; local 44 array = env->NewIntArray(2u * num_methods); 46 array = env->NewLongArray(2u * num_methods); 48 CHECK(array != nullptr); 49 ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); 64 return array; 75 ObjPtr<mirror::Array> old = soa.Decode<mirror::Array>(old_cache) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
JSystem.cs | 62 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
JSystem.cs | 61 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/external/autotest/client/cros/bluetooth/ |
advertisement.py | 66 self.manufacturer_data[int(key, 16)] = dbus.Array(value, 72 self.service_data[uuid] = dbus.Array(data, signature='y') 103 properties['ServiceUUIDs'] = dbus.Array(self.service_uuids, 106 properties['SolicitUUIDs'] = dbus.Array(self.solicit_uuids,
|
/external/eigen/test/ |
array_of_string.cpp | 14 typedef Array<std::string,1,Dynamic> ArrayXs;
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
ClassHeaderReader.java | 20 import java.lang.reflect.Array; 163 private static Object resizeArray(Object array, int length) 165 if (Array.getLength(array) < length) { 166 Object newArray = Array.newInstance(array.getClass().getComponentType(), length); 167 System.arraycopy(array, 0, newArray, 0, Array.getLength(array)); 170 return array; [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveRegMatrix.h | 48 LiveIntervalUnion::Array Matrix; 142 /// This returns an array indexed by the regunit number.
|
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
types.cc | 24 const Array& array, flatbuffers::FlatBufferBuilder* builder) { 26 const auto& src_data = array.GetBuffer<T>().data; 33 void CopyBuffer(const ::tflite::Buffer& buffer, Array* array) { 40 std::vector<NativeT>* dst_data = &array->GetMutableBuffer<T>().data; 85 const Array& array, flatbuffers::FlatBufferBuilder* builder) { 86 if (!array.buffer) return 0; // an empty buffer, usually an output. 88 switch (array.data_type) [all...] |
/external/tensorflow/tensorflow/core/lib/random/ |
philox_random.h | 44 // A class that represents an inline array. It can be used on both CPU and GPU, 47 // T: the array element type; 48 // ElementCount: the fixed size of the array; 50 class Array { 52 PHILOX_DEVICE_INLINE Array() { 78 // For example: To use this class and populate an array of 1024 randoms on CPU 104 using ResultType = Array<uint32, 4>; 112 using Key = Array<uint32, 2>;
|
random_distributions.h | 64 typedef Array<Eigen::half, kResultElementCount> ResultType; 88 typedef Array<float, kResultElementCount> ResultType; 112 typedef Array<double, kResultElementCount> ResultType; 136 typedef Array<int32, kResultElementCount> ResultType; 170 typedef Array<int64, kResultElementCount> ResultType; 291 typedef Array<Eigen::half, kResultElementCount> ResultType; 318 typedef Array<float, kResultElementCount> ResultType; 342 typedef Array<double, kResultElementCount> ResultType; 389 typedef Array<Eigen::half, kResultElementCount> ResultType; 432 typedef Array<float, kResultElementCount> ResultType [all...] |
/external/v8/src/inspector/ |
v8-value-copier.h | 21 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>,
|
/frameworks/base/core/jni/hwbinder/ |
EphemeralStorage.cpp | 76 JNIEnv *env, Type ## Array arrayObj) { \ 77 Type ## Array obj = (Type ## Array)env->NewGlobalRef(arrayObj); \ 106 (Type ## Array)item.mObj, \
|
/frameworks/base/tools/aapt2/ |
ValueVisitor.h | 43 virtual void Visit(Array* value) { VisitAny(value); } 86 virtual void Visit(const Array* value) { 127 void VisitSubValues(Array* array) { 128 for (std::unique_ptr<Item>& item : array->elements) { 149 DECL_VISIT_COMPOUND_VALUE(Array);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/os/ |
PersistableBundle.kt | 62 is Array<*> -> { 67 putStringArray(key, value as Array<String>) 72 "Illegal value array type $valueType for key \"$key\"")
|
/libcore/ojluni/src/main/java/java/sql/ |
Array.java | 30 * <code>ARRAY</code>. 31 * By default, an <code>Array</code> value is a transaction-duration 32 * reference to an SQL <code>ARRAY</code> value. By default, an <code>Array</code> 33 * object is implemented using an SQL LOCATOR(array) internally, which 34 * means that an <code>Array</code> object contains a logical pointer 35 * to the data in the SQL <code>ARRAY</code> value rather 36 * than containing the <code>ARRAY</code> value's data. 38 * The <code>Array</code> interface provides methods for bringing an SQL 39 * <code>ARRAY</code> value's data to the client as either an array or [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
BaseConstructor.java | 18 import java.lang.reflect.Array; 230 return Array.newInstance(type.getComponentType(), size); 279 protected Object constructArrayStep2(SequenceNode node, Object array) { 299 Array.setByte(array, index, ((Number) value).byteValue()); 302 Array.setShort(array, index, ((Number) value).shortValue()); 305 Array.setInt(array, index, ((Number) value).intValue()); 308 Array.setLong(array, index, ((Number) value).longValue()) [all...] |
/developers/build/prebuilts/gradle/EmojiCompat/kotlinApp/app/src/main/java/com/example/android/emojicompat/ |
CustomTextView.kt | 58 override fun setFilters(filters: Array<InputFilter>) {
|
/developers/samples/android/views/EmojiCompat/kotlinApp/app/src/main/java/com/example/android/emojicompat/ |
CustomTextView.kt | 58 override fun setFilters(filters: Array<InputFilter>) {
|
/external/capstone/bindings/ocaml/ |
test_arm64.ml | 12 for i = 0 to (Array.length str - 1) do 69 if (Array.length arm64.operands) > 0 then ( 70 printf "\top_count: %d\n" (Array.length arm64.operands); 71 Array.iteri (print_op handle) arm64.operands;
|
test_ppc.ml | 11 for i = 0 to (Array.length str - 1) do 50 if (Array.length ppc.operands) > 0 then ( 51 printf "\top_count: %d\n" (Array.length ppc.operands); 52 Array.iteri (print_op handle) ppc.operands;
|
test_sparc.ml | 11 for i = 0 to (Array.length str - 1) do 48 if (Array.length sparc.operands) > 0 then ( 49 printf "\top_count: %d\n" (Array.length sparc.operands); 50 Array.iteri (print_op handle) sparc.operands;
|