/external/v8/src/builtins/ |
builtins-typedarray.cc | 183 int64_t from = 0; local 195 from = CapRelativeIndex(num, 0, len); 206 int64_t count = std::min<int64_t>(final - from, len - to); 212 // throw would have come from ecma262/#sec-integerindexedelementget) 217 DCHECK_GE(from, 0); 218 DCHECK_LT(from, len); 227 from = from * element_size; 231 std::memmove(data + to, data + from, count);
|
/external/v8/src/compiler/ |
jump-threading.cc | 31 RpoNumber from = stack.top(); local 34 if (to == from) { 35 TRACE(" xx %d\n", from.ToInt()); 36 result[from.ToInt()] = from; 38 TRACE(" fw %d -> %d (recurse)\n", from.ToInt(), to.ToInt()); 43 TRACE(" fw %d -> %d (cycle)\n", from.ToInt(), to.ToInt()); 44 result[from.ToInt()] = to; // break the cycle. 47 TRACE(" fw %d -> %d (forward)\n", from.ToInt(), to.ToInt()); 48 result[from.ToInt()] = to_to; // forward the block [all...] |
/external/v8/src/crankshaft/ |
hydrogen-range-analysis.cc | 65 // Propagate flags for negative zero checks upwards from conversions 67 Representation from = instr->value()->representation(); local 68 DCHECK(from.Equals(instr->from())); 69 if (from.IsSmiOrInteger32()) { 89 // Pop next pending block from stack. 240 if (!instr->from().IsSmiOrInteger32() &&
|
/external/v8/tools/ |
generate-ten-powers.scm | 14 ;; from this software without specific prior written permission. 88 (define (generate-powers from to mantissa-size) 90 (offset (- from)) 91 (nb-elements (+ (- from) to 1)) 105 (unless (< (- i) from) 135 (define (print-c powers from to struct-type 166 (display-power power (+ i from)) 225 (print "static const int GRISU_CACHE_OFFSET = " (- from) ";")) 232 (define *from* #f) 249 (("--from" ?from (help "start at 10^from") [all...] |
/external/valgrind/VEX/priv/ |
s390_disasm.c | 108 opcodes/s390-opc.txt (from binutils) that have a '$' in their name. */ 113 const HChar *from; local 124 /* strcpy(buf, from); */ 125 for (from = base, to = buf; *from; ++from, ++to) { 126 *to = *from; 129 for (from = suffix[mask >> 1]; *from; ++from, ++to) 144 const HChar *from; local [all...] |
/external/valgrind/tests/ |
s390x_features.c | 70 Adapted from function VG_(get_machine_model) in coregrind/m_machine.c */ 206 model_info *host, *from, *to, *p; local 252 from = to = NULL; 257 from = to = locate_model(cpu); 260 from = models; 265 from = locate_model(cpu); 271 from = locate_model(cpu); 276 if (from == NULL || to == NULL || from > to) { 282 printf("from %s (%s) to %s (%s)\n", from->cpuinfo_name, from->real_name [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_privsep.c | 99 struct sockaddr_un from; local 100 socklen_t fromlen = sizeof(from); 102 os_memset(&from, 0, sizeof(from)); 103 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from, 115 if (from.sun_family != AF_UNIX || 116 os_strncmp(from.sun_path, l2->priv_addr.sun_path, 117 sizeof(from.sun_path)) != 0) { 118 wpa_printf(MSG_DEBUG, "L2: Received message from unexpected "
|
/external/zlib/src/ |
infback.c | 7 This code is largely copied from inflate.c. Normally either infback.o or 74 fixed code decoding. Normally this returns fixed tables from inffixed.h. 127 /* Load returned state from inflate_fast() */ 138 /* Set state from registers for inflate_fast() */ 157 then return a Z_BUF_ERROR from inflateBack(). */ 170 /* Get a byte of input into the bit accumulator, or return from inflateBack() 181 not enough available input to do that, then return from inflateBack() with 193 /* Remove n bits from the bit accumulator */ 208 if it's full. If the write fails, return from inflateBack() with a 264 unsigned char FAR *from; /* where to copy match bytes from * local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.cpp | 268 float from, to; local 269 if (!parseNTPRange(value.c_str() + 4, &from, &to)) { 273 *durationUs = (int64_t)((to - from) * 1E6);
|
/frameworks/base/core/java/android/widget/ |
SimpleCursorAdapter.java | 25 * An easy adapter to map columns from a cursor to TextViews or ImageViews 51 * This field should be made private, so it is hidden from the SDK. 57 * This field should be made private, so it is hidden from the SDK. 77 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { 80 mOriginalFrom = from; 81 findColumns(c, from); 93 * @param from A list of column names representing the data to bind to the UI. Can be null 95 * @param to The views that should display column in the "from" parameter. 97 * are given the values of the first N columns in the from 102 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, 138 final int[] from = mFrom; local [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ObservableArrayListTest.java | 59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { 60 mNotifications.add(new ListChange(MOVE, from, to, count)); 74 this.from = 0; 79 public ListChange(int change, int from, int to, int count) { 80 this.from = from; 91 public final int from; field in class:ObservableArrayListTest.ListChange
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
TaskStackBuilder.java | 48 * <p>When crossing from one task stack to another post-Android 3.0, 67 * from the developer guide and <a href="{@docRoot}design/patterns/navigation.html">Navigation</a> 68 * from the design guide. 108 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder 168 // We have the actual parent intent, build the rest from static metadata 227 * @param index Index from 0-getIntentCount() 242 * @param index Index from 0-getIntentCount()
|
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/ |
SimpleCursorAdapter.java | 40 * This field should be made private, so it is hidden from the SDK. 47 * This field should be made private, so it is hidden from the SDK. 68 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { 71 mOriginalFrom = from; 72 findColumns(c, from); 84 * @param from A list of column names representing the data to bind to the UI. Can be null 86 * @param to The views that should display column in the "from" parameter. 88 * are given the values of the first N columns in the from 93 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, 97 mOriginalFrom = from; 128 final int[] from = mFrom; local [all...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
DiffUtilActivity.java | 150 int from = mRandom.nextInt(output.size()); local 152 output.add(to, output.remove(from));
|
/libcore/ojluni/src/main/java/java/lang/ |
ProcessBuilder.java | 43 * #start()} method can be invoked repeatedly from the same instance 59 * <li>an <i>environment</i>, which is a system-dependent mapping from 68 * By default, the subprocess reads input from a pipe. Java code 120 * <li>the stream returned from {@link Process#getErrorStream()} will 446 * <li>a redirection to read from a file, created by an invocation of 447 * {@link Redirect#from Redirect.from(File)} 475 * The type of redirects returned from 476 * {@link Redirect#from Redirect.from(File)} 560 public static Redirect from(final File file) { method in class:ProcessBuilder.Redirect [all...] |
/libcore/ojluni/src/main/java/java/time/ |
Month.java | 47 * may be used to endorse or promote products derived from this software 91 * from 1 (January) to 12 (December). It is recommended that applications use the enum 175 * Obtains an instance of {@code Month} from an {@code int} value. 178 * This factory allows the enum to be obtained from the {@code int} value. 179 * The {@code int} value follows the ISO-8601 standard, from 1 (January) to 12 (December). 181 * @param month the month-of-year to represent, from 1 (January) to 12 (December) 194 * Obtains an instance of {@code Month} from a temporal object. 205 * allowing it to be used as a query via method reference, {@code Month::from}. 211 public static Month from(TemporalAccessor temporal) { method in class:Month 216 if (IsoChronology.INSTANCE.equals(Chronology.from(temporal)) == false) [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
ChronoLocalDate.java | 47 * may be used to endorse or promote products derived from this software 120 * applies assumptions from their day-to-day knowledge of the ISO calendar system 133 * {@code LocalDate} shields users from the concept of eras, by ensuring that {@code getYear()} 194 * the chronology from the user locale 195 * <li>Convert the ISO {@code LocalDate} to and from the user's preferred calendar system during 219 * <li>start from the ISO {@code LocalDate} being passed to the method 247 * This comparator differs from the comparison in {@link #compareTo} in that it 264 * Obtains an instance of {@code ChronoLocalDate} from a temporal object. 271 * from the temporal object. The behavior is equivalent to using 277 * allowing it to be used as a query via method reference, {@code ChronoLocalDate::from} 284 static ChronoLocalDate from(TemporalAccessor temporal) { method in interface:ChronoLocalDate [all...] |
ChronoLocalDateTime.java | 47 * may be used to endorse or promote products derived from this software 127 * This comparator differs from the comparison in {@link #compareTo} in that it 144 * Obtains an instance of {@code ChronoLocalDateTime} from a temporal object. 151 * from the temporal object. The behavior is equivalent to using 157 * allowing it to be used as a query via method reference, {@code ChronoLocalDateTime::from}. 164 static ChronoLocalDateTime<?> from(TemporalAccessor temporal) { method in interface:ChronoLocalDateTime 171 throw new DateTimeException("Unable to obtain ChronoLocalDateTime from TemporalAccessor: " + temporal.getClass()); 234 * This checks if the specified unit can be added to or subtracted from this date-time. 406 * This returns a {@code ChronoZonedDateTime} formed from this date-time at the 412 * This is achieved by finding a valid offset from UTC/Greenwich for the loca [all...] |
Chronology.java | 47 * may be used to endorse or promote products derived from this software 161 * Obtains an instance of {@code Chronology} from a temporal object. 171 * allowing it to be used as a query via method reference, {@code Chronology::from}. 177 static Chronology from(TemporalAccessor temporal) { method in interface:Chronology 185 * Obtains an instance of {@code Chronology} from a locale. 205 * Note that the behavior of this method differs from the older 230 * Obtains an instance of {@code Chronology} from a chronology ID or 243 * cutover dates from the Julian, but the lookup only provides the default cutover date. 296 * Obtains a local date in this chronology from the era, year-of-era, 316 * Obtains a local date in this chronology from the proleptic-year [all...] |
JapaneseEra.java | 47 * may be used to endorse or promote products derived from this software 101 // The offset value to 0-based index from the era value. 187 * Obtains an instance of {@code JapaneseEra} from an {@code int} value. 241 * Obtains an instance of {@code JapaneseEra} from a date. 246 static JapaneseEra from(LocalDate date) { method in class:JapaneseEra 279 * Returns the index into the arrays from the Era value. 294 * Later eras are numbered from 2 ({@link #HEISEI}). 330 @Override // override as super would return range from 0 to 1
|
/packages/apps/Camera2/src/com/android/camera/app/ |
OrientationManager.java | 44 public static DeviceOrientation from(int degrees) { method in class:OrientationManager.DeviceOrientation 111 * and rotation from natural orientation. 117 * and rotation from natural orientation.
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateReviewingPicture.java | 62 public static StateReviewingPicture from( method in class:StateReviewingPicture 91 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( 116 return Optional.of((State) StateIntentCompleted.from( 135 return Optional.of((State) StateSavingPicture.from( 148 return Optional.of((State) StateReadyForCapture.from( 161 return Optional.of((State) StateSavingPicture.from(
|
StateStartingPreview.java | 55 public static StateStartingPreview from( method in class:StateStartingPreview 102 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( 132 return Optional.of((State) StateReadyForCapture.from( 147 return Optional.of((State) StateFatal.from( 162 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); 176 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); 179 return Optional.of((State) StateFatal.from(this, mResourceConstructed));
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
CaptureSessionStatsCollector.java | 21 * attached to the CaptureSession so that we can collect information from both 81 mFaceProxies.add(Camera2FaceProxy.from(face));
|
/packages/apps/Dialer/java/com/android/newbubble/ |
NewBubbleInfo.java | 51 public static Builder from(@NonNull NewBubbleInfo bubbleInfo) { method in class:NewBubbleInfo 100 public static Builder from(@NonNull Action action) { method in class:NewBubbleInfo.Action
|