Searched defs:array (Results 101 - 125 of 627) sorted by relevance

1234567891011>>

/external/stlport/test/unit/
H A Dptr2_test.cpp71 int array [3] = { 1, 2, 3 }; local
73 int* p = find_if((int*)array, (int*)array + 3, pointer_to_unary_function<int, bool>(even));
74 CPPUNIT_ASSERT(p != array+3);
79 int array [3] = { 1, 2, 3 }; local
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even));
82 CPPUNIT_ASSERT(p != array+3);
H A Dunary_test.cpp46 int array [3] = { 1, 2, 3 }; local
48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd()));
49 CPPUNIT_ASSERT((p != array + 3));
54 int array [3] = { 1, 2, 3 }; local
55 int* p = find_if((int*)array, (int*)array + 3, not1(odd()));
56 CPPUNIT_ASSERT(p != array + 3);
66 int array [3] = { 1, 2, 3 }; local
67 int* p = find_if((int*)array, (in
[all...]
/external/valgrind/main/drd/tests/
H A Dcustom_alloc.c67 int* array; local
70 array = custom_alloc(sizeof(int) * 10);
71 array[8] = 8;
72 array[9] = 8;
73 array[10] = 10; // invalid write (ok w/o MALLOCLIKE -- in superblock)
75 custom_free(array); // ok
83 return array[0]; // use after free (ok without MALLOCLIKE)
/external/valgrind/main/memcheck/tests/
H A Dcustom_alloc.c73 int *array, *array3; local
76 array = custom_alloc(sizeof(int) * 10);
77 array[8] = 8;
78 array[9] = 8;
79 array[10] = 10; // invalid write (ok w/o MALLOCLIKE -- in superblock)
81 VALGRIND_RESIZEINPLACE_BLOCK(array, sizeof(int) * 10, sizeof(int) * 5, RZ);
82 array[4] = 7;
83 array[5] = 9; // invalid write
85 // Make the entire array defined again such that it can be verified whether
87 VALGRIND_MAKE_MEM_DEFINED(array, sizeo
[all...]
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Duset.h98 const uint16_t *array; member in struct:USerializedSet
100 * The length of the array that contains BMP characters.
105 * The total length of the array.
110 * A small buffer for the array to reduce memory allocations.
633 * Serializes this set into an array of 16-bit integers. Serialization
637 * The array
654 * The array starts with a header. After the header are n bmp
685 * Given a serialized array, fill in the given serialized set object.
687 * @param src pointer to start of array
688 * @param srcLength length of array
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DNonCopyingSort.h35 inline void siftDown(RandomAccessIterator array, ptrdiff_t start, ptrdiff_t end, Predicate compareLess) argument
41 if (child < end && compareLess(array[child], array[child + 1]))
44 if (compareLess(array[root], array[child])) {
45 swap(array[root], array[child]);
53 inline void heapify(RandomAccessIterator array, ptrdiff_t count, Predicate compareLess) argument
58 siftDown(array, start, count - 1, compareLess);
/external/webkit/Source/WebCore/bindings/js/
H A DJSFloat32ArrayCustom.cpp54 RefPtr<Float32Array> array = constructArrayBufferView<Float32Array, float>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSFloat64ArrayCustom.cpp54 RefPtr<Float64Array> array = constructArrayBufferView<Float64Array, double>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSInt16ArrayCustom.cpp54 RefPtr<Int16Array> array = constructArrayBufferView<Int16Array, short>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSInt32ArrayCustom.cpp54 RefPtr<Int32Array> array = constructArrayBufferView<Int32Array, int>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSInt8ArrayCustom.cpp55 RefPtr<Int8Array> array = constructArrayBufferView<Int8Array, signed char>(exec); local
56 if (!array.get())
59 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSUint16ArrayCustom.cpp54 RefPtr<Uint16Array> array = constructArrayBufferView<Uint16Array, unsigned short>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSUint32ArrayCustom.cpp54 RefPtr<Uint32Array> array = constructArrayBufferView<Uint32Array, unsigned int>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSUint8ArrayCustom.cpp54 RefPtr<Uint8Array> array = constructArrayBufferView<Uint8Array, unsigned char>(exec); local
55 if (!array.get())
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8MessagePortCustom.cpp78 v8::Local<v8::Array> array = v8::Local<v8::Array>::Cast(value); local
79 length = array->Length();
/external/webkit/Source/WebCore/html/canvas/
H A DInt32Array.h37 static PassRefPtr<Int32Array> create(int* array, unsigned length);
41 void set(TypedArrayBase<int>* array, unsigned offset, ExceptionCode& ec) { TypedArrayBase<int>::set(array, offset, ec); } argument
H A DInt8Array.h39 static PassRefPtr<Int8Array> create(signed char* array, unsigned length);
43 void set(TypedArrayBase<signed char>* array, unsigned offset, ExceptionCode& ec) { TypedArrayBase<signed char>::set(array, offset, ec); } argument
H A DUint16Array.h39 static PassRefPtr<Uint16Array> create(unsigned short* array, unsigned length);
43 void set(TypedArrayBase<unsigned short>* array, unsigned offset, ExceptionCode& ec) { TypedArrayBase<unsigned short>::set(array, offset, ec); } argument
H A DUint32Array.h39 static PassRefPtr<Uint32Array> create(unsigned int* array, unsigned length);
43 void set(TypedArrayBase<unsigned int>* array, unsigned offset, ExceptionCode& ec) { TypedArrayBase<unsigned int>::set(array, offset, ec); } argument
H A DUint8Array.h39 static PassRefPtr<Uint8Array> create(unsigned char* array, unsigned length);
43 void set(TypedArrayBase<unsigned char>* array, unsigned offset, ExceptionCode& ec) { TypedArrayBase<unsigned char>::set(array, offset, ec); } argument
/external/webkit/Source/WebCore/icu/unicode/
H A Duset.h98 const uint16_t *array; member in struct:USerializedSet
100 * The length of the array that contains BMP characters.
105 * The total length of the array.
110 * A small buffer for the array to reduce memory allocations.
633 * Serializes this set into an array of 16-bit integers. Serialization
637 * The array
654 * The array starts with a header. After the header are n bmp
685 * Given a serialized array, fill in the given serialized set object.
687 * @param src pointer to start of array
688 * @param srcLength length of array
[all...]
/external/webkit/Source/WebCore/manual-tests/resources/
H A DArrayParameterTestApplet.java30 public void arrayFunction(String [] array) { argument
32 for (int i = 0; i < array.length; i++)
33 System.out.println(array[i]);
36 public void booleanFunction(boolean[] array) { argument
38 for (int i = 0; i < array.length; i++)
39 System.out.println(array[i]);
42 public void byteFunction(byte[] array) { argument
44 for (int i = 0; i < array.length; i++)
45 System.out.println(array[i]);
48 public void charFunction(char[] array) { argument
54 shortFunction(short[] array) argument
60 intFunction(int[] array) argument
66 longFunction(long[] array) argument
72 floatFunction(float[] array) argument
78 doubleFunction(double[] array) argument
84 objectFunction(Applet[] array) argument
[all...]
/external/webkit/Source/WebKit2/UIProcess/
H A DWebPageContextMenuClient.cpp50 RefPtr<ImmutableArray> array = adoptRef(toImpl(newMenu)); local
54 size_t newSize = array ? array->size() : 0;
56 WebContextMenuItem* item = array->at<WebContextMenuItem>(i);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
H A DInjectedBundlePageContextMenuClient.cpp55 RefPtr<ImmutableArray> array = adoptRef(toImpl(newMenuWK)); local
60 if (!array || !array->size())
63 size_t size = array->size();
65 WebContextMenuItem* item = array->at<WebContextMenuItem>(i);
/external/apache-http/src/org/apache/commons/codec/binary/
H A DHex.java42 * Converts an array of characters representing hexidecimal values into an
43 * array of bytes of those same values. The returned array will be half the
44 * length of the passed array, as it takes two characters to represent any
45 * given byte. An exception is thrown if the passed char array has an odd
48 * @param data An array of characters containing hexidecimal digits
49 * @return A byte array containing binary data decoded from
50 * the supplied char array.
93 * Converts an array of bytes into an array o
130 decode(byte[] array) argument
167 encode(byte[] array) argument
[all...]

Completed in 457 milliseconds

1234567891011>>