Searched defs:array (Results 126 - 150 of 488) sorted by relevance

1234567891011>>

/external/clang/test/Sema/
H A Dcompound-literal.c37 int array[(sizeof(int[3]) == sizeof( (int[]) {0,1,2} )) ? 1 : -1]; variable
H A Di-c-e.c33 char array[1024/(sizeof (long))]; variable
58 int comma3[(1,2)]; // expected-warning {{size of static array must be an integer constant expression}} \
62 char pbcp[__builtin_constant_p(4) ? (intptr_t)&expr : 0]; // expected-error {{variable length array declaration not allowed at file scope}}
65 int illegaldiv1b[1 && 1/0]; // expected-warning {{division by zero is undefined}} expected-error{{variable length array declaration not allowed at file scope}}
67 int illegaldiv2[1/0]; // expected-error {{variable length array declaration not allowed at file scope}} \
69 int illegaldiv3[INT_MIN / -1]; // expected-error {{variable length array declaration not allowed at file scope}}
71 int illegaldiv4[0 / (1 / 0)]; // expected-warning {{division by zero is undefined}} expected-error {{variable length array declaration not allowed at file scope}}
/external/clang/test/SemaCXX/
H A Di-c-e-cxx.cpp14 int array[value]; local
/external/clang/test/SemaTemplate/
H A Dinstantiate-c99.cpp46 T array = { local
48 [Subscript2] = val2 // expected-error{{exceeds array bounds}}
62 T array = { local
/external/collada/include/dae/
H A DdaeSIDResolver.h27 resolveData(daeElement* elt, daeDoubleArray* array, daeDouble* scalar);
30 daeDoubleArray* array; member in struct:daeSidRef::resolveData
51 * a daeDoubleArray (domFloatArray) value, the resolver will set the pointer to that array. The
127 * Gets the value array of the element that the SID resolves to.
128 * @return Returns a pointer to the value array that the SID resolves to
/external/collada/src/dae/
H A DdaeMetaGroup.cpp113 daeElementRefArray array; local
114 getChildren( parent, array );
115 if ( array.getCount() == 0 )
132 void daeMetaGroup::getChildren( daeElement *parent, daeElementRefArray &array ) {
135 (*((daeElementRef*)_elementContainer->get(parent, (daeInt)x )))->getChildren( array );
139 _children[i]->getChildren( el, array );
142 //_elementContainer->_elementType->getChildren( parent, array );
H A DdaeRawResolver.cpp51 daeElement *array; local
64 array = src->createAndPlace( "int_array" );
68 array = src->createAndPlace( "float_array" );
77 *(daeULong*)(array->getAttributeValue("count")) = count*stride;
78 array->setAttribute( "id", (src->getAttribute("id") + "-array").c_str() );
80 daeArray *valArray = (daeArray*)array->getValuePointer();
104 cache.add(uri, array);
105 return array;
/external/dbus/dbus/
H A Ddbus-marshal-recursive.h56 int start_pos; /**< for array readers, the start of the array values */
57 } array; member in union:DBusTypeReader::__anon3980
68 dbus_uint32_t container_type : 8; /**< what are we inside? (e.g. struct, variant, array) */
82 int start_pos; /**< position of first element in the array */
83 int len_pos; /**< position of length of the array */
84 int element_type_pos; /**< position of array element type in type_str */
85 } array; member in union:DBusTypeWriter::__anon3982
90 * When modifying an existing block of values, array lengths may need
/external/guava/src/com/google/common/collect/
H A DForwardingCollection.java64 public <T> T[] toArray(T[] array) { argument
65 return delegate().toArray(array);
H A DImmutableEnumSet.java81 @Override public <T> T[] toArray(T[] array) { argument
82 return delegate.toArray(array);
H A DObjectArrays.java37 * Returns a new array of the given length with the specified component type.
40 * @param length the length of the new array
49 * Returns a new array of the given length with the same type as a reference
50 * array.
52 * @param reference any array of the desired type
53 * @param length the length of the new array
60 * Returns a new array that contains the concatenated contents of two arrays.
62 * @param first the first array of elements to concatenate
63 * @param second the second array of elements to concatenate
64 * @param type the component type of the returned array
83 concat(@ullable T element, T[] array) argument
99 concat(T[] array, @Nullable T element) argument
138 toArrayImpl(Collection<?> c, T[] array) argument
169 fillArray(Iterable<?> elements, Object[] array) argument
[all...]
H A DPlatform.java56 * Clone the given array using {@link Object#clone()}. It is factored out so
59 static <T> T[] clone(T[] array) { argument
60 return array.clone();
81 * Returns a new array of the given length with the specified component type.
84 * @param length the length of the new array
93 * Returns a new array of the given length with the same type as a reference
94 * array.
96 * @param reference any array of the desired type
97 * @param length the length of the new array
H A DRegularImmutableList.java38 private final transient Object[] array; field in class:RegularImmutableList
40 RegularImmutableList(Object[] array, int offset, int size) { argument
43 this.array = array;
46 RegularImmutableList(Object[] array) { argument
47 this(array, 0, array.length);
65 return (UnmodifiableIterator<E>) Iterators.forArray(array, offset, size);
70 Platform.unsafeArrayCopy(array, offset, newArray, 0, size);
80 Platform.unsafeArrayCopy(array, offse
232 Object[] array() { method in class:RegularImmutableList
[all...]
H A DSingletonImmutableList.java108 @Override public <T> T[] toArray(T[] array) { argument
109 if (array.length == 0) {
110 array = ObjectArrays.newArray(array, 1);
111 } else if (array.length > 1) {
112 array[1] = null;
115 Object[] objectArray = array;
117 return array;
/external/guava/src/com/google/common/primitives/
H A DSignedBytes.java85 * Returns the least value present in {@code array}.
87 * @param array a <i>nonempty</i> array of {@code byte} values
88 * @return the value present in {@code array} that is less than or equal to
89 * every other value in the array
90 * @throws IllegalArgumentException if {@code array} is empty
92 public static byte min(byte... array) { argument
93 checkArgument(array.length > 0);
94 byte min = array[0];
95 for (int i = 1; i < array
111 max(byte... array) argument
131 join(String separator, byte... array) argument
[all...]
H A DUnsignedBytes.java86 * Returns the least value present in {@code array}.
88 * @param array a <i>nonempty</i> array of {@code byte} values
89 * @return the value present in {@code array} that is less than or equal to
90 * every other value in the array
91 * @throws IllegalArgumentException if {@code array} is empty
93 public static byte min(byte... array) { argument
94 checkArgument(array.length > 0);
95 int min = array[0] & 0xFF;
96 for (int i = 1; i < array
113 max(byte... array) argument
134 join(String separator, byte... array) argument
[all...]
/external/icu4c/samples/numfmt/
H A Dutil.cpp103 const Formattable* array = f.getArray(count); local
109 result += formattableToString(array[i]);
/external/skia/bench/
H A DScalarBench.cpp49 template <typename T> void init9(T array[9]) { argument
52 array[i] = rand.nextSScalar1();
/external/skia/gpu/include/
H A DGrTHashCache.h90 const T* const* array = fSorted.begin(); local
95 if (Key::LT(*array[index], key)) {
103 if (Key::EQ(*array[high], key)) {
106 GrAssert(0 == high || Key::LT(*array[high - 1], key));
111 if (Key::LT(*array[high], key)) {
123 // bsearch for the key in our sorted array
143 // add it to our array
157 // remove from our sorted array
176 // remove from our sorted array
/external/skia/src/animator/
H A DSkDisplayMath.cpp156 SkScriptValue* array = parameters.begin(); local
193 while (array < end) {
194 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar);
195 array++;
200 while (array < end) {
201 scalarResult = SkMinScalar(scalarResult, array->fOperand.fScalar);
202 array++;
H A DSkScriptRuntime.cpp30 // if in array brace [ recurse, continue
31 // if token, handle function, or array, or property (continue)
36 // if [ , handle array literal or accessor, continue
63 case SkScriptEngine2::kArrayToken: // create an array
66 case SkScriptEngine2::kArrayIndex: // array accessor
74 case SkScriptEngine2::kArrayParam: // array initializer, or function param
323 void SkScriptRuntime::track(SkOpArray* array) { argument
324 SkASSERT(fTrackArray.find(array) < 0);
325 *fTrackArray.append() = array;
333 void SkScriptRuntime::untrack(SkOpArray* array) { argument
[all...]
H A DSkTypedArray.cpp148 int32_t* array = (int32_t*)sk_malloc_throw(size * sizeof(int32_t)); local
149 memcpy(array, fArray, fCount * sizeof(int32_t));
152 fArray = array;
/external/srec/srec_jni/
H A Dandroid_speech_srec_MicrophoneInputStream.cpp83 (JNIEnv *env, jclass clazz, jint audioRecord, jbyteArray array, jint offset, jint length) {
91 env->SetByteArrayRegion(array, offset, length, buffer);
82 Java_android_speech_srec_Recognizer_AudioRecordRead(JNIEnv *env, jclass clazz, jint audioRecord, jbyteArray array, jint offset, jint length) argument
/external/stlport/test/unit/
H A Dbind_test.cpp55 int array [3] = { 1, 2, 3 }; local
56 int* p = remove_if((int*)array, (int*)array + 3, bind1st(less<int>(), 2));
58 CPPUNIT_ASSERT(p == &array[2]);
59 CPPUNIT_ASSERT(array[0] == 1);
60 CPPUNIT_ASSERT(array[1] == 2);
62 for_each((int*)array, (int*)array + 3, bind1st(pre_increment(), 1));
63 CPPUNIT_ASSERT(array[0] == 2);
64 CPPUNIT_ASSERT(array[
75 int array [3] = { 1, 2, 3 }; local
84 int array [3] = { 1, 2, 3 }; local
104 int array[3] = { 1, 2, 3 }; local
143 A array[3]; local
[all...]
/external/v8/src/
H A Dallocation.h92 static void DeleteArray(T* array) { argument
93 delete[] array;

Completed in 798 milliseconds

1234567891011>>