/external/vboot_reference/scripts/ |
genpadding.sh | 93 echo "const uint8_t padding${rsaalgo}_${hashalgo}[${rsaalgo}NUMBYTES - ${hashalgo}_DIGEST_SIZE] = {" 144 echo ${rsaalgo}NUMBYTES, 168 echo ${rsaalgo}NUMBYTES - ${hashalgo}_DIGEST_SIZE,
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.c | 126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { 132 numBytesRead = read(fileDesc, pBuffer, numBytes); 135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes;
|
/external/llvm/lib/Target/X86/ |
X86FrameLowering.cpp | 250 int64_t NumBytes, bool InEpilogue) const { 251 bool isSub = NumBytes < 0; 252 uint64_t Offset = isSub ? -NumBytes : NumBytes; [all...] |
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
BrokenKeyDerivationActivity.java | 270 int numBytes = 0; 271 while (numBytes < bytes.length) { 272 int n = fis.read(bytes, numBytes, bytes.length - numBytes); 276 numBytes += n;
|
/external/clang/include/clang/Rewrite/Core/ |
RewriteRope.h | 155 void erase(unsigned Offset, unsigned NumBytes); 202 void erase(unsigned Offset, unsigned NumBytes) { 203 assert(Offset+NumBytes <= size() && "Invalid region to erase!"); 204 if (NumBytes == 0) return; 205 Chunks.erase(Offset, NumBytes);
|
/external/deqp/framework/qphelper/ |
qpXmlWriter.c | 256 deBool qpXmlWriter_writeBase64 (qpXmlWriter* writer, const deUint8* data, size_t numBytes) 272 DE_ASSERT(writer && data && (numBytes > 0)); 278 while (srcNdx < numBytes) 280 size_t numRead = (size_t)deMin32(3, (int)(numBytes - srcNdx)); 321 DE_ASSERT(srcNdx == numBytes);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
RuimRecords.java | 299 int numBytes; 300 for (numBytes = 0; numBytes < spnData.length; numBytes++) { 301 if ((spnData[numBytes] & 0xFF) == 0xFF) break; 304 if (numBytes == 0) { 312 setServiceProviderName(new String(spnData, 0, numBytes, "ISO-8859-1")); 317 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); 320 String spn = new String(spnData, 0, numBytes, "US-ASCII"); 332 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)) [all...] |
/prebuilts/go/darwin-x86/src/encoding/asn1/ |
marshal.go | 114 func int64Length(i int64) (numBytes int) { 115 numBytes = 1 118 numBytes++ 123 numBytes++ 180 func lengthLength(i int) (numBytes int) { 181 numBytes = 1 183 numBytes++
|
/prebuilts/go/linux-x86/src/encoding/asn1/ |
marshal.go | 114 func int64Length(i int64) (numBytes int) { 115 numBytes = 1 118 numBytes++ 123 numBytes++ 180 func lengthLength(i int) (numBytes int) { 181 numBytes = 1 183 numBytes++
|
/external/llvm/lib/Target/AArch64/ |
AArch64FrameLowering.cpp | 128 unsigned NumBytes = AFI->getLocalStackSize(); 133 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) 300 int NumBytes = (int)MFI->getStackSize(); 305 AFI->setLocalStackSize(NumBytes); 312 if (NumBytes && !canUseRedZone(MF)) { 313 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, 318 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); 322 } else if (NumBytes) { 337 NumBytes -= 16; 339 assert(NumBytes >= 0 && "Negative stack allocation size!?") [all...] |
/libcore/ojluni/src/main/java/java/security/ |
SecureRandom.java | 549 int numBytes = (numBits+7)/8; 550 byte b[] = new byte[numBytes]; 554 for (int i = 0; i < numBytes; i++) 557 return next >>> (numBytes*8 - numBits); 571 * @param numBytes the number of seed bytes to generate. 577 public static byte[] getSeed(int numBytes) { 580 return seedGenerator.generateSeed(numBytes); 588 * @param numBytes the number of seed bytes to generate. 592 public byte[] generateSeed(int numBytes) { 593 return secureRandomSpi.engineGenerateSeed(numBytes); [all...] |
/frameworks/base/media/java/android/media/midi/ |
package.html | 208 int numBytes = 0; 210 buffer[numBytes++] = (byte)(0x90 + (channel - 1)); // note on 211 buffer[numBytes++] = (byte)60; // pitch is middle C 212 buffer[numBytes++] = (byte)127; // max velocity 215 inputPort.send(buffer, offset, numBytes); 230 inputPort.send(buffer, offset, numBytes, future);
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
AMDGPUAsmBackend.cpp | 123 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 132 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 136 for (unsigned i = 0; i != NumBytes; ++i)
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCAsmBackend.cpp | 122 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 127 for (unsigned i = 0; i != NumBytes; ++i) { 128 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i);
|
/frameworks/av/drm/libdrmframework/ |
DrmManagerClientImpl.cpp | 328 void* buffer, ssize_t numBytes, off64_t offset) { 330 if ((NULL != decryptHandle.get()) && (NULL != buffer) && (0 < numBytes)) { 332 uniqueId, decryptHandle.get(), buffer, numBytes, offset);
|
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); 134 encodedBytes.put(bytes, start, numBytes); 135 start += numBytes;
|
/system/media/audio_utils/spdif/ |
AC3FrameScanner.cpp | 130 uint16_t AC3FrameScanner::convertBytesToLengthCode(uint16_t numBytes) const 132 return (mDataType == SPDIF_DATA_TYPE_E_AC3) ? numBytes : numBytes * 8;
|
/cts/tests/tests/drm/lib/ |
TestPlugin.h | 93 void* buffer, ssize_t numBytes, off64_t offset);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 77 int numBytes = 1337; 79 FileUtils.createFile(videoFile, numBytes); 99 values.put(Media.SIZE, numBytes); 135 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE)));
|
/device/google/contexthub/firmware/inc/platform/stm32f4xx/ |
bl.h | 79 void (*blSha2processBytes)(struct Sha2state *state, const void *bytes, uint32_t numBytes);
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatch.java | 252 * @param numBytes the number of bytes to read 257 final InputStream in, final byte[] destination, final int startAt, final int numBytes) 260 while (numRead < numBytes) { 261 int readNow = in.read(destination, startAt + numRead, numBytes - numRead);
|
/external/deqp/execserver/tools/ |
xsClient.cpp | 84 void readBytes (de::Socket& socket, vector<deUint8>& dst, size_t numBytes) 87 dst.resize(numBytes); 88 while (numRead < numBytes) 90 size_t numLeft = numBytes - numRead;
|
/external/deqp/executor/ |
xeTestCaseListParser.hpp | 42 void parse (const deUint8* bytes, int numBytes);
|
xeTestLogParser.hpp | 59 void parse (const deUint8* bytes, size_t numBytes);
|
xeTestLogWriter.cpp | 181 int numBytes; 183 Base64Formatter (const deUint8* data_, int numBytes_) : data(data_), numBytes(numBytes_) {} 198 int numBytes = fmt.numBytes; 201 DE_ASSERT(data && (numBytes > 0)); 204 while (srcNdx < numBytes) 206 int numRead = de::min(3, numBytes - srcNdx); 229 inline Base64Formatter toBase64 (const deUint8* bytes, int numBytes) { return Base64Formatter(bytes, numBytes); }
|