/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; 181 machine->Attribs = span->array->attribs; 224 if (span->array->mask[i]) { 231 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i], 242 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0 + buf][i], 252 span->array->z[i] = 0; 254 span->array->z[i] = ctx->DrawBuffer->_DepthMax; 256 span->array->z[i] = 262 span->array->mask[i] = GL_FALSE; 281 ASSERT(span->array->ChanType == GL_FLOAT) [all...] |
s_bitmap.c | 86 span.array->x[count] = px + col; 87 span.array->y[count] = py + row; 108 span.array->x[count] = px + col; 109 span.array->y[count] = py + row; 144 * fragments, initializing the mask array to indicate which fragments to 183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE; 203 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
|
/external/chromium_org/v8/test/mjsunit/ |
array-indexing.js | 28 var array = [1,2,3,1,2,3,1,2,3,1,2,3]; variable 49 // Array.prototype.indexOf. 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)) [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-smi-only-concat.js | 30 // This tests that concatenating a fast smi-only array and a fast object array 31 // results in a fast object array. 34 var array = fast_array.concat(fast_array); variable 37 assertTrue(%HasFastObjectElements(array));
|
/external/chromium_org/v8/test/webkit/ |
dfg-arrayify-elimination.js | 31 var array = []; 33 array.unshift(52); 34 foo(array, 1, 2, 3); 36 shouldBe("array", "[52,42,43,44]"); 38 shouldBe("array", "[,42,43,44]");
|
sort-with-side-effecting-comparisons.js | 25 "Checks that sorting an array with a side-effecting comparison function doesn't trigger assertions." 28 var array = []; variable 31 array.push(i); 33 array.sort(function(a, b) { 34 array.shift();
|
/external/mesa3d/src/glsl/ |
lower_vec_index_to_cond_assign.cpp | 33 * before sufficient constant folding to find that the array index is 79 if (orig_deref->array->type->is_matrix() || 80 orig_deref->array->type->is_array()) 108 orig_deref->array->type->vector_elements, 112 for (i = 0; i < orig_deref->array->type->vector_elements; i++) { 120 new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), 177 orig_deref->array->type->is_matrix() || 178 orig_deref->array->type->is_array()) 208 orig_deref->array->type->vector_elements, 212 for (i = 0; i < orig_deref->array->type->vector_elements; i++) [all...] |
glsl_types.cpp | 67 enum glsl_sampler_dim dim, bool shadow, bool array, 72 sampler_array(array), sampler_type(type), 118 return this->fields.array->contains_sampler(); 133 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; 333 type = type->fields.array; 365 glsl_type::glsl_type(const glsl_type *array, unsigned length) : 372 this->fields.array = array; 377 this->gl_type = array->gl_type; 379 /* Allow a maximum of 10 characters for the array size. This is enoug [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; 181 machine->Attribs = span->array->attribs; 224 if (span->array->mask[i]) { 231 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i], 242 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0 + buf][i], 252 span->array->z[i] = 0; 254 span->array->z[i] = ctx->DrawBuffer->_DepthMax; 256 span->array->z[i] = 262 span->array->mask[i] = GL_FALSE; 281 ASSERT(span->array->ChanType == GL_FLOAT) [all...] |
s_bitmap.c | 86 span.array->x[count] = px + col; 87 span.array->y[count] = py + row; 108 span.array->x[count] = px + col; 109 span.array->y[count] = py + row; 144 * fragments, initializing the mask array to indicate which fragments to 183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE; 203 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
|
/external/v8/test/mjsunit/ |
array-indexing.js | 28 var array = [1,2,3,1,2,3,1,2,3,1,2,3]; variable 49 // Array.prototype.indexOf. 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)) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-smi-only-concat.js | 30 // This tests that concatenating a fast smi-only array and a fast object array 31 // results in a fast object array. 34 var array = fast_array.concat(fast_array); variable 37 assertTrue(%HasFastElements(array))
|
/external/chromium_org/third_party/icu/source/common/ |
unistr.cpp | 169 UChar *array = getArrayStart(); local 176 array[i++] = (UChar)c; 191 array[i++]=units[unitIdx++]; 364 // array allocation 377 int32_t *array = (int32_t*) uprv_malloc( sizeof(int32_t) * words ); local 378 if(array != 0) { 380 *array++ = 1; 383 fUnion.fFields.fArray = (UChar *)array; 540 const UChar *array = getBuffer(); local 545 result.append(array, prev, len - prev) 716 const UChar *array = getArrayStart(); local 736 const UChar *array = getArrayStart(); local 750 const UChar *array = getArrayStart(); local 786 const UChar *array = getBuffer(); \/\/ not getArrayStart() to check kIsBogus & kOpenGetBuffer local 912 const UChar *array = getArrayStart(); local 930 const UChar *array = getArrayStart(); local 947 const UChar *array = getArrayStart(); local 976 const UChar *array = getArrayStart(); local 998 const UChar *array = getArrayStart(); local 1015 const UChar *array = getArrayStart(); local 1434 UChar *array = getArrayStart(); local 1456 UChar *array = getArrayStart(); local 1503 const UChar *array=getArrayStart(), *p=array, *limit=array+capacity; local [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.cpp | 67 enum glsl_sampler_dim dim, bool shadow, bool array, 72 sampler_array(array), sampler_type(type), 118 return this->fields.array->contains_sampler(); 133 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; 333 type = type->fields.array; 365 glsl_type::glsl_type(const glsl_type *array, unsigned length) : 372 this->fields.array = array; 377 this->gl_type = array->gl_type; 379 /* Allow a maximum of 10 characters for the array size. This is enoug [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.h | 102 Location(unsigned array, unsigned arrayIdx, unsigned i, unsigned c) 103 : array(array), arrayIdx(arrayIdx), i(i), c(c) { } 105 : array(l.array), arrayIdx(l.arrayIdx), i(l.i), c(l.c) { } 110 array == l.array && arrayIdx == l.arrayIdx && i == l.i && c == l.c; 115 return array != l.array ? array < l.array 122 unsigned array, arrayIdx, i, c; member in struct:nv50_ir::BuildUtil::Location 150 unsigned array, arrayIdx; member in class:nv50_ir::BuildUtil::DataArray [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.h | 102 Location(unsigned array, unsigned arrayIdx, unsigned i, unsigned c) 103 : array(array), arrayIdx(arrayIdx), i(i), c(c) { } 105 : array(l.array), arrayIdx(l.arrayIdx), i(l.i), c(l.c) { } 110 array == l.array && arrayIdx == l.arrayIdx && i == l.i && c == l.c; 115 return array != l.array ? array < l.array 122 unsigned array, arrayIdx, i, c; member in struct:nv50_ir::BuildUtil::Location 150 unsigned array, arrayIdx; member in class:nv50_ir::BuildUtil::DataArray [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.cpp | 254 void* array = sb->data(); 255 _do_copy(array, mStorage, size()); 257 mStorage = const_cast<void*>(array); 298 void* array = sb->data(); variable 300 _do_copy(array, mStorage, where); 304 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 308 mStorage = const_cast<void*>(array); 314 void* array = editArrayImpl(); variable 315 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 316 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize 350 void* array = sb->data(); local 364 void* array = editArrayImpl(); local [all...] |
/dalvik/vm/mterp/x86/ |
OP_APUT_OBJECT.S | 3 * Array put, 32 bits or less. vBB[vCC] <- vAA 10 GET_VREG_R %eax %eax # eax<- vBB (array object) 13 testl %eax,%eax # null array object? 20 * eax<- array object 36 call dvmCanPutArrayElement # test object type vs. array type 54 movl rINST,(%ecx) # store into array
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
compat.py | 54 import array namespace 56 return array.array('B', seq) 58 return array.array('B', [0] * howMany) 102 return jarray.array(seq, 'h') #use short instead of bytes, cause bytes are signed 126 #Adjust the string to an array of bytes
|
/external/clang/test/SemaCXX/ |
array-bounds.cpp | 4 int x[2]; // expected-note 4 {{array 'x' declared here}} 5 int y[2]; // expected-note 2 {{array 'y' declared here}} 6 int z[1]; // expected-note {{array 'z' declared here}} 7 int w[1][1]; // expected-note {{array 'w' declared here}} 8 int v[1][1][1]; // expected-note {{array 'v' declared here}} 11 y[2] = 2; // expected-warning {{array index 2 is past the end of the array (which contains 2 elements)}} 12 z[1] = 'x'; // expected-warning {{array index 1 is past the end of the array (which contains 1 element)}} 13 w[0][2] = 0; // expected-warning {{array index 2 is past the end of the array (which contains 1 element)} 56 int array[2]; \/\/ expected-note {{declared here}} local 100 short array[100]; \/\/ expected-note {{array 'array' declared here}} local 130 int array[2]; local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
MessageDigestHashFunction.java | 94 digest.update(scratch.array(), 0, Shorts.BYTES); 102 digest.update(scratch.array(), 0, Ints.BYTES); 110 digest.update(scratch.array(), 0, Longs.BYTES); 118 digest.update(scratch.array(), 0, 4); 126 digest.update(scratch.array(), 0, 8); 138 digest.update(scratch.array(), 0, Chars.BYTES);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
ast.ml | 20 | Call of string * expr array 32 | Prototype of string * string array 33 | BinOpPrototype of string * string array * int
|
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 15 import static java.lang.reflect.Array.*; 98 private <T> T[] unwrapTo(T[] array) { 100 for (int i = 0, objectsLength = array.length; i < objectsLength; i++) { 102 array[i] = (T) iterator.next(); 105 return array; 110 T[] array = typedArray.length >= size() ? typedArray : local 112 return unwrapTo(array);
|
/libcore/luni/src/test/java/libcore/java/io/ |
DataOutputStreamTest.java | 129 * Returns a string representation of a byte array that's more useful for debugging. 132 public static String toHexString(byte[] array) { 133 if (array == null) { 136 if (array.length == 0) { 142 sb.append(String.format("%02x", array[0] & 0xff)); 143 for (int i = 1; i < array.length; i++) { 145 sb.append(String.format("%02x", array[i] & 0xff));
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 91 private <T> T getOnlyValue(Object[] array, Class<T> expectedType) { 92 assertEquals("Expected a " + expectedType.getName() + " but was " + Arrays.toString(array), 93 1, array.length); 94 assertTrue("Expected a " + expectedType.getName() + " but was " + array[0], 95 expectedType.isInstance(array[0])); 96 return expectedType.cast(array[0]);
|