/external/tpm2/ |
Bits_fp.h | 10 BOOL BitIsSet(unsigned int bitNum, // IN: number of the bit in 'bArray' 11 BYTE *bArray, // IN: array containing the bit 12 unsigned int arraySize // IN: size in bytes of 'bArray' 18 // This function will set the indicated bit in bArray. 20 void BitSet(unsigned int bitNum, // IN: number of the bit in 'bArray' 21 BYTE *bArray, // IN: array containing the bit 22 unsigned int arraySize // IN: size in bytes of 'bArray' 29 // This function will clear the indicated bit in bArray. 31 void BitClear(unsigned int bitNum, // IN: number of the bit in 'bArray'. 32 BYTE *bArray, // IN: array containing the bi [all...] |
Bits.c | 24 unsigned int bitNum, // IN: number of the bit in 'bArray' 25 BYTE *bArray, // IN: array containing the bit 26 unsigned int arraySize // IN: size in bytes of 'bArray' 30 return((bArray[bitNum >> 3] & (1 << (bitNum & 7))) != 0); 36 // This function will set the indicated bit in bArray. 40 unsigned int bitNum, // IN: number of the bit in 'bArray' 41 BYTE *bArray, // IN: array containing the bit 42 unsigned int arraySize // IN: size in bytes of 'bArray' 46 bArray[bitNum >> 3] |= (1 << (bitNum & 7)); 52 // This function will clear the indicated bit in bArray [all...] |
/external/e2fsprogs/debugfs/ |
icheck.c | 27 struct block_info *barray; member in struct:block_walk_struct 44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { 45 bw->barray[i].ino = bw->inode; 73 bw.barray = malloc(sizeof(struct block_info) * argc); 74 if (!bw.barray) { 79 memset(bw.barray, 0, sizeof(struct block_info) * argc); 88 if (strtoblk(argv[0], argv[i], &bw.barray[i-1].blk)) 158 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) { 167 free(bw.barray); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 303 byte[] bArray = new byte[MY_MESSAGE_LEN]; 307 dis.read(bArray, 0, bArray.length) == MY_MESSAGE_LEN); 308 // check that bArray has been filled properly 309 assertTrue("bArray", Arrays.equals(myMessage, bArray)); 340 byte[] bArray = new byte[MY_MESSAGE_LEN]; 345 dis.read(bArray, i * CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE); 347 // check that bArray has been filled properly 348 assertTrue("bArray", Arrays.equals(myMessage, bArray)) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 298 byte[] bArray = new byte[MY_MESSAGE_LEN]; 302 dis.read(bArray, 0, bArray.length) == MY_MESSAGE_LEN); 303 // check that bArray has been filled properly 304 assertTrue("bArray", Arrays.equals(myMessage, bArray)); 335 byte[] bArray = new byte[MY_MESSAGE_LEN]; 340 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE); 342 // check that bArray has been filled properly 343 assertTrue("bArray", Arrays.equals(myMessage, bArray)) [all...] |
/external/clang/test/CodeGen/ |
annotations-builtin.c | 17 char barray[16]; local 18 char *b = (char *) __builtin_annotation((int)barray, "annotation_a");
|
/frameworks/base/core/jni/ |
android_util_StringBlock.cpp | 35 jbyteArray bArray, 38 if (bArray == NULL) { 43 jsize bLen = env->GetArrayLength(bArray); 49 jbyte* b = env->GetByteArrayElements(bArray, NULL); 51 env->ReleaseByteArrayElements(bArray, b, 0);
|
android_util_XmlBlock.cpp | 35 jbyteArray bArray, 38 if (bArray == NULL) { 43 jsize bLen = env->GetArrayLength(bArray); 49 jbyte* b = env->GetByteArrayElements(bArray, NULL); 52 env->ReleaseByteArrayElements(bArray, b, 0);
|
android_util_AssetManager.cpp | 461 jlong assetHandle, jbyteArray bArray, 466 if (a == NULL || bArray == NULL) { 475 jsize bLen = env->GetArrayLength(bArray); 481 jbyte* b = env->GetByteArrayElements(bArray, NULL); 483 env->ReleaseByteArrayElements(bArray, b, 0); [all...] |
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorCheckbox.java | 57 final Button []bArray = new Button[icon.length]; 61 bArray[i] = checkBox;
|
VectorDrawable01.java | 61 final Button []bArray = new Button[icon.length]; 82 bArray[i] = button;
|
/toolchain/binutils/binutils-2.25/binutils/ |
syslex.l | 78 "barray" { yylval.s = "BARRAY"; return TYPE;}
|
sysdump.c | 45 static void pbarray (barray *); 144 static barray 148 barray res; 238 pbarray (barray *y)
|
sysinfo.y | 415 printf("typedef struct { unsigned char *data; int len; } barray; \n");
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 543 byte[] bArray = new byte[]{1, 2, 3, 4, 5}; 546 pref.putByteArray("Array", bArray); 550 assertEquals(bArray.length, array.length); 551 for(i = 0; i < bArray.length; i++) { 552 assertEquals(bArray[i], array[i]); 556 pref.putByteArray(null, bArray); 569 pref.putByteArray(new String(sb), bArray); 575 bArray = new byte[Preferences.MAX_VALUE_LENGTH * 3 / 4 + 1]; 578 pref.putByteArray("Big array", bArray); 595 byte[] bArray = new byte[]{1, 2, 3, 4, 5} [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 187 ByteArrayOutputStream barray = new ByteArrayOutputStream(); local 188 DataOutputStream out = new DataOutputStream(barray); 196 return barray.toByteArray();
|
/external/v8/test/mjsunit/ |
array-constructor.js | 122 var bArray = Realm.eval(b, "Array"); 136 assertTrue(verifier(bArray, bError())); 138 assertFalse(verifier(bArray, RangeError()));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
HalMockUtils.java | 101 byte[] bArray = new byte[array.length()]; 103 bArray[i] = (byte) array.getInt(i); 105 bundle.putByteArray(key, bArray);
|
/external/clang/test/CodeGenCXX/ |
alignment.cpp | 181 void *bPointer; // puts bArray at offset 16 182 Array bArray; 238 AlignedArray result = b.bArray; 249 AlignedArray result = b->bArray; 261 AlignedArray result = b.bArray; 297 AlignedArray result = d.bArray;
|
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 295 ByteArrayOutputStream barray = new ByteArrayOutputStream(); local 302 barray.write(filebuffer, 0, len); 305 byte[] classfile = barray.toByteArray();
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
ByteArrayBuffer.java | 201 byte[] barray=b.array(); 202 if (barray==null) 221 byte b2 = barray[--bi];
|
AbstractBuffer.java | 219 byte[] barray= b.array(); 220 if (array!=null && barray!=null) 225 byte b2 = barray[--bi];
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 434 byte[] bArray = s.getBytes(encoding); 435 isInEncoding = inEncoding(ch, bArray); 474 byte[] bArray = s.getBytes(encoding); 475 isInEncoding = inEncoding(high,bArray);
|
/external/javassist/src/main/javassist/ |
CtClassType.java | 246 ByteArrayOutputStream barray = new ByteArrayOutputStream(); 247 DataOutputStream out = new DataOutputStream(barray); 250 barray.close(); 251 rawClassfile = barray.toByteArray(); [all...] |
/prebuilts/go/darwin-x86/src/fmt/ |
fmt_test.go | 109 var barray = [5]renamedUint8{1, 2, 3, 4, 5} var 110 var bslice = barray[:] 386 {"%v", barray, "[1 2 3 4 5]"}, 389 {"%v", &barray, "&[1 2 3 4 5]"}, 442 {"%#v", barray, `[5]fmt_test.renamedUint8{0x1, 0x2, 0x3, 0x4, 0x5}`}, [all...] |