/external/stlport/test/unit/ |
H A D | list_test.cpp | 114 char array [] = { 'x', 'l', 'x', 't', 's', 's' }; local 116 list<char> str(array, array + 6); 181 int array[] = { 0, 1, 2, 3 }; local 182 l.assign(array, array + 4);
|
/external/v8/test/mjsunit/ |
H A D | array-indexing.js | 28 var array = [1,2,3,1,2,3,1,2,3,1,2,3]; variable 54 assertEquals(-1, array.indexOf(4)); 55 assertEquals(-1, array.indexOf(3, array.length)); 57 assertEquals(2, array.indexOf(3)); 59 assertEquals(0, array.indexOf(1, -17)); 61 assertEquals(3, array.indexOf(1, -11)); 63 assertEquals(3, array.indexOf(1, 1)); 64 assertEquals(3, array.indexOf(1, 3)); 65 assertEquals(6, array [all...] |
/external/webkit/Source/JavaScriptCore/qt/api/ |
H A D | qscriptengine_p.cpp | 133 JSObjectRef array = JSObjectMakeArray(m_context, /* argumentCount */ 0, /* arguments */ 0, &exception); local 138 // array is an Array instance, so an exception should not occure here. 139 JSObjectSetProperty(m_context, array, lengthRef.get(), JSValueMakeNumber(m_context, length), kJSPropertyAttributeNone, /* exception */ 0); 146 return new QScriptValuePrivate(this, array);
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/ |
H A D | tst_qscriptvalueiterator.cpp | 216 QScriptValue array = engine.newArray(); local 218 array.setProperty(inputPropertyNames.at(i), inputPropertyValues.at(i)); 220 int length = array.property("length").toInt32(); 222 QScriptValueIterator it(array); 227 QCOMPARE(it.flags(), array.propertyFlags(propertyNames.at(i))); 228 QVERIFY(it.value().strictlyEquals(array.property(propertyNames.at(i)))); 243 QCOMPARE(it.flags(), array.propertyFlags(propertyNames.at(i))); 244 QVERIFY(it.value().strictlyEquals(array.property(propertyNames.at(i)))); 271 QScriptValue array = originalArray.toObject(); local 272 int length = array [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
H A D | Shader.h | 27 Varying(GLenum type, const std::string &name, int size, bool array) argument 28 : type(type), name(name), size(size), array(array), reg(-1), col(-1) 35 bool array; member in struct:gl::Varying
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | ScriptValue.cpp | 133 JSArray* array = asArray(value); local 134 unsigned length = array->length(); 136 JSValue element = array->getIndex(i);
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
H A D | JNIUtilityPrivate.cpp | 50 // the requested Java Array type requested, unless the array type is some object array 55 // Build the correct array type 200 JavaArray* array = static_cast<JavaArray*>(imp->getConcreteArray()); local 201 result.l = array->javaArray();
|
H A D | JavaArrayJSC.cpp | 53 JavaArray::JavaArray(jobject array, const char* type, PassRefPtr<RootObject> rootObject) argument 56 m_array = new JobjectWrapper(array); 57 // Java array are fixed length, so we can cache length. 80 // The type of the array will be something like: 164 // Nested array? 167 // or array of other object type?
|
/external/webkit/Source/WebCore/css/ |
H A D | SVGCSSStyleSelector.cpp | 262 Vector<SVGLength> array; local 270 array.append(SVGLength::fromCSSPrimitiveValue(dash)); 273 svgstyle->setStrokeDashArray(array);
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | ImageHaiku.cpp | 72 Vector<char> array = loadResourceIntoArray(name); local 74 RefPtr<SharedBuffer> buffer = SharedBuffer::create(array.data(), array.size());
|
/external/webkit/Source/WebCore/platform/graphics/opengl/ |
H A D | Extensions3DOpenGL.cpp | 151 GLuint array = 0; local 152 glGenVertexArraysAPPLE(1, &array); 153 return array; 159 void Extensions3DOpenGL::deleteVertexArrayOES(Platform3DObject array) argument 161 if (!array) 166 glDeleteVertexArraysAPPLE(1, &array); 170 GC3Dboolean Extensions3DOpenGL::isVertexArrayOES(Platform3DObject array) argument 172 if (!array) 177 return glIsVertexArrayAPPLE(array); 183 void Extensions3DOpenGL::bindVertexArrayOES(Platform3DObject array) argument [all...] |
/external/webkit/Source/WebCore/platform/network/ |
H A D | FormData.h | 38 explicit FormDataElement(const Vector<char>& array) : m_type(data), m_data(array) { } argument
|
/external/webkit/Source/WebKit/chromium/tests/ |
H A D | IDBBindingUtilitiesTest.cpp | 143 v8::Local<v8::Array> array = v8::Array::New(); local 144 array->Set(3, v8::String::New("zoo")); 146 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(array); 172 v8::Local<v8::Array> array = v8::Array::New(); local 175 array->Set(3, subArray); 176 object->Set(v8::String::New("foo"), array); 201 v8::Local<v8::Array> array = v8::Array::New(); local 202 array->Set(3, v8::String::New("zoo")); 204 checkInjection(IDBKey::createString("myNewKey"), SerializedScriptValue::create(array), "[2]"); 205 checkInjection(IDBKey::createNumber(789), SerializedScriptValue::create(array), "[ 232 v8::Local<v8::Array> array = v8::Array::New(); local [all...] |
/external/webkit/Source/WebKit2/Shared/ |
H A D | UserMessageCoders.h | 74 ImmutableArray* array = static_cast<ImmutableArray*>(m_root); local 75 encoder->encode(static_cast<uint64_t>(array->size())); 76 for (size_t i = 0; i < array->size(); ++i) 77 encoder->encode(Owner(array->at(i)));
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
H A D | eap_methods.c | 121 * eap_get_names_as_string_array - Get supported EAP methods as string array 122 * @num: Buffer for returning the number of items in array, not including %NULL 124 * Returns: A %NULL-terminated array of strings, or %NULL on error. 127 * array of strings. The caller must free the returned array items and the 128 * array. 134 char **array; local 140 array = os_zalloc(sizeof(char *) * (array_len + 1)); 141 if (array == NULL) 145 array[ [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_methods.c | 117 * eap_get_names_as_string_array - Get supported EAP methods as string array 118 * @num: Buffer for returning the number of items in array, not including %NULL 120 * Returns: A %NULL-terminated array of strings, or %NULL on error. 123 * array of strings. The caller must free the returned array items and the 124 * array. 130 char **array; local 136 array = os_zalloc(sizeof(char *) * (array_len + 1)); 137 if (array == NULL) 141 array[ [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_methods.c | 117 * eap_get_names_as_string_array - Get supported EAP methods as string array 118 * @num: Buffer for returning the number of items in array, not including %NULL 120 * Returns: A %NULL-terminated array of strings, or %NULL on error. 123 * array of strings. The caller must free the returned array items and the 124 * array. 130 char **array; local 136 array = os_zalloc(sizeof(char *) * (array_len + 1)); 137 if (array == NULL) 141 array[ [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_methods.c | 117 * eap_get_names_as_string_array - Get supported EAP methods as string array 118 * @num: Buffer for returning the number of items in array, not including %NULL 120 * Returns: A %NULL-terminated array of strings, or %NULL on error. 123 * array of strings. The caller must free the returned array items and the 124 * array. 130 char **array; local 136 array = os_zalloc(sizeof(char *) * (array_len + 1)); 137 if (array == NULL) 141 array[ [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/ |
H A D | HashList.cs | 257 public void CopyTo(Array array, int index) argument 259 _hashList.CopyKeysTo(array, index); 328 public void CopyTo(Array array, int index) argument 330 _hashList.CopyValuesTo(array, index); 456 public void CopyTo(Array array, int index) argument 462 array.SetValue(e, index++); 482 private void CopyKeysTo(Array array, int index) argument 487 array.SetValue(_insertionOrderList[i], index++); 491 private void CopyValuesTo(Array array, int index) argument 496 array [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | SubList.cs | 115 public void CopyTo( Array array, int index ) argument 117 if ( array == null ) 118 throw new ArgumentNullException( "array" ); 123 if ( index + Count > array.Length ) 128 array.SetValue( this[i], index + i ); 202 void ICollection.CopyTo( Array array, int index ) argument 204 if ( array == null ) 205 throw new ArgumentNullException( "array" ); 210 if ( index + Count > array.Length ) 215 array 356 CopyTo( T[] array, int arrayIndex ) argument [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
H A D | ThreadGroupTest.java | 614 // indices for the array defined below 997 // Now we may have nulls in the array, we must find the actual size 1090 private boolean arrayIncludes(Object[] array, Object toTest) { argument 1091 for (Object element : array) {
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
H A D | DoubleBufferTest.java | 75 double array[] = buf.array(); 76 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 78 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 79 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 81 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 82 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 85 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 88 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 92 double array[] 616 loadTestData1(double array[], int offset, int length) argument 622 loadTestData2(double array[], int offset, int length) argument 642 assertContentEquals(DoubleBuffer buf, double array[], int offset, int length) argument [all...] |
H A D | FloatBufferTest.java | 51 float array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 68 float array[] 626 loadTestData1(float array[], int offset, int length) argument 632 loadTestData2(float array[], int offset, int length) argument 652 assertContentEquals(FloatBuffer buf, float array[], int offset, int length) argument [all...] |
H A D | IntBufferTest.java | 51 int array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 68 int array[] 602 loadTestData1(int array[], int offset, int length) argument 608 loadTestData2(int array[], int offset, int length) argument 628 assertContentEquals(IntBuffer buf, int array[], int offset, int length) argument [all...] |
H A D | LongBufferTest.java | 51 long array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()); 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 57 loadTestData2(array, buf.arrayOffset(), buf.capacity()); 58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 68 long array[] 609 loadTestData1(long array[], int offset, int length) argument 615 loadTestData2(long array[], int offset, int length) argument 635 assertContentEquals(LongBuffer buf, long array[], int offset, int length) argument [all...] |