Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 215) sorted by relevance

123456789

/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DBufferDebug.java51 int len = max; in debugString() local
63 private static String toHex(byte[] buf, int len, int max) { in toHex()
87 private static void writeRow(StringBuilder str, byte[] buf, int start, int len, int max) { in writeRow()
132 private static boolean isPrintable(byte[] buf, int len) { in isPrintable()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DPacketReflector.java67 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes()
94 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket()
108 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket()
124 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket()
186 private void writePacket(byte[] buf, int len) { in writePacket()
195 int len; in readPacket() local
207 int len = readPacket(mBuf); in processPacket() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/util/
DByteArrayBuffer.java41 private int len; field in ByteArrayBuffer
57 public void append(final byte[] b, int off, int len) { in append()
88 public void append(final char[] b, int off, int len) { in append()
141 public void setLength(int len) { in setLength()
/packages/modules/DnsResolver/
Dhostent.h50 #define HENT_ARRAY(dst, anum, ptr, len) do { \ argument
58 #define HENT_COPY(dst, src, slen, ptr, len) do { \ argument
66 #define HENT_SCOPY(dst, src, ptr, len) do { \ argument
Dsethostent.cpp71 size_t len, num, i; in _hf_gethtbyname2() local
179 int _hf_gethtbyaddr(const unsigned char* uaddr, int len, int af, getnamaddr* info) { in _hf_gethtbyaddr()
/packages/modules/adb/
Dtypes.cpp41 void IOVector::drop_front(IOVector::size_type len) { in drop_front()
65 IOVector IOVector::take_front(IOVector::size_type len) { in take_front()
196 iterate_blocks([&result](const char* data, size_t len) { in iovecs()
Dadb_io.cpp58 unsigned long len = strtoul(buf, nullptr, 16); in ReadProtocolString() local
76 bool ReadFdExactly(borrowed_fd fd, void* buf, size_t len) { in ReadFdExactly()
103 bool WriteFdExactly(borrowed_fd fd, const void* buf, size_t len) { in WriteFdExactly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreferenceTest.java69 int len = mDefaultEntries.length; in initialize_defaultEntries_shouldDisplayDefaultEntries() local
88 int len = mCustomEntries.length; in setEntries_customEntries_shouldUpdateEntries() local
113 int len = mCustomEntries.length; in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries() local
/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp197 size_t PairingAuthCtx::SafeEncryptedSize(size_t len) { in SafeEncryptedSize()
202 size_t PairingAuthCtx::SafeDecryptedSize(size_t len) { in SafeDecryptedSize()
207 PairingAuthCtx* pairing_auth_server_new(const uint8_t* pswd, size_t len) { in pairing_auth_server_new()
216 PairingAuthCtx* pairing_auth_client_new(const uint8_t* pswd, size_t len) { in pairing_auth_client_new()
246 size_t pairing_auth_safe_encrypted_size(PairingAuthCtx* ctx, size_t len) { in pairing_auth_safe_encrypted_size()
270 size_t pairing_auth_safe_decrypted_size(PairingAuthCtx* ctx, const uint8_t* buf, size_t len) { in pairing_auth_safe_decrypted_size()
/packages/apps/Gallery2/jni/filters/
Dkmeans.h26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum()
88 void initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], in initialPickHeuristicRandom()
141 int calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], in calculateNewCentroids()
179 void runKMeansWithPicks(int k, T finalCentroids[], T values[], int len, int dimension, int stride, in runKMeansWithPicks()
209 void runKMeans(int k, T finalCentroids[], T values[], int len, int dimension, int stride, in runKMeans()
223 void applyCentroids(int k, T centroids[], T values[], int len, int dimension, int stride) { in applyCentroids()
Dexposure.c25 int len = width * height * 4; in JNIFUNCF() local
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapInterface.java127 int len = transfer(conn, READ, ACCESSORY_GET_PROTOCOL, 0, buffer, buffer.length); in getProtocol() local
148 int len = transfer(conn, WRITE, ACCESSORY_SEND_STRING, index, buffer, in sendString() local
163 int len = transfer(conn, WRITE, ACCESSORY_START, 0, null, 0); in sendAoapStart() local
/packages/modules/DnsResolver/tests/
Ddoh_ffi_test.cpp30 ssize_t len = doh_query(doh, query, sizeof query, answer, sizeof answer); in TEST() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java111 int len = text[i].length(); in concatWithNonParagraphSuggestionSpansOnly() local
114 copyNonParagraphSuggestionSpansFrom((Spanned) text[i], 0, len, ss, off); in concatWithNonParagraphSuggestionSpansOnly() local
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp243 NFCSTATUS EXTNS_MfcSetReadOnly(uint8_t* key, uint8_t len) { in EXTNS_MfcSetReadOnly()
276 NFCSTATUS EXTNS_MfcWriteNDef(uint8_t* p_data, uint32_t len) { in EXTNS_MfcWriteNDef()
307 NFCSTATUS EXTNS_MfcFormatTag(uint8_t* key, uint8_t len) { in EXTNS_MfcFormatTag()
389 NFCSTATUS EXTNS_MfcTransceive(uint8_t* p_data, uint32_t len) { in EXTNS_MfcTransceive()
/packages/modules/adb/tls/
Dadb_ca_list.cpp43 int len, int loc, int set) { in X509_NAME_add_entry_by_NID_const()
56 int len = X509_NAME_get_text_by_NID(name, nid, nullptr, -1); in GetX509NameTextByNid() local
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaHiddenMenuKeySequence.java126 int len = input.length(); in handleKeyPattern() local
144 int len = input.length(); in handleKeySequence() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read()
/packages/modules/IPsec/src/java/com/android/internal/net/utils/
DBigIntegerUtils.java53 int len = byteArrayWithSignBit.length; in bigIntegerToUnsignedByteArray() local
/packages/apps/Camera2/src/com/android/camera/exif/
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsDictionaryUtils.java31 public static int getWordEndPosition(final String string, final int len, in getWordEndPosition()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveEntryInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read()
75 int read(byte[] b, int off, int len) throws IOException; in read()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/util/
DTetheringUtilsTest.java121 int len = pkt.capacity() - offset; in writePacket() local
143 int len = writePacket(out, dropped); in checkIcmpSocketFilter() local
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java52 public int read(byte[] b, int off, int len) throws IOException { in read()
85 private void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow()

123456789