Home
last modified time | relevance | path

Searched refs:toCopy (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp408 std::size_t toCopy = 1; in comment() local
411 toCopy = length - start; in comment()
414 toCopy = p - start; in comment()
419 if (indentLength + lengthOfCommentOnLine + toCopy >= maxPerLine) { in comment()
428 *this << s.substr(start, toCopy); in comment()
432 lengthOfCommentOnLine += toCopy; in comment()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java1063 private LengthRecordNode toCopy = null; field in PduComposer.BufferStack
1074 if (toCopy != null) { in newbuf()
1102 toCopy = stack; in pop()
1108 toCopy.currentMessage = currentMessage; in pop()
1109 toCopy.currentPosition = currentPosition; in pop()
1116 arraycopy(toCopy.currentMessage.toByteArray(), 0, in copy()
1117 toCopy.currentPosition); in copy()
1119 toCopy = null; in copy()
/frameworks/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java144 int toCopy = Math.min(size, lineBreaks.breaks.length); in resize() local
145 System.arraycopy(lineBreaks.breaks, 0, breaks, 0, toCopy); in resize()
146 System.arraycopy(lineBreaks.widths, 0, widths, 0, toCopy); in resize()
147 System.arraycopy(lineBreaks.flags, 0, flags, 0, toCopy); in resize()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java395 long toCopy = info.size; in restoreOneFile() local
463 Slog.v(TAG, " copying to restore agent: " + toCopy + " bytes"); in restoreOneFile()
468 while (toCopy > 0) { in restoreOneFile()
469 int toRead = (toCopy > buffer.length) in restoreOneFile()
470 ? buffer.length : (int) toCopy; in restoreOneFile()
478 toCopy -= nRead; in restoreOneFile()
DPerformAdbRestoreTask.java653 long toCopy = info.size; in restoreOneFile() local
719 while (toCopy > 0) { in restoreOneFile()
720 int toRead = (toCopy > buffer.length) in restoreOneFile()
721 ? buffer.length : (int) toCopy; in restoreOneFile()
729 toCopy -= nRead; in restoreOneFile()
DPerformUnifiedRestoreTask.java901 int toCopy = result; in run() local
902 while (toCopy > 0) { in run()
903 int n = transportIn.read(buffer, 0, toCopy); in run()
905 toCopy -= n; in run()
907 Slog.v(TAG, " -> wrote " + n + " to engine, left=" + toCopy); in run()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java289 AuthorityInfo(AuthorityInfo toCopy) { in AuthorityInfo() argument
290 target = toCopy.target; in AuthorityInfo()
291 ident = toCopy.ident; in AuthorityInfo()
292 enabled = toCopy.enabled; in AuthorityInfo()
293 syncable = toCopy.syncable; in AuthorityInfo()
294 backoffTime = toCopy.backoffTime; in AuthorityInfo()
295 backoffDelay = toCopy.backoffDelay; in AuthorityInfo()
296 delayUntil = toCopy.delayUntil; in AuthorityInfo()
298 for (PeriodicSync sync : toCopy.periodicSyncs) { in AuthorityInfo()