Searched defs:amt (Results 1 - 24 of 24) sorted by relevance

/frameworks/av/media/img_utils/src/
H A DInput.cpp34 size_t amt = (SKIP_BUF_SIZE > remaining) ? remaining : SKIP_BUF_SIZE; local
35 ssize_t ret = read(skipBuf, 0, amt);
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp74 ssize_t amt = ::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite()); local
75 if (amt < 0) {
82 } else if (amt == 0) {
86 mBuffer.wp()->move(amt);
106 ssize_t amt =
108 if (amt < 0) {
111 } else if (amt == 0) {
116 mBuffer.wp()->move(amt);
183 ssize_t amt; local
185 amt
205 ssize_t amt; local
238 ssize_t amt = ::read(fromFd.get(), mBuffer.writeBuffer(), mBuffer.currentToWrite()); local
[all...]
/frameworks/base/tools/bit/
H A Dadb.cpp91 ssize_t amt = read(fd, &byte, 1); local
92 if (amt == 0) {
95 } else if (amt < 0) {
134 ssize_t amt = read(fd, buf+pos, size-pos); local
135 if (amt == 0) {
141 } else if (amt < 0) {
147 pos += amt;
185 ssize_t amt = size < scratchSize ? size : scratchSize; local
186 fprintf(stderr, "skipping %lu/%ld bytes\n", size, amt);
187 amt
[all...]
H A Dcommand.cpp138 ssize_t amt = read(fds[0], buf, size); local
139 if (amt <= 0) {
141 } else if (amt > 0) {
142 result.append(buf, amt);
/frameworks/support/compat/src/main/java/androidx/core/util/
H A DTimeUtils.java43 static private int accumField(int amt, int suffix, boolean always, int zeropad) { argument
44 if (amt > 99 || (always && zeropad >= 3)) {
47 if (amt > 9 || (always && zeropad >= 2)) {
50 if (always || amt > 0) {
56 static private int printField(char[] formatStr, int amt, char suffix, int pos, argument
58 if (always || amt > 0) {
60 if ((always && zeropad >= 3) || amt > 99) {
61 int dig = amt/100;
64 amt -= (dig*100);
66 if ((always && zeropad >= 2) || amt >
[all...]
/frameworks/base/cmds/incidentd/tests/
H A DFdBuffer_test.cpp66 ssize_t amt = write(wFd.get(), buf + nWritten, nRead - nWritten); local
67 if (amt < 0) {
70 nWritten += amt;
/frameworks/base/core/java/android/util/
H A DTimeUtils.java101 static private int accumField(int amt, int suffix, boolean always, int zeropad) { argument
102 if (amt > 999) {
104 while (amt != 0) {
106 amt /= 10;
110 if (amt > 99 || (always && zeropad >= 3)) {
113 if (amt > 9 || (always && zeropad >= 2)) {
116 if (always || amt > 0) {
123 static private int printFieldLocked(char[] formatStr, int amt, char suffix, int pos, argument
125 if (always || amt > 0) {
127 if (amt > 99
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp48 ssize_t amt; local
54 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize));
55 if (amt != sizeof(flattenedHeader.headerSize)) {
70 amt = read(fd, &flattenedHeader.version,
72 if (amt <= 0) {
109 amt = read(fd, buf, flattenedHeader.nameLength);
/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp264 int amt = local_clock_->getDebugLog(events, kMaxEvents); local
266 if (amt > 0) {
267 for (int i = 0; i < amt; i++) {
/frameworks/base/cmds/incident/
H A Dmain.cpp275 int amt = splice(fds[0], NULL, STDOUT_FILENO, NULL, 4096, 0); local
276 fprintf(stderr, "spliced %d bytes\n", amt);
277 if (amt < 0) {
279 } else if (amt == 0) {
/frameworks/base/libs/androidfw/
H A DBackupData.cpp69 ssize_t amt; local
76 amt = write(m_fd, &padding, paddingSize);
77 if (amt != paddingSize) {
81 m_pos += amt;
93 ssize_t amt; local
95 amt = write_padding_for(m_pos);
96 if (amt != 0) {
97 return amt;
123 amt = write(m_fd, &header, sizeof(entity_header_v1));
124 if (amt !
160 ssize_t amt = write(m_fd, data, size); local
230 int amt; local
273 int amt = read(m_fd, buf, size+1); local
351 int amt = read(m_fd, data, size); local
367 ssize_t amt; local
[all...]
H A DBackupHelpers.cpp89 int amt; local
92 amt = read(fd, &header, sizeof(header));
93 if (amt != sizeof(header)) {
96 bytesRead += amt;
107 amt = read(fd, &file, sizeof(FileState));
108 if (amt != sizeof(FileState)) {
112 bytesRead += amt;
119 amt = read(fd, filename, nameBufSize);
120 if (amt == nameBufSize) {
123 bytesRead += amt;
160 int amt; local
218 int amt; local
314 int amt; local
749 ssize_t amt; local
834 int amt; local
860 int amt; local
[all...]
/frameworks/base/libs/protoutil/src/
H A DEncodedBuffer.cpp59 EncodedBuffer::Pointer::move(size_t amt) argument
61 size_t newOffset = mOffset + amt;
H A DProtoOutputStream.cpp473 ssize_t amt = ::write(fd, buf, size); local
474 if (amt < 0) {
477 size -= amt;
478 buf += amt;
/frameworks/base/tools/incident_report/
H A Dmain.cpp299 ssize_t amt = ::write(fd, buf, size); local
300 if (amt < 0) {
303 size -= amt;
304 buf += amt;
379 ssize_t amt = read(pfd[0], buffer.get() + size, maxAllowedSize - size); local
380 if (amt == 0) {
382 } else if (amt == -1) {
386 size += amt;
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp203 int amt = size > (off_t)sizeof(copyBuffer) ? sizeof(copyBuffer) : (int)size; local
204 int readLen = fread(copyBuffer, 1, amt, src);
208 amt, origSize, srcName, errno != 0 ? strerror(errno) : "unexpected EOF");
211 amt, origSize, errno != 0 ? strerror(errno) : "unexpected EOF");
/frameworks/base/tools/aapt/
H A DZipFile.cpp1168 ssize_t amt = fread(buf, 1, unlen, mZipFp); local
1169 if (amt != (ssize_t)unlen) {
H A DResourceTable.cpp3041 ssize_t amt = data->writeData(strFile->getData(), strFile->getSize()); local
3043 fprintf(stderr, "**** type strings: %zd\n", SSIZE(amt));
3045 strAmt += amt;
3046 if (amt < 0) {
3047 return amt;
3051 amt = data->writeData(strFile->getData(), strFile->getSize());
3053 fprintf(stderr, "**** key strings: %zd\n", SSIZE(amt));
3055 strAmt += amt;
3056 if (amt < 0) {
3057 return amt;
3248 ssize_t amt = e->flatten(bundle, data, cl->getPublic()); local
3322 ssize_t amt = (dest->getSize()-strStart); local
3755 size_t amt = 0; local
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp890 int amt = data.readInt32(); local
891 if (amt == sizeof(endpoint)) {
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java602 void bumpBackStackNesting(int amt) { argument
608 + " by " + amt);
614 op.fragment.mBackStackNesting += amt;
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java755 * @param amt Adjustment value -- lmkd allows -16 to +15.
759 public static final void setOomAdj(int pid, int uid, int amt) { argument
764 if (amt == UNKNOWN_ADJ)
772 buf.putInt(amt);
777 + " = " + amt);
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DBackStackRecord.java596 void bumpBackStackNesting(int amt) { argument
601 + " by " + amt);
606 op.fragment.mBackStackNesting += amt;
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 443 milliseconds