/frameworks/base/media/java/android/media/midi/ |
D | MidiPortImpl.java | 97 public static int getPacketType(byte[] buffer, int bufferLength) { in getPacketType() argument 105 public static int getDataOffset(byte[] buffer, int bufferLength) { in getDataOffset() argument 114 public static int getDataSize(byte[] buffer, int bufferLength) { in getDataSize() argument 116 return bufferLength - DATA_PACKET_OVERHEAD; in getDataSize() 123 public static long getPacketTimestamp(byte[] buffer, int bufferLength) { in getPacketTimestamp() argument 125 int offset = bufferLength; in getPacketTimestamp()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | ByteBufferWriter.java | 131 private static boolean needToReallocate(int requestedSize, int bufferLength) { in needToReallocate() argument 133 return bufferLength < requestedSize in needToReallocate() 134 && bufferLength < requestedSize * BUFFER_REALLOCATION_THRESHOLD; in needToReallocate()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 198 size_t bufferLength = static_cast<size_t>(bufSize); in produceFrame() local 252 if (bufferLength < totalSizeBytes) { in produceFrame() 254 __FUNCTION__, bufferLength); in produceFrame() 274 if (bufferLength < totalSizeBytes) { in produceFrame() 276 __FUNCTION__, bufferLength); in produceFrame() 312 if (bufferLength < totalSizeBytes) { in produceFrame() 314 __FUNCTION__, bufferLength); in produceFrame() 333 .jpeg_size = (uint32_t)bufferLength in produceFrame() 336 size_t totalJpegSize = bufferLength + sizeof(footer); in produceFrame() 352 memcpy(img, pixelBuffer, bufferLength); in produceFrame()
|
D | android_hardware_Camera.cpp | 237 jsize bufferLength = env->GetArrayLength(obj); in getCallbackBuffer() local 238 if ((int)bufferLength < (int)bufferSize) { in getCallbackBuffer() 240 bufferSize, bufferLength); in getCallbackBuffer()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubMessage.java | 116 int bufferLength = in.readInt(); in ContextHubMessage() local 117 mData = new byte[bufferLength]; in ContextHubMessage()
|
/frameworks/av/media/libmedia/ |
D | IDataSource.cpp | 117 const int bufferLength = data.readInt32(); in DrmInitialization() local 118 if (bufferLength != -1) { in DrmInitialization() 120 handle->decryptInfo->decryptBufferLength = bufferLength; in DrmInitialization()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 126 int bufferLength = civicTLVs.length; in parseCivicTLVs() local 130 while (bufferPtr < bufferLength) { in parseCivicTLVs() 134 if (bufferPtr + TLV_VALUE_INDEX + civicAddressTypeLength > bufferLength) { in parseCivicTLVs()
|
D | ResponderLocation.java | 473 int bufferLength = buffer.length; in parseInformationElementBuffer() local 476 if (bufferLength < MIN_BUFFER_SIZE || bufferLength > MAX_BUFFER_SIZE) { in parseInformationElementBuffer() 489 while (bufferPtr + 1 < bufferLength) { in parseInformationElementBuffer() 493 if ((bufferPtr + subelementLength) > bufferLength || subelementLength <= 0) { in parseInformationElementBuffer()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.h | 31 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
D | MtpUtils.cpp | 91 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { in formatDateTime() argument 95 snprintf(buffer, bufferLength, "%04d%02d%02dT%02d%02d%02d", in formatDateTime()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 357 final int bufferLength = (buffer != null ? buffer.length : 0); in checkBounds() local 358 if (length < 0 || start < 0 || start + length > bufferLength) { in checkBounds()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBCodedOutputStream.m | 933 NSUInteger bufferLength = state_.size; 934 NSUInteger bufferBytesLeft = bufferLength - state_.position; 947 state_.position = bufferLength; 949 bufferLength = state_.size; 954 if (length <= bufferLength) {
|