/development/ndk/platforms/android-21/include/linux/netfilter/ |
D | xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 …P_CHUNKMAP_SET(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__… 54 …HUNKMAP_CLEAR(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(_… 55 …CHUNKMAP_IS_SET(chunkmap, type) ({ ((chunkmap)[type / bytes (__u32)] & (1 << (type % bytes (_…
|
D | xt_set.h | 76 struct ip_set_counter_match bytes; member
|
/development/ndk/platforms/android-9/include/linux/netfilter_ipv4/ |
D | ipt_sctp.h | 47 #define bytes(type) (sizeof(type) * 8) macro 49 …P_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(… 51 …HUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes… 53 …CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes …
|
/development/apps/Development/src/com/android/development/ |
D | LogViewer.java | 99 byte[] bytes = new byte[length]; in run() 100 in.readFully(bytes); in run() 102 int tagEnd = next0(bytes, HEADER_SIZE); in run() 103 int fileEnd = next0(bytes, tagEnd + 1); in run() 104 int messageEnd = next0(bytes, fileEnd + 1); in run() 107 = forAsciiBytes(bytes, HEADER_SIZE, tagEnd); in run() 109 = forAsciiBytes(bytes, fileEnd + 1, messageEnd); in run() 131 static int next0(byte[] bytes, int start) { in next0() argument 132 for (int current = start; current < bytes.length; current++) { in next0() 133 if (bytes[current] == 0) in next0() [all …]
|
/development/ndk/platforms/android-9/include/linux/netfilter/ |
D | xt_sctp.h | 49 #define bytes(type) (sizeof(type) * 8) macro 51 …P_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(… 53 …HUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes… 55 …CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes …
|
/development/tools/axl/ |
D | chewperf.py | 59 bytes = sum(x[1] for x in chewed) 60 print "total time", totalTime, "bytes", bytes, "rate", bytes * 1000 / totalTime 65 bytes = x[1] 67 buckets[bucket] += bytes 69 buckets[bucket] = bytes
|
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
D | InsecureSHA1PRNGKeyDerivator.java | 224 private void updateSeed(byte[] bytes) { in updateSeed() argument 229 updateHash(seed, bytes, 0, bytes.length - 1); in updateSeed() 231 seedLength += bytes.length; in updateSeed() 278 protected synchronized void nextBytes(byte[] bytes) { in nextBytes() argument 290 if (bytes == null) { in nextBytes() 341 if (bytes.length == 0) { in nextBytes() 348 n = (HASHBYTES_TO_USE - nextBIndex) < (bytes.length - nextByteToReturn) ? HASHBYTES_TO_USE in nextBytes() 350 : bytes.length - nextByteToReturn; in nextBytes() 352 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n); in nextBytes() 357 if (nextByteToReturn >= bytes.length) { in nextBytes() [all …]
|
D | BrokenKeyDerivationActivity.java | 240 private void readFromFileOrCreateRandom(String fileName, byte[] bytes) { in readFromFileOrCreateRandom() argument 242 readBytesFromFile(fileName, bytes); in readFromFileOrCreateRandom() 246 sr.nextBytes(bytes); in readFromFileOrCreateRandom() 247 writeToFile(fileName, bytes); in readFromFileOrCreateRandom() 260 private void writeToFile(String fileName, byte[] bytes) { in writeToFile() argument 262 fos.write(bytes); in writeToFile() 268 private void readBytesFromFile(String fileName, byte[] bytes) { in readBytesFromFile() argument 271 while (numBytes < bytes.length) { in readBytesFromFile() 272 int n = fis.read(bytes, numBytes, bytes.length - numBytes); in readBytesFromFile()
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | ChatManager.java | 37 int bytes; in run() local 44 bytes = iStream.read(buffer); in run() 45 if (bytes == -1) { in run() 52 bytes, -1, buffer).sendToTarget(); in run()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | Utils.java | 61 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in readFully() local 65 bytes.write(buffer, 0, count); in readFully() 67 return bytes.toByteArray(); in readFully()
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | CardService.java | 119 public static String ByteArrayToHexString(byte[] bytes) { in ByteArrayToHexString() argument 121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) in ByteArrayToHexString() 123 for (int j = 0; j < bytes.length; j++) { in ByteArrayToHexString() 124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value in ByteArrayToHexString()
|
/development/ndk/platforms/android-21/include/linux/ |
D | gen_stats.h | 36 __u64 bytes; member 41 __u64 bytes; member
|
D | blktrace_api.h | 114 __u32 bytes; member
|
D | telephony.h | 187 unsigned int bytes; member
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
D | LoyaltyCardReader.java | 119 public static String ByteArrayToHexString(byte[] bytes) { in ByteArrayToHexString() argument 121 char[] hexChars = new char[bytes.length * 2]; in ByteArrayToHexString() 123 for ( int j = 0; j < bytes.length; j++ ) { in ByteArrayToHexString() 124 v = bytes[j] & 0xFF; in ByteArrayToHexString()
|
/development/tutorials/MoarRam/ |
D | README.txt | 6 foo.c (libmoarram-foo.so). Each invocation will allocate 32 bytes. 8 bar.c (libmoarram-bar.so). Each invocation will allocate 2M bytes. 10 in baz.c (libmoarram-baz.so). Each invocation will allocate 17 or 71 bytes,
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | SimpleWebServer.java | 145 byte[] bytes = loadContent(route); in handle() 146 if (null == bytes) { in handle() 154 output.println("Content-Length: " + bytes.length); in handle() 156 output.write(bytes); in handle()
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbMessage.java | 141 byte[] bytes = new byte[length]; in extractString() 143 bytes[i] = buffer.get(offset++); in extractString() 145 return new String(bytes); in extractString()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | AudioFxDemo.java | 176 public void onWaveFormDataCapture(Visualizer visualizer, byte[] bytes, in setupVisualizerFxAndUI() 178 mVisualizerView.updateVisualizer(bytes); in setupVisualizerFxAndUI() 181 public void onFftDataCapture(Visualizer visualizer, byte[] bytes, int samplingRate) {} in setupVisualizerFxAndUI() 222 public void updateVisualizer(byte[] bytes) { in updateVisualizer() argument 223 mBytes = bytes; in updateVisualizer()
|
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/ |
D | RmTypeDefs.java | 147 byte[] bytes = Files.toByteArray(file); in checkClass() 148 ClassReader classReader = new ClassReader(bytes); in checkClass() 201 byte[] bytes; in rewriteOuterClasses() 203 bytes = Files.toByteArray(file); in rewriteOuterClasses() 220 ClassReader reader = new ClassReader(bytes); in rewriteOuterClasses()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChatService.java | 448 int bytes; in run() local 454 bytes = mmInStream.read(buffer); in run() 457 mHandler.obtainMessage(BluetoothChat.MESSAGE_READ, bytes, -1, buffer) in run()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 488 int bytes; in run() local 494 bytes = mmInStream.read(buffer); in run() 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) in run()
|
/development/ndk/platforms/android-9/include/linux/ |
D | bio.h | 146 #define bio_io_error(bio, bytes) bio_endio((bio), (bytes), -EIO) argument
|
D | telephony.h | 168 unsigned int bytes; member
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | DocumentsSample.java | 387 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in readFullyNoClose() local 391 bytes.write(buffer, 0, count); in readFullyNoClose() 393 return bytes.toByteArray(); in readFullyNoClose()
|