/frameworks/base/libs/androidfw/tests/ |
BackupData_test.cpp | 104 char* dataBytes = new char[dataSize]; 105 EXPECT_EQ((int) dataSize, reader->ReadEntityData(dataBytes, dataSize)) 108 EXPECT_EQ(DATA1[i], dataBytes[i]) 111 delete[] dataBytes; 132 char* dataBytes; 136 dataBytes = new char[dataSize]; 137 reader->ReadEntityData(dataBytes, dataSize); 138 delete dataBytes; 152 dataBytes = new char[dataSize]; 153 EXPECT_EQ((int)dataSize, reader->ReadEntityData(dataBytes, dataSize) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/ |
VMRuntime_Delegate.java | 41 int dataBytes = alignedUpBytes - 20; 42 int size = dataBytes / 2; 50 int dataBytes = alignedUpBytes - 20; 51 int size = dataBytes; 56 int dataBytes = alignedUpBytes - 20; 57 int size = dataBytes; 62 int dataBytes = alignedUpBytes - 20; 63 int size = dataBytes / 2;
|
/external/pdfium/xfa/src/fxbarcode/common/reedsolomon/ |
BC_ReedSolomon.cpp | 62 int32_t dataBytes = toEncode->GetSize() - ecBytes;
63 if (dataBytes <= 0) {
70 infoCoefficients.SetSize(dataBytes);
71 for (int32_t x = 0; x < dataBytes; x++) {
88 (*toEncode)[dataBytes + i] = 0;
91 (*toEncode)[dataBytes + numZeroCoefficients + y] =
|
/frameworks/base/core/jni/ |
android_backup_BackupDataOutput.cpp | 73 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); 74 if (dataBytes == NULL) { 78 err = writer->WriteEntityData(dataBytes, size); 80 env->ReleaseByteArrayElements(data, dataBytes, JNI_ABORT);
|
android_backup_BackupDataInput.cpp | 104 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); 105 if (dataBytes == NULL) { 109 err = reader->ReadEntityData(dataBytes+offset, size); 111 env->ReleaseByteArrayElements(data, dataBytes, 0);
|
android_hardware_camera2_CameraMetadata.cpp | 120 size_t dataBytes) { 129 if (dataBytes % typeSize != 0) { 130 ALOGE("%s: Expected dataBytes (%zu) to be divisible by typeSize " 131 "(%zu)", __FUNCTION__, dataBytes, typeSize); 135 size_t dataCount = dataBytes / typeSize;
|
/hardware/bsp/intel/peripheral/libupm/src/lpd8806/ |
lpd8806.cxx | 62 uint16_t dataBytes, totalBytes; 65 dataBytes = m_pixelsCount * 3; 67 totalBytes = dataBytes + latchBytes; 70 memset ( m_pixels , 0x80, dataBytes); // Init to RGB 'off' state 71 memset (&m_pixels[dataBytes], 0 , latchBytes); // Clear latch bytes
|
/device/google/contexthub/firmware/src/ |
appSec.c | 81 uint8_t dataBytes[0]; //we actually use these two for access 90 uint16_t haveBytes; //in dataBytes... 183 BL.blSha2processBytes(&state->sha, state->dataBytes, state->haveBytes); 211 BL.blSha2processBytes(&state->cbcSha, state->dataBytes, state->haveBytes); 227 uint8_t *hdr = state->dataBytes; 263 BL.blSha2processBytes(&state->sha, state->dataBytes, needBytes); 337 memcpy(state->dataBytes, &common, sizeof(common)); 364 return state->haveBytes ? state->writeCbk(state->dataBytes, state->haveBytes) : APP_SEC_NO_ERROR; 394 BL.blSha2processBytes(&state->sha, state->dataBytes, APP_SIG_SIZE); 426 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipInputStreamTest.java | 42 private byte[] dataBytes = "Some data in my file".getBytes(); 57 zos.write(dataBytes); 198 long skipLen = dataBytes.length / 2; 200 zis.skip(dataBytes.length);
|
/device/asus/fugu/recovery/ |
fw_version_check.cpp | 197 unsigned char *databytes = (unsigned char *)data; local 211 memcpy(&magic, databytes, sizeof(magic)); 216 databytes += sizeof(magic); 228 memcpy(&fip, databytes, sizeof(fip)); 260 databytes += sizeof(magic);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipInputStreamTest.java | 34 private byte[] dataBytes = "Some data in my file".getBytes(); 48 zos.write(dataBytes);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleAdvertiserService.java | 240 byte[] dataBytes = new byte[POWER_LEVEL_DATA_LENGTH]; 241 dataBytes[0] = 0x01; 242 dataBytes[1] = 0x05; 244 dataBytes[i] = (byte)t; 246 AdvertiseData d = generateAdvertiseData(POWER_LEVEL_UUID, dataBytes);
|
/frameworks/base/core/java/com/android/server/backup/ |
AccountSyncSettingsBackupHelper.java | 104 byte[] dataBytes = dataJSON.toString().getBytes(JSON_FORMAT_ENCODING); 106 byte[] newMd5Checksum = generateMd5Checksum(dataBytes); 108 int dataSize = dataBytes.length; 110 output.writeEntityData(dataBytes, dataSize); 246 byte[] dataBytes = new byte[data.size()]; 249 data.read(dataBytes); 250 String dataString = new String(dataBytes, JSON_FORMAT_ENCODING);
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCoderEncoder.h | 104 static CBC_CommonByteArray* GenerateECBytes(CBC_CommonByteArray* dataBytes,
|
BC_QRCoderEncoder.cpp | [all...] |
/frameworks/av/include/drm/ |
drm_framework_common.h | 75 DrmBuffer(char* dataBytes, int dataLength) : 76 data(dataBytes),
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
RecordedProgram.java | 351 public Builder setDataBytes(long dataBytes) { 352 mDataBytes = dataBytes; 490 Uri posterArt, Uri thumbnail, boolean searchable, Uri dataUri, long dataBytes, 517 mDataBytes = dataBytes;
|
/hardware/libhardware/tests/camera2/ |
camera2_utils.cpp | 112 size_t dataBytes = get_camera_metadata_data_count(*slotEntry); 114 camera_metadata_t *copy = allocate_camera_metadata(entries, dataBytes);
|
/external/libvncserver/libvncserver/ |
cursor.c | 42 int bitmapRowBytes, maskBytes, dataBytes; 91 dataBytes = (cl->useRichCursorEncoding) ? 98 sz_rfbXCursorColors + maskBytes + dataBytes > UPDATE_BUF_SIZE ) { 104 sz_rfbXCursorColors + maskBytes + dataBytes > UPDATE_BUF_SIZE ) {
|
/external/aac/libSBRdec/src/ |
sbrdecoder.cpp | 988 int dataBytes, dataBits; 997 dataBytes = (dataBits+7)>>3; 1006 for ( ; dataBytes > 0; dataBytes--) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 744 int dataBytes = (dataBits / 8); 745 dataBytes += (dataBits % 8) > 0 ? 1 : 0; 746 byte[] rawData = new byte[dataBytes]; [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Signature.java | [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
Icon.java | 84 // TYPE_DATA: DataBytes
|
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-spi/1.0.2.v20150114/ |
aether-spi-1.0.2.v20150114.jar | |
/external/mesa3d/src/glx/ |
glxext.c | 1042 req->dataBytes = dataLen;
|