HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 751 - 775 of 4096) sorted by null

<<31323334353637383940>>

  /libcore/luni/src/main/java/java/nio/
MemoryBlock.java 60 * Losing the strong reference to the array is sufficient
64 private byte[] array; field in class:MemoryBlock.NonMovableHeapBlock
66 private NonMovableHeapBlock(byte[] array, long address, long byteCount) {
68 this.array = array;
71 @Override public byte[] array() { method in class:MemoryBlock.NonMovableHeapBlock
72 return array;
76 array = null;
125 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, byteCount);
126 long address = runtime.addressOf(array);
140 public byte[] array() { method in class:MemoryBlock
    [all...]
DoubleBuffer.java 27 * <li>{@link #allocate(int) Allocate} a new double array and create a buffer
29 * <li>{@link #wrap(double[]) Wrap} an existing double array to create a new
40 * Creates a double buffer based on a newly allocated double array.
56 * Creates a new double buffer by wrapping the given double array.
59 * {@code wrap(array, 0, array.length)}.
61 * @param array
62 * the double array which the new buffer will be based on.
65 public static DoubleBuffer wrap(double[] array) {
66 return wrap(array, 0, array.length)
99 public final double[] array() { method in class:DoubleBuffer
    [all...]
FloatBuffer.java 27 * <li>{@link #allocate(int) Allocate} a new float array and create a buffer
29 * <li>{@link #wrap(float[]) Wrap} an existing float array to create a new
39 * Creates a float buffer based on a newly allocated float array.
55 * Creates a new float buffer by wrapping the given float array.
58 * {@code wrap(array, 0, array.length)}.
60 * @param array
61 * the float array which the new buffer will be based on.
64 public static FloatBuffer wrap(float[] array) {
65 return wrap(array, 0, array.length)
100 public final float[] array() { method in class:FloatBuffer
    [all...]
IntBuffer.java 27 * <li>{@link #allocate(int) Allocate} a new int array and create a buffer
29 * <li>{@link #wrap(int[]) Wrap} an existing int array to create a new buffer;</li>
37 * Creates an int buffer based on a newly allocated int array.
53 * Creates a new int buffer by wrapping the given int array.
56 * {@code wrap(array, 0, array.length)}.
58 * @param array
59 * the int array which the new buffer will be based on.
62 public static IntBuffer wrap(int[] array) {
63 return wrap(array, 0, array.length)
96 public final int[] array() { method in class:IntBuffer
    [all...]
LongBuffer.java 27 * <li>{@link #allocate(int) Allocate} a new long array and create a buffer
29 * <li>{@link #wrap(long[]) Wrap} an existing long array to create a new
39 * Creates a long buffer based on a newly allocated long array.
55 * Creates a new long buffer by wrapping the given long array.
58 * {@code wrap(array, 0, array.length)}.
60 * @param array
61 * the long array which the new buffer will be based on.
64 public static LongBuffer wrap(long[] array) {
65 return wrap(array, 0, array.length)
98 public final long[] array() { method in class:LongBuffer
    [all...]
ShortBuffer.java 27 * <li>{@link #allocate(int) Allocate} a new short array and create a buffer
29 * <li>{@link #wrap(short[]) Wrap} an existing short array to create a new
39 * Creates a short buffer based on a newly allocated short array.
55 * Creates a new short buffer by wrapping the given short array.
58 * {@code wrap(array, 0, array.length)}.
60 * @param array
61 * the short array which the new buffer will be based on.
64 public static ShortBuffer wrap(short[] array) {
65 return wrap(array, 0, array.length)
98 public final short[] array() { method in class:ShortBuffer
    [all...]
  /packages/apps/Camera2/src/com/android/camera/crop/
CropMath.java 28 * Gets a float array of the 2D coordinates representing a rectangles
30 * The order of the corners in the float array is:
37 * @return the float array of corners (8 floats)
65 * Takes an array of 2D coordinates representing corners and returns the
68 * @param array array of 2D coordinates
71 public static RectF trapToRect(float[] array) {
74 for (int i = 1; i < array.length; i += 2) {
75 float x = array[i - 1];
76 float y = array[i]
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropMath.java 30 * Gets a float array of the 2D coordinates representing a rectangles
32 * The order of the corners in the float array is:
39 * @return the float array of corners (8 floats)
67 * Takes an array of 2D coordinates representing corners and returns the
70 * @param array array of 2D coordinates
73 public static RectF trapToRect(float[] array) {
76 for (int i = 1; i < array.length; i += 2) {
77 float x = array[i - 1];
78 float y = array[i]
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/math/
m_debug_util.h 45 #define TEST_COUNT 128 /* size of the tested vector array */
305 # define ALIGN16(type, array) type array __attribute__ ((aligned (16)))
307 # define ALIGN16(type, array) type array __declspec(align(16)) /* GH: Does this work? */
309 # define ALIGN16(type, array) /* Watcom does not support this */
311 # define ALIGN16(type, array) type __align (16) array
  /external/guava/guava/src/com/google/common/base/
Strings.java 167 throw new ArrayIndexOutOfBoundsException("Required array size too large: "
171 final char[] array = new char[size]; local
172 string.getChars(0, len, array, 0);
175 System.arraycopy(array, 0, array, n, n);
177 System.arraycopy(array, 0, array, n, size - n);
178 return new String(array);
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
CompactArray.java 34 import java.lang.reflect.Array;
47 protected float[] array; field in class:CompactArray
51 * Creates a compact array
57 * create array using serialized data
62 this.array = compressedArray;
136 * return a float array of serialized data
141 return array;
145 * serialize this compact array
150 if (array == null || Array.getLength(array) < newSize) {
    [all...]
  /external/mesa3d/src/mesa/math/
m_debug_util.h 45 #define TEST_COUNT 128 /* size of the tested vector array */
305 # define ALIGN16(type, array) type array __attribute__ ((aligned (16)))
307 # define ALIGN16(type, array) type array __declspec(align(16)) /* GH: Does this work? */
309 # define ALIGN16(type, array) /* Watcom does not support this */
311 # define ALIGN16(type, array) type __align (16) array
  /external/skia/tests/
PathCoverageTest.cpp 111 static bool one_d_pe(const int* array, const unsigned int count,
114 path[1] = SkPoint::Make(SkIntToScalar(array[0]), SkIntToScalar(array[1]));
115 path[2] = SkPoint::Make(SkIntToScalar(array[2]), SkIntToScalar(array[3]));
120 path[2] = SkPoint::Make(SkIntToScalar(array[i]),
121 SkIntToScalar(array[i+1]));
  /frameworks/base/core/java/android/content/
ClipDescription.java 69 * @param mimeTypes An array of MIME types this data is available as.
141 * @return Returns an array of all matching MIME types. If there are no
145 ArrayList<String> array = null; local
148 if (array == null) {
149 array = new ArrayList<String>();
151 array.add(mMimeTypes[i]);
154 if (array == null) {
157 String[] rawArray = new String[array.size()];
158 array.toArray(rawArray);
  /frameworks/base/core/java/com/android/internal/os/
PowerProfile.java 154 private static final String TAG_ARRAY = "array";
170 ArrayList<Double> array = new ArrayList<Double>(); local
183 // Finish array
184 sPowerMap.put(arrayName, array.toArray(new Double[array.size()]));
189 array.clear();
204 array.add(value);
210 sPowerMap.put(arrayName, array.toArray(new Double[array.size()]));
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8WebGLRenderingContextCustom.cpp 83 // Returns NULL if array failed to convert for any reason.
84 static float* jsArrayToFloatArray(v8::Handle<v8::Array> array, uint32_t len)
92 v8::Local<v8::Value> val = array->Get(i);
103 // Returns NULL if array failed to convert for any reason.
104 static int* jsArrayToIntArray(v8::Handle<v8::Array> array, uint32_t len)
112 v8::Local<v8::Value> val = array->Get(i);
131 v8::Local<v8::Array> array = v8::Array::New(value.size()) local
328 v8::Local<v8::Array> array = v8::Array::New(shaders.size()); local
429 v8::Local<v8::Array> array = v8::Array::New(value.size()); local
531 Float32Array* array = V8Float32Array::toNative(args[1]->ToObject()); local
551 v8::Handle<v8::Array> array = local
600 Int32Array* array = V8Int32Array::toNative(args[1]->ToObject()); local
616 v8::Handle<v8::Array> array = local
702 Float32Array* array = V8Float32Array::toNative(args[2]->ToObject()); local
717 v8::Handle<v8::Array> array = local
    [all...]
  /external/chromium_org/v8/test/cctest/
test-declarative-accessors.cc 55 // An aligned character array of size 1024.
227 AlignedArray* array = *helper->array_; local
228 array->Reset();
229 VerifyRead(descriptor, internal_field, array, v8::False(helper->isolate_));
230 array->As<T*>()[index] = compare_value;
231 VerifyRead(descriptor, internal_field, array, v8::True(helper->isolate_));
233 VerifyRead(descriptor, internal_field, array, v8::True(helper->isolate_));
255 AlignedArray* array = *helper.array_; local
256 VerifyRead(descriptor, internal_field, array, v8::False(helper.isolate_));
257 array->As<uintptr_t*>()[index] = reinterpret_cast<uintptr_t>(ptr)
277 AlignedArray* array = *helper.array_; local
296 HandleArray* array = *helper.handle_array_; local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableSet.java 159 /** {@code elements} has to be internally created array. */
202 // Resize the table when the array includes too many duplicates.
217 * Returns an array size suitable for the backing array of a hash table that
343 // safe to use the array without copying it
404 Object[] array = new Object[size()];
405 System.arraycopy(elements, 0, array, 0, size());
406 return array;
409 @Override public <T> T[] toArray(T[] array) {
411 if (array.length < size)
    [all...]
  /external/chromium_org/v8/test/mjsunit/
undeletable-functions.js 31 var array; variable
33 array = [
37 CheckEcmaSemantics(Array.prototype, array, "Array prototype");
39 var old_Array_prototype = Array.prototype;
42 Array.prototype = new_Array_prototype;
43 assertEquals(old_Array_prototype, Array.prototype);
46 array = [
57 CheckEcmaSemantics(Date.prototype, array, "Date prototype")
    [all...]
  /external/opencv/cv/src/
cvapprox.cpp 72 _CvPtInfo *array, *first = 0, *current = 0, *prev_current = 0; local
110 array = (_CvPtInfo *) buffer;
140 current = current->next = array + i;
141 array[i].s = s;
142 array[i].pt = pt;
165 i = (int)(current - array);
166 pt0 = array[i].pt;
183 dx = array[i2].pt.x - array[i1].pt.x;
184 dy = array[i2].pt.y - array[i1].pt.y
    [all...]
  /external/v8/test/mjsunit/
undeletable-functions.js 31 var array; variable
33 array = [
37 CheckEcmaSemantics(Array.prototype, array, "Array prototype");
39 var old_Array_prototype = Array.prototype;
42 Array.prototype = new_Array_prototype;
43 assertEquals(old_Array_prototype, Array.prototype);
46 array = [
57 CheckEcmaSemantics(Date.prototype, array, "Date prototype")
    [all...]
  /development/ndk/platforms/android-3/include/
jni.h     [all...]
  /libnativehelper/include/nativehelper/
jni.h     [all...]
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/
jni.h     [all...]
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/
jni.h     [all...]

Completed in 1781 milliseconds

<<31323334353637383940>>