/external/apache-http/src/org/apache/commons/codec/binary/ |
Hex.java | 42 * 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 of characters representing the hexidecimal values of each byte in order [all...] |
/external/chromium_org/cc/layers/ |
delegated_renderer_layer.cc | 99 TransferableResourceArray* array) { 100 DCHECK(array->empty()); 101 array->clear(); 103 array->swap(unused_resources_for_child_compositor_);
|
/external/chromium_org/content/common/indexed_db/ |
indexed_db_key_path.h | 28 const std::vector<string16>& array() const;
|
indexed_db_key_unittest.cc | 41 IndexedDBKey::KeyArray array; local 44 array.push_back(IndexedDBKey(value, WebKit::WebIDBKeyTypeNumber)); 46 keys.push_back(IndexedDBKey(array)); 47 // Overhead + array length * (Overhead + sizeof(double)).
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/ |
RTCMediaConstraints.mm | 59 constraintsFromArray:(NSArray *)array { 61 for (RTCPair *pair in array) {
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
basictypes.h | 105 // The arraysize(arr) macro returns the # of elements in an array arr. 110 // One caveat is that arraysize() doesn't accept any array of an 120 char (&ArraySizeHelper(T (&array)[N]))[N]; 127 char (&ArraySizeHelper(const T (&array)[N]))[N]; 131 #define arraysize(array) (sizeof(ArraySizeHelper(array))) 154 // the array) and sizeof(*(arr)) (the # of bytes in one array 156 // indeed an array, in which case the division result is the # of 157 // elements in the array. Otherwise, arr cannot possibly be an array [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/ |
p5-0x.cpp | 23 any array[sizeof...(inits)] = { inits... }; local
|
/external/clang/test/CodeGenCXX/ |
implicit-copy-assign-operator.cpp | 16 int array[3][4]; member in struct:POD
|
/external/icu4c/layout/ |
LETypes.h | 275 * A convenience macro to get the length of an array. 279 #define LE_ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 283 * A convenience macro for copying an array. 290 * Allocate an array of basic types. This is used to isolate the rest of 298 * Re-allocate an array of basic types. This is used to isolate the rest of 303 #define LE_GROW_ARRAY(array, newSize) uprv_realloc((void *) (array), (newSize) * sizeof (array)[0] [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
StringArrayResourceLoaderTest.java | 37 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.items)), hasItems("foo", "bar")); 42 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.greetings)), hasItems("hola", "Hello")); 47 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(android.R.array.emailAddressTypes)), hasItems("Home", "Work", "Other", "Custom")); 48 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.emailAddressTypes)), hasItems("Doggy", "Catty"));
|
/external/webrtc/src/system_wrappers/source/ |
cpu_linux.h | 29 WebRtc_UWord32*& array);
|
cpu_mac.h | 32 WebRtc_UWord32*& array);
|
/libcore/luni/src/main/java/java/nio/ |
NIOAccess.java | 44 * Returns the underlying Java array containing the data of the 45 * given Buffer, or null if the Buffer is not backed by a Java array. 48 * @return the Java array containing the Buffer's data, or null if 52 return b.hasArray() ? b.array() : null; 57 * Java array object containing the data of the given Buffer to
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_pass1.py | 8 {"object with 1 member":["array with 1 element"]}, 37 "array":[ ], 48 "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_pass1.py | 8 {"object with 1 member":["array with 1 element"]}, 37 "array":[ ], 48 "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AMReceiver.java | 66 ArrayList<String> array = new ArrayList<String>(); local 138 array.add("ActivityManager: " + s); //$NON-NLS-1$ 143 AdtPlugin.printErrorToConsole(mLaunchInfo.getProject(), array.toArray()); 145 AdtPlugin.printToConsole(mLaunchInfo.getProject(), array.toArray());
|
/external/chromium_org/v8/test/mjsunit/ |
external-array-no-sse2.js | 139 // Test that an array constructed without an array buffer creates one properly. 175 var array = new Float64Array(2); 177 set(array, 0, 2.5); 178 assertEquals(2.5, array[0]); 181 set(array, 0, 2.5); 182 assertEquals(2.5, array[0]); 183 set(array, 1, 3.5); 184 assertEquals(3.5, array[1]); 186 assertEquals(2.5, get(array, 0)) [all...] |
external-array.js | 139 // Test that an array constructed without an array buffer creates one properly. 175 var array = new Float64Array(2); 177 set(array, 0, 2.5); 178 assertEquals(2.5, array[0]); 181 set(array, 0, 2.5); 182 assertEquals(2.5, array[0]); 183 set(array, 1, 3.5); 184 assertEquals(3.5, array[1]); 186 assertEquals(2.5, get(array, 0)) [all...] |
/art/runtime/entrypoints/portable/ |
portable_cast_entrypoints.cc | 42 const mirror::Object* array) 47 DCHECK(array != NULL); 48 mirror::Class* array_class = array->GetClass();
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
CommonDatabaseUtils.java | 59 private static void fillArray(Cursor cursor, String[] array) { 60 for (int i = 0; i < array.length; i++) { 61 array[i] = cursor.getString(i);
|
/external/chromium/testing/gmock/include/gmock/internal/ |
gmock-internal-utils.h | 362 // native array, class StlContainerView<RawContainer> has the 391 // This specialization is used when RawContainer is a native array type. 397 // NativeArray<T> can represent a native array either by value or by 399 // can be used to reference a const native array. We cannot 404 static const_reference ConstReference(const Element (&array)[N]) { 420 // conversion of it doesn't help - only the conversion of the array). 421 return type(const_cast<Element*>(&array[0]), N, kReference); 423 return type(array, N, kReference); 426 static type Copy(const Element (&array)[N]) { 428 return type(const_cast<Element*>(&array[0]), N, kCopy) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/ |
MIDIInput.cpp | 68 RefPtr<Uint8Array> array = Uint8Array::create(totalMessageSize); local 69 array->setRange(data + i, totalMessageSize, 0); 71 dispatchEvent(MIDIMessageEvent::create(timeStamp, array));
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
Int16Array.h | 38 static inline PassRefPtr<Int16Array> create(const short* array, unsigned length); 41 // Should only be used when it is known the entire array will be filled. Do 69 PassRefPtr<Int16Array> Int16Array::create(const short* array, unsigned length) 71 return TypedArrayBase<short>::create<Int16Array>(array, length);
|
Int32Array.h | 37 static inline PassRefPtr<Int32Array> create(const int* array, unsigned length); 40 // Should only be used when it is known the entire array will be filled. Do 68 PassRefPtr<Int32Array> Int32Array::create(const int* array, unsigned length) 70 return TypedArrayBase<int>::create<Int32Array>(array, length);
|
Int8Array.h | 39 static inline PassRefPtr<Int8Array> create(const signed char* array, unsigned length); 42 // Should only be used when it is known the entire array will be filled. Do 70 PassRefPtr<Int8Array> Int8Array::create(const signed char* array, unsigned length) 72 return TypedArrayBase<signed char>::create<Int8Array>(array, length);
|