/external/curl/lib/ |
curl_des.c | 41 * bytes [in/out] - The data whose parity bits are to be adjusted for 45 void Curl_des_set_odd_parity(unsigned char *bytes, size_t len) 50 unsigned char b = bytes[i]; 57 bytes[i] |= 0x01; 59 bytes[i] &= 0xfe;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RawCollationKey.java | 33 * // do something with key.bytes 61 bytes = new byte[capacity]; 65 * RawCollationKey created, adopting bytes as the internal byte array. 67 * @param bytes byte array to be adopted by RawCollationKey 69 public RawCollationKey(byte[] bytes) 71 this.bytes = bytes;
|
/external/valgrind/memcheck/tests/ |
error_counts.stderr.exp | 7 leaked: 0 bytes in 0 blocks 8 dubious: 0 bytes in 0 blocks 9 reachable: 0 bytes in 0 blocks 10 suppressed: 0 bytes in 0 blocks 14 leaked: 77 bytes in 1 blocks 15 dubious: 88 bytes in 1 blocks 16 reachable: 99 bytes in 1 blocks 17 suppressed: 0 bytes in 0 blocks
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
protobuf_utils.cc | 15 size_t ReadMessageBytesFromFile(FILE* file, rtc::scoped_ptr<uint8_t[]>* bytes) { 27 bytes->reset(new uint8_t[size]); 28 return fread(bytes->get(), sizeof((*bytes)[0]), size, file); 33 rtc::scoped_ptr<uint8_t[]> bytes; local 34 size_t size = ReadMessageBytesFromFile(file, &bytes); 39 return msg->ParseFromArray(bytes.get(), size);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AmrCodec.cpp | 102 unsigned char *bytes = (unsigned char *)payload; local 106 samples, bytes + 1, &type, AMR_TX_WMF); 113 bytes[0] = 0xF0; 114 bytes[1] = (mMode << 3) | 0x04; 118 bytes[0] = 0xFF; 119 bytes[1] = 0xC0 | (mMode << 1) | 1; 122 bytes[length + 1] = 0; 124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2) 133 unsigned char *bytes = (unsigned char *)payload; local 226 unsigned char *bytes = (unsigned char *)payload; local 244 unsigned char *bytes = (unsigned char *)payload; local [all...] |
/system/core/debuggerd/test/ |
BacktraceMock.h | 56 virtual size_t Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { 65 if (bytes > bytes_partial_read_) { 66 bytes = bytes_partial_read_; 68 bytes_partial_read_ -= bytes; 71 } else if (bytes > bytes_available) { 72 bytes = bytes_available; 75 if (bytes > 0) { 76 memcpy(buffer, buffer_.data() + offset, bytes); 80 return bytes; 83 void SetReadData(uint8_t* buffer, size_t bytes) { [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
ByteStringMicro.java | 36 * Immutable array of bytes. 42 private final byte[] bytes; field in class:ByteStringMicro 44 private ByteStringMicro(final byte[] bytes) { 45 this.bytes = bytes; 54 return bytes[index]; 58 * Gets the number of bytes. 61 return bytes.length; 68 return bytes.length == 0; 80 * Copies the given bytes into a {@code ByteStringMicro} [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSProcessableByteArray.java | 19 private final byte[] bytes; field in class:CMSProcessableByteArray 22 byte[] bytes) 24 this(new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId()), bytes); 29 byte[] bytes) 32 this.bytes = bytes; 37 return new ByteArrayInputStream(bytes); 43 zOut.write(bytes); 48 return Arrays.clone(bytes);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9IntegerConverter.java | 26 byte[] bytes = s.toByteArray(); 28 if (qLength < bytes.length) 32 System.arraycopy(bytes, bytes.length - tmp.length, tmp, 0, tmp.length); 36 else if (qLength > bytes.length) 40 System.arraycopy(bytes, 0, tmp, tmp.length - bytes.length, bytes.length); 45 return bytes;
|
/external/dhcpcd-6.8.2/compat/ |
getline.c | 44 size_t bytes, newlen; local 54 bytes = 0; 58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) { 66 p = *buf + bytes; 70 bytes += strlen(p); 71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n'); 72 if (bytes == 0) 74 return bytes;
|
/external/libvncserver/examples/ |
colourmaptest.c | 7 uint8_t bytes[256*3]; local 16 bytes[i*3+0]=255-i; /* red */ 17 bytes[i*3+1]=0; /* green */ 18 bytes[i*3+2]=i; /* blue */ 20 bytes[128*3+0]=0xff; 21 bytes[128*3+1]=0; 22 bytes[128*3+2]=0; 23 server->colourMap.data.bytes=bytes;
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
UnknownFieldData.java | 49 final byte[] bytes; field in class:UnknownFieldData 51 UnknownFieldData(int tag, byte[] bytes) { 53 this.bytes = bytes; 59 size += bytes.length; 65 output.writeRawBytes(bytes); 78 return tag == other.tag && Arrays.equals(bytes, other.bytes); 85 result = 31 * result + Arrays.hashCode(bytes);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
UnsafeByteSequence.java | 31 private byte[] bytes; field in class:UnsafeByteSequence 35 this.bytes = new byte[initialCapacity]; 51 if (count + length >= bytes.length) { 53 System.arraycopy(bytes, 0, newBytes, 0, count); 54 bytes = newBytes; 56 System.arraycopy(buffer, offset, bytes, count, length); 61 if (count == bytes.length) { 63 System.arraycopy(bytes, 0, newBytes, 0, count); 64 bytes = newBytes; 66 bytes[count++] = (byte) b [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Integer.java | 14 private final byte[] bytes; field in class:ASN1Integer 75 bytes = BigInteger.valueOf(value).toByteArray(); 81 bytes = value.toByteArray(); 85 byte[] bytes) 87 this(bytes, true); 90 ASN1Integer(byte[] bytes, boolean clone) 92 this.bytes = (clone) ? Arrays.clone(bytes) : bytes; 97 return new BigInteger(bytes); [all...] |
DEREnumerated.java | 12 * @param bytes the value of this enumerated as an encoded BigInteger (signed). 15 DEREnumerated(byte[] bytes) 17 super(bytes);
|
DERGeneralizedTime.java | 12 DERGeneralizedTime(byte[] bytes) 14 super(bytes);
|
DERInteger.java | 14 * @param bytes a byte array containing the signed number.A copy is made of the byte array. 16 public DERInteger(byte[] bytes) 18 super(bytes, true);
|
DERObjectIdentifier.java | 15 DERObjectIdentifier(byte[] bytes) 17 super(bytes);
|
DERUTCTime.java | 11 DERUTCTime(byte[] bytes) 13 super(bytes);
|
/external/javassist/sample/hotswap/ |
Test.java | 10 byte[] bytes = new byte[(int)newfile.length()]; 11 new FileInputStream(newfile).read(bytes); 14 hs.reload("HelloWorld", bytes); 18 bytes = new byte[(int)newfile.length()]; 19 new FileInputStream(newfile).read(bytes); 22 hs.reload("HelloWorld", bytes);
|
/external/webrtc/webrtc/base/ |
bufferqueue_unittest.cc | 20 size_t bytes; local 26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); 29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); 30 EXPECT_EQ(kSize, bytes); 34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes)); 38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes)); 39 EXPECT_EQ(kSize, bytes); 43 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); 47 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); 48 EXPECT_EQ(kSize, bytes); [all...] |
/prebuilts/go/darwin-x86/test/bench/shootout/ |
regex-dna.go | 75 func countMatches(pat string, bytes []byte) int { 79 e := re.FindIndex(bytes) 84 bytes = bytes[e[1]:] 90 bytes, err := ioutil.ReadAll(os.Stdin) 95 ilen := len(bytes) 97 bytes = regexp.MustCompile("(>[^\n]+)?\n").ReplaceAll(bytes, []byte{}) 98 clen := len(bytes) 100 fmt.Printf("%s %d\n", s, countMatches(s, bytes)) [all...] |
/prebuilts/go/linux-x86/test/bench/shootout/ |
regex-dna.go | 75 func countMatches(pat string, bytes []byte) int { 79 e := re.FindIndex(bytes) 84 bytes = bytes[e[1]:] 90 bytes, err := ioutil.ReadAll(os.Stdin) 95 ilen := len(bytes) 97 bytes = regexp.MustCompile("(>[^\n]+)?\n").ReplaceAll(bytes, []byte{}) 98 clen := len(bytes) 100 fmt.Printf("%s %d\n", s, countMatches(s, bytes)) [all...] |
/external/guava/guava/src/com/google/common/hash/ |
MessageDigestHashFunction.java | 35 private final int bytes; field in class:MessageDigestHashFunction 41 this.bytes = prototype.getDigestLength(); 46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { 50 checkArgument(bytes >= 4 && bytes <= maxLength, 51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength); 52 this.bytes = bytes; 66 return bytes * Byte.SIZE 94 private final int bytes; field in class:MessageDigestHashFunction.SerializedForm 120 private final int bytes; field in class:MessageDigestHashFunction.MessageDigestHasher [all...] |
/external/skia/src/core/ |
SkDiscardableMemory.h | 24 static SkDiscardableMemory* Create(size_t bytes); 32 virtual SkDiscardableMemory* create(size_t bytes) = 0;
|