HomeSort by relevance Sort by last modified time
    Searched defs:array (Results 226 - 250 of 846) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Sema/
i-c-e.c 36 char array[1024/(sizeof (long))]; variable
60 int comma3[(1,2)]; // expected-warning {{size of static array must be an integer constant expression}}
63 char pbcp[__builtin_constant_p(4) ? (intptr_t)&expr : 0]; // expected-error {{variable length array declaration not allowed at file scope}}
66 int illegaldiv1b[1 && 1/0]; //expected-error{{variable length array declaration not allowed at file scope}}
68 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-error {{variable length array declaration not allowed at file scope}}
  /external/clang/test/SemaCXX/
i-c-e-cxx.cpp 14 int array[value]; local
63 int PR8836test[(__typeof(sizeof(int)))&reinterpret_cast<const volatile char&>((((PR8836*)0)->a))]; // expected-warning {{folded to constant array as an extension}} expected-note {{cast which performs the conversions of a reinterpret_cast is not allowed in a constant expression}}
66 int arr[nonconst]; // expected-warning {{folded to constant array as an extension}} expected-note {{initializer of 'nonconst' is not a constant expression}}
  /external/dbus/dbus/
dbus-marshal-recursive.h 56 int start_pos; /**< for array readers, the start of the array values */
57 } array; member in union:DBusTypeReader::__anon6031
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::__anon6033
90 * When modifying an existing block of values, array lengths may need
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
EncodedArrayItem.java 24 * Encoded array of constant values.
30 /** {@code non-null;} the array to represent */
31 private final CstArray array; field in class:EncodedArrayItem
42 * @param array {@code non-null;} array to represent
44 public EncodedArrayItem(CstArray array) {
51 if (array == null) {
52 throw new NullPointerException("array == null");
55 this.array = array;
    [all...]
  /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/guava/guava/src/com/google/common/collect/
RegularImmutableList.java 36 private final transient Object[] array; field in class:RegularImmutableList
38 RegularImmutableList(Object[] array, int offset, int size) {
41 this.array = array;
44 RegularImmutableList(Object[] array) {
45 this(array, 0, array.length);
58 return offset != 0 || size != array.length;
68 return (UnmodifiableIterator<E>) Iterators.forArray(array, offset, size);
73 System.arraycopy(array, offset, newArray, 0, size)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
UnmodifiableListIteratorTest.java 72 final String[] array = {"a", "b", "c"}; local
78 return i < array.length;
85 return array[i++];
96 return array[--i];
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicsTest.java 65 String[] array = {"foo", "bar", "baz"}; local
66 AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array);
67 for (int i = 0; i < array.length; ++i) {
68 assertEquals(array[i], refArray.get(i));
71 refArray.get(array.length);
  /external/icu4c/common/
unistr_cnv.cpp 377 UChar *array, *myTarget; local
398 array = getArrayStart();
399 myTarget = array + length();
400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(),
404 setLength((int32_t)(myTarget - array));
  /external/icu4c/samples/numfmt/
util.cpp 103 const Formattable* array = f.getArray(count); local
109 result += formattableToString(array[i]);
  /external/skia/samplecode/
SampleCull.cpp 57 SkIPoint* array; local
74 array = new SkIPoint[n];
82 array[n++].set(SkScalarRound(pts[0].fX), SkScalarRound(pts[0].fY));
85 array[n++].set(SkScalarRound(pts[1].fX), SkScalarRound(pts[1].fY));
96 return array;
  /external/skia/src/gpu/
GrTHashCache.h 83 const T* const* array = fSorted.begin(); local
88 if (Key::LT(*array[index], key)) {
96 if (Key::EQ(*array[high], key)) {
99 GrAssert(0 == high || Key::LT(*array[high - 1], key));
104 if (Key::LT(*array[high], key)) {
116 // bsearch for the key in our sorted array
136 // add it to our array
150 // remove from our sorted array
169 // remove from our sorted array
  /external/valgrind/main/drd/tests/
annotate_barrier.c 45 int* array; member in struct:threadinfo
102 * Single thread, which touches p->iterations elements of array p->array.
103 * Each modification of an element of p->array is a data race.
108 int* const array = p->array; local
117 p->thread_num, i + 1, &array[i]);
118 array[i] = i;
131 int* array; local
134 array = malloc(iterations * sizeof(array[0]))
    [all...]
  /external/webkit/Source/JavaScriptCore/qt/api/
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/runtime/
LiteralParser.cpp 301 JSArray* array = constructEmptyArray(m_exec); local
302 objectStack.append(array);
  /external/webkit/Source/WebCore/bindings/js/
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/
JNIUtilityPrivate.cpp 50 // the requested Java Array type requested, unless the array type is some object array
55 // Build the correct array type
167 case JavaTypeInvalid: // Array of unknown objects
198 // Input is a JavaScript Array that was originally created from a Java Array
200 JavaArray* array = static_cast<JavaArray*>(imp->getConcreteArray()); local
201 result.l = array->javaArray();
203 // Input is a Javascript Array. We need to create it to a Java Array
    [all...]
  /external/webkit/Source/WebCore/css/
SVGCSSStyleSelector.cpp 262 Vector<SVGLength> array; local
270 array.append(SVGLength::fromCSSPrimitiveValue(dash));
273 svgstyle->setStrokeDashArray(array);
  /external/webkit/Source/WebKit/chromium/tests/
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
173 v8::Local<v8::Array> subArray = v8::Array::New()
201 v8::Local<v8::Array> array = v8::Array::New(); local
232 v8::Local<v8::Array> array = v8::Array::New(); local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
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[i++] = os_strdup(m->name)
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
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[i++] = os_strdup(m->name)
    [all...]
  /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/android/hardware/
SerialPort.java 94 return native_read_array(buffer.array(), buffer.remaining());
96 throw new IllegalArgumentException("buffer is not direct and has no array");
110 native_write_array(buffer.array(), length);
112 throw new IllegalArgumentException("buffer is not direct and has no array");
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 54 * and return the array.
100 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); local
101 if (array == NULL) {
105 bytes = env->GetByteArrayElements(array, NULL);
120 env->ReleaseByteArrayElements(array, bytes, 0);
129 return array;
  /libcore/luni/src/main/java/java/util/
AbstractCollection.java 20 import java.lang.reflect.Array;
341 Object[] array = new Object[size]; local
343 array[index++] = it.next();
345 return array;
353 contents = (T[]) Array.newInstance(ct, size);

Completed in 2272 milliseconds

1 2 3 4 5 6 7 8 91011>>