/prebuilts/go/darwin-x86/src/archive/zip/ |
writer_test.go | 8 "bytes" 69 buf := new(bytes.Buffer) 81 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 101 buf := new(bytes.Buffer) 116 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 126 var buf bytes.Buffer 133 t.Fatalf("Unexpected %d bytes already in buffer", buf.Len()) 139 t.Fatal("No bytes written after Flush" [all...] |
/prebuilts/go/darwin-x86/src/net/http/internal/ |
chunked_test.go | 9 "bytes" 18 var b bytes.Buffer 45 var b bytes.Buffer 66 var b bytes.Buffer 68 // fillBufChunk is 11 bytes + 3 bytes header + 2 bytes footer = 16 bytes, 113 var buf bytes.Buffer 122 byter := bytes.NewReader(buf.Bytes() [all...] |
/prebuilts/go/linux-x86/src/archive/zip/ |
writer_test.go | 8 "bytes" 69 buf := new(bytes.Buffer) 81 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 101 buf := new(bytes.Buffer) 116 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 126 var buf bytes.Buffer 133 t.Fatalf("Unexpected %d bytes already in buffer", buf.Len()) 139 t.Fatal("No bytes written after Flush" [all...] |
/prebuilts/go/linux-x86/src/net/http/internal/ |
chunked_test.go | 9 "bytes" 18 var b bytes.Buffer 45 var b bytes.Buffer 66 var b bytes.Buffer 68 // fillBufChunk is 11 bytes + 3 bytes header + 2 bytes footer = 16 bytes, 113 var buf bytes.Buffer 122 byter := bytes.NewReader(buf.Bytes() [all...] |
/cts/tests/tests/media/libmediandkjni/ |
md5_utils.h | 12 * To compute the message digest of a chunk of bytes, declare an 14 * needed on buffers full of bytes, and then call MD5Final, which 36 UWORD32 bytes[2]; member in struct:MD5Context
|
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 116 * @param bytes Bytes to convert 119 public static String ByteArrayToHexString(byte[] bytes) { 121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) 123 for (int j = 0; j < bytes.length; j++) { 124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value
|
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 116 * @param bytes Bytes to convert 119 public static String ByteArrayToHexString(byte[] bytes) { 121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) 123 for (int j = 0; j < bytes.length; j++) { 124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
CardService.java | 116 * @param bytes Bytes to convert 119 public static String ByteArrayToHexString(byte[] bytes) { 121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) 123 for (int j = 0; j < bytes.length; j++) { 124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value
|
/device/google/contexthub/lib/include/nanohub/ |
sha2.h | 24 #define SHA2_BLOCK_SIZE 64U //in bytes 27 #define SHA2_HASH_SIZE 32U //in bytes 41 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes);
|
/device/huawei/angler/vr/ |
vr.c | 84 int bytes = snprintf(buffer, sizeof(buffer), "%d", input); local 86 if (bytes < 0 || (size_t) bytes >= sizeof(buffer)) { 91 return write_string(buffer, (size_t) bytes, outFile);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaDigestCalculatorProviderBuilder.java | 91 public void write(byte[] bytes, int off, int len) 94 dig.update(bytes, off, len); 97 public void write(byte[] bytes) 100 dig.update(bytes);
|
/external/caliper/examples/src/main/java/examples/ |
Utf8Benchmark.java | 129 byte[] bytes = string.getBytes(UTF_8); 130 if (bytes[0] == 86 && bytes[bytes.length - 1] == 99) {
|
/external/deqp/executor/ |
xeBatchExecutor.hpp | 83 void onTestLogData (const deUint8* bytes, size_t numBytes); 84 void onInfoLogData (const deUint8* bytes, size_t numBytes); 90 static void enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes); 91 static void enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoadHook.java | 54 final byte [] bytes, final int length, 61 $assert.ASSERT (bytes != null, "bytes is null"); 62 $assert.ASSERT (bytes != null, "out is null"); 68 final ClassDef clsDef = ClassDefParser.parseClass (bytes, length);
|
/external/flac/libFLAC/include/private/ |
md5.h | 15 * To compute the message digest of a chunk of bytes, declare an 17 * needed on buffers full of bytes, and then call MD5Final, which 40 FLAC__uint32 bytes[2]; member in struct:__anon12681
|
/external/libchrome/sandbox/win/src/sidestep/ |
preamble_patcher_with_stub.cpp | 20 // Very basic memcpy. We are copying 4 to 12 bytes most of the time, so there 23 inline void* RawMemcpy(void* destination, const void* source, size_t bytes) { 27 for (size_t i = 0; i < bytes ; i++) 33 // Very basic memset. We are filling 1 to 7 bytes most of the time, so there 36 inline void* RawMemset(void* destination, int value, size_t bytes) { 39 for (size_t i = 0; i < bytes ; i++) 75 // NOTE: Stoyan suggests we can write 8 or even 10 bytes atomically using 80 // to have its eip in the middle of the bytes you change while you change 86 // bytes for our jmp instruction, so let's find the minimum number of 87 // instructions to get 5 bytes [all...] |
/external/libnl/include/linux/ |
gen_stats.h | 15 * @bytes: number of seen bytes 20 __u64 bytes; member in struct:gnet_stats_basic
|
/external/libvpx/libvpx/ |
md5_utils.h | 12 * To compute the message digest of a chunk of bytes, declare an 14 * needed on buffers full of bytes, and then call MD5Final, which 36 UWORD32 bytes[2]; member in struct:MD5Context
|
/external/libweave/third_party/chromium/base/ |
guid_unittest.cc | 59 uint64_t bytes[] = {0, 0}; local 60 std::string clientid = RandomDataToGUIDString(bytes); 65 uint64_t bytes[] = {0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL}; local 66 std::string clientid = RandomDataToGUIDString(bytes);
|
/external/llvm/lib/Target/X86/ |
X86MachineFunctionInfo.h | 42 /// stack frame in bytes. 45 /// BytesToPopOnReturn - Number of bytes function pops on return (in addition 56 /// TailCallReturnAddrDelta - The number of bytes by which return address 78 /// ArgumentStackSize - The number of bytes on stack consumed by the arguments 116 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } 119 void setBytesToPopOnReturn (unsigned bytes) { BytesToPopOnReturn = bytes;}
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
FileEntry.java | 34 private byte[] bytes = EMPTY;
field in class:FileEntry 75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
|
/external/skia/experimental/DrawingBoard/ |
SkNetPipeController.h | 19 virtual void notifyWritten(size_t bytes);
|
/external/toybox/toys/posix/ |
split.c | 17 usage: split [-a SUFFIX_LEN] [-b BYTES] [-l LINES] [INPUT [OUTPUT]] 23 -b BYTES/file (10, 10k, 10m, 10g...) 32 long bytes; 59 if ((TT.bytes && !bytesleft) || (TT.lines && !linesleft)) { 68 bytesleft = TT.bytes; 100 if (!TT.bytes && !TT.lines) TT.lines = 1000;
|
/external/valgrind/drd/tests/ |
hg03_inherit.stderr.exp | 6 Location 0x........ is 0 bytes inside shared[1], 12 Location 0x........ is 0 bytes inside shared[1],
|
rwlock_race.stderr.exp | 5 Location 0x........ is 0 bytes inside global var "s_racy" 11 Location 0x........ is 0 bytes inside global var "s_racy"
|