/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/ |
D | IoUtils.java | 27 public static byte[] readTlsVariableLengthByteVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthByteVector() argument 29 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthByteVector() 34 public static int[] readTlsVariableLengthUnsignedShortVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthUnsignedShortVector() argument 36 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthUnsignedShortVector() 44 private static int readTlsVariableLengthVectorSizeBytes(DataInput in, int maxSizeBytes) in readTlsVariableLengthVectorSizeBytes() argument 46 if (maxSizeBytes < 0x100) { in readTlsVariableLengthVectorSizeBytes() 48 } else if (maxSizeBytes < 0x10000) { in readTlsVariableLengthVectorSizeBytes() 50 } else if (maxSizeBytes < 0x1000000) { in readTlsVariableLengthVectorSizeBytes()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/ |
D | IoUtils.java | 23 public static byte[] readTlsVariableLengthByteVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthByteVector() argument 25 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthByteVector() 30 public static int[] readTlsVariableLengthUnsignedShortVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthUnsignedShortVector() argument 32 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthUnsignedShortVector() 40 private static int readTlsVariableLengthVectorSizeBytes(DataInput in, int maxSizeBytes) in readTlsVariableLengthVectorSizeBytes() argument 42 if (maxSizeBytes < 0x100) { in readTlsVariableLengthVectorSizeBytes() 44 } else if (maxSizeBytes < 0x10000) { in readTlsVariableLengthVectorSizeBytes() 46 } else if (maxSizeBytes < 0x1000000) { in readTlsVariableLengthVectorSizeBytes()
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
D | DeltaFriendlyOldBlobSizeLimiter.java | 49 private final long maxSizeBytes; field in DeltaFriendlyOldBlobSizeLimiter 59 public DeltaFriendlyOldBlobSizeLimiter(long maxSizeBytes) { in DeltaFriendlyOldBlobSizeLimiter() argument 60 if (maxSizeBytes < 0) { in DeltaFriendlyOldBlobSizeLimiter() 61 throw new IllegalArgumentException("maxSizeBytes must be non-negative: " + maxSizeBytes); in DeltaFriendlyOldBlobSizeLimiter() 63 this.maxSizeBytes = maxSizeBytes; in DeltaFriendlyOldBlobSizeLimiter() 73 long bytesRemaining = maxSizeBytes - oldFile.length(); in getModifiedRecommendations()
|
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | HasCacheHolder.java | 75 public static CacheHolder create(File directory, long maxSizeBytes) { in create() argument 76 Cache cache = new Cache(directory, maxSizeBytes); in create() 85 public boolean isEquivalent(File directory, long maxSizeBytes) { in isEquivalent() argument 87 && okHttpCache.getMaxSize() == maxSizeBytes in isEquivalent()
|
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | HasCacheHolder.java | 73 public static CacheHolder create(File directory, long maxSizeBytes) { in create() argument 74 Cache cache = new Cache(directory, maxSizeBytes); in create() 83 public boolean isEquivalent(File directory, long maxSizeBytes) { in isEquivalent() argument 85 && okHttpCache.getMaxSize() == maxSizeBytes in isEquivalent()
|
/external/webrtc/webrtc/voice_engine/include/ |
D | voe_file.h | 116 int maxSizeBytes = -1) = 0; 128 int maxSizeBytes = -1) = 0;
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_file_impl.h | 66 int maxSizeBytes = -1) override; 78 int maxSizeBytes = -1) override;
|
D | voe_file_impl.cc | 306 int maxSizeBytes) { in StartRecordingPlayout() argument 310 channel, fileNameUTF8, maxSizeBytes); in StartRecordingPlayout() 380 int maxSizeBytes) { in StartRecordingMicrophone() argument 384 fileNameUTF8, maxSizeBytes); in StartRecordingMicrophone()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file.h | 130 const uint32_t maxSizeBytes = 0) = 0;
|
D | media_file_impl.cc | 734 const uint32_t maxSizeBytes) in StartRecordingAudioFile() argument 762 if(maxSizeBytes) in StartRecordingAudioFile() 764 outputStream->SetMaxFileSize(maxSizeBytes); in StartRecordingAudioFile()
|
D | media_file_impl.h | 70 const uint32_t maxSizeBytes = 0) override;
|
/external/webrtc/webrtc/test/ |
D | mock_voice_engine.h | 208 int maxSizeBytes)); 215 int maxSizeBytes));
|