Searched defs:amt (Results 1 - 23 of 23) 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.cpp93 ssize_t amt = ::read(fd, buf + mCurrentWritten, BUFFER_SIZE - mCurrentWritten); local
94 if (amt < 0) {
100 } else if (amt == 0) {
103 mCurrentWritten += amt;
H A DReporter.cpp44 ssize_t amt = ::write(fd, buf, size); local
45 if (amt < 0) {
48 size -= amt;
49 buf += amt;
H A DSection.cpp42 ssize_t amt; local
/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.cpp136 ssize_t amt = read(fds[0], buf, size); local
137 if (amt <= 0) {
139 } else if (amt > 0) {
140 result.append(buf, amt);
/frameworks/support/compat/java/android/support/v4/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/incident/
H A Dmain.cpp218 int amt = splice(fds[0], NULL, STDOUT_FILENO, NULL, 4096, 0); local
219 fprintf(stderr, "spliced %d bytes\n", amt);
220 if (amt < 0) {
222 } else if (amt == 0) {
/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/core/java/android/util/
H A DTimeUtils.java193 static private int accumField(int amt, int suffix, boolean always, int zeropad) { argument
194 if (amt > 999) {
196 while (amt != 0) {
198 amt /= 10;
202 if (amt > 99 || (always && zeropad >= 3)) {
205 if (amt > 9 || (always && zeropad >= 2)) {
208 if (always || amt > 0) {
215 static private int printFieldLocked(char[] formatStr, int amt, char suffix, int pos, argument
217 if (always || amt > 0) {
219 if (amt > 99
[all...]
/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/tools/incident_report/
H A Dmain.cpp286 ssize_t amt = ::write(fd, buf, size); local
287 if (amt < 0) {
290 size -= amt;
291 buf += amt;
366 ssize_t amt = read(pfd[0], buffer + size, maxAllowedSize - size); local
367 if (amt == 0) {
369 } else if (amt == -1) {
373 size += amt;
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp204 int amt = size > (off_t)sizeof(copyBuffer) ? sizeof(copyBuffer) : (int)size; local
205 int readLen = fread(copyBuffer, 1, amt, src);
209 amt, origSize, srcName, errno != 0 ? strerror(errno) : "unexpected EOF");
212 amt, origSize, errno != 0 ? strerror(errno) : "unexpected EOF");
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java626 * @param amt Adjustment value -- lmkd allows -16 to +15.
630 public static final void setOomAdj(int pid, int uid, int amt) { argument
631 if (amt == UNKNOWN_ADJ)
639 buf.putInt(amt);
644 + " = " + amt);
/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.cpp816 int amt = data.readInt32(); local
817 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/support/fragment/java/android/support/v4/app/
H A DBackStackRecord.java591 void bumpBackStackNesting(int amt) { argument
596 + " by " + amt);
601 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 941 milliseconds