/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
ParameterizedRobolectricTestRunnerNormalTest.java | 19 private final int first; field in class:ParameterizedRobolectricTestRunnerNormalTest 26 public ParameterizedRobolectricTestRunnerNormalTest(int first, 32 this.first = first; 43 assertThat(first + second).isEqualTo(expectedSum); 49 assertThat(first - second).isEqualTo(expectedDifference); 55 assertThat(first * second).isEqualTo(expectedProduct); 61 assertThat(first / second).isEqualTo(expectedQuotient);
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
Pair.java | 22 * @param <F> First type. 26 public final F first; field in class:Pair 29 public Pair(F first, S second) { 30 this.first = first; 40 return equal(p.first, first) && equal(p.second, second); 45 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue100/ |
MergeMapsTest.java | 35 Map<?, ?> first = result.iterator().next(); local 38 assertEquals("Size must coinside.", first.size(), data.size()); 39 assertEquals(first, data);
|
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/ |
GenericValue.h | 31 struct { unsigned int first; unsigned int second; } UIntPairVal; member in struct:llvm::GenericValue::__anon35767::__anon35768
|
/external/syslinux/core/fs/pxe/ |
ftp_readdir.c | 57 bool first = true; local 87 if (first) { 104 first = false; 106 /* Not the first word */
|
/external/syslinux/gpxe/src/hci/mucurses/widgets/ |
editbox.c | 68 signed int cursor_offset, underflow, overflow, first; local 72 cursor_offset = ( box->string.cursor - box->first ); 75 first = box->first; 77 first -= underflow; 78 if ( first < 0 ) 79 first = 0; 81 first += overflow; 83 box->first = first; [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
editbox.h | 27 /** First displayed character */ 28 unsigned int first; member in struct:edit_box
|
/external/tensorflow/tensorflow/cc/framework/ |
ops.cc | 29 if (inputs_[i].first == nullptr && inputs_[i].second == -1) { 37 return Output(inputs_[i].first, inputs_[i].second); 71 auto const& first = *v.begin(); local 75 if (e.tensor.dtype() != first.tensor.dtype()) { 81 TensorShape{first.tensor.shape()})) { 90 shape.AppendShape(TensorShape{first.tensor.shape()}); 92 Tensor t(first.tensor.dtype(), shape); 98 if (first.tensor.dtype() == DT_STRING) {
|
/external/tensorflow/tensorflow/compiler/xla/ |
index_util.cc | 80 bool first = true; local 82 if (first) { 83 // Avoid two multiplies on the first loop iteration 86 first = false;
|
/external/tensorflow/tensorflow/core/lib/strings/ |
str_util.h | 38 // Errors: Sets the description of the first encountered error in 87 // first character and if there is already an '_' before it) with '_' 95 // Capitalize first character of each word in "*s". "delimiters" is a 99 // Replaces the first occurrence (if replace_all is false) or all occurrences 149 bool first = true; local 151 tensorflow::strings::StrAppend(&result, (first ? "" : sep), x); 152 first = false; 170 bool first = true; local 172 if (!first) { 176 first = false [all...] |
/external/testng/src/main/java/org/testng/internal/collections/ |
Pair.java | 10 private final A first; field in class:Pair 13 public Pair(A first, B second) { 14 this.first = first; 18 public A first() { method in class:Pair 19 return first; 30 result = prime * result + ((first == null) ? 0 : first.hashCode()); 47 if (first == null) { 48 if (other.first != null) [all...] |
/external/toybox/toys/lsb/ |
seq.c | 1 /* seq.c - Count from first to last, by increment. 14 usage: seq [-w|-f fmt_str] [-s sep_str] [first] [increment] last 16 Count from first to last, by increment. Omitted arguments default 17 to 1. Two arguments are used as first and last. Arguments can be 60 double first = 1, increment = 1, last, dd; local 66 case 2: first = parsef(*toys.optargs); 79 dd = (double []){first, increment, last}[i]; 85 // Other implementations output nothing if increment is 0 and first > last, 86 // but loop forever if first < last or even first == last. We outpu [all...] |
/external/toybox/toys/posix/ |
wc.c | 36 int i, space = 7, first = 1; local 41 printf(" %*ld"+first, space, lengths[i]); 42 first = 0;
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
LookupKey.java | 35 /** The first simple name in the qualified type name. */ 36 public String first() { method in class:LookupKey 45 * A {@link LookupKey} with the first simple name removed.
|
/external/webp/src/enc/ |
cost_enc.h | 29 int first; member in struct:VP8Residual 39 void VP8InitResidual(int first, int coeff_type,
|
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannableStringBuilderTest.java | 47 Object first = new SubscriptSpan(); local 52 builder.setSpan(first, 2, 4, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 61 // priority spans are first 66 assertEquals(first, spans[3]);
|
/frameworks/base/libs/hwui/utils/ |
Pair.h | 27 F first; member in struct:android::uirenderer::Pair 31 Pair(const Pair& o) : first(o.first), second(o.second) {} 32 Pair(const F& f, const S& s) : first(f), second(s) {} 34 inline const F& getFirst() const { return first; }
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
RoundRobinScheduler.java | 46 Filter first = null; local 51 if (first == null) { 52 // store the first available filter 53 first = filter; 65 if (first != null ) { 67 return first;
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
ilist_sort.h | 35 iterator first = xs.begin(); local 38 if (is_less_than(*second, *first)) { 39 xs.splice(first, xs, second);
|
/frameworks/native/cmds/lshal/ |
utils.h | 60 bool first = true; local 62 if (!first) { 67 first = false;
|
/frameworks/support/compat/src/main/java/androidx/core/util/ |
Pair.java | 28 public final @Nullable F first; field in class:Pair 34 * @param first the first object in the Pair 37 public Pair(@Nullable F first, @Nullable S second) { 38 this.first = first; 56 return ObjectsCompat.equals(p.first, first) && ObjectsCompat.equals(p.second, second); 66 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()) [all...] |
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
FragmentArchLifecycleTest.java | 51 final Fragment first = new Fragment(); local 53 fm.beginTransaction().add(first, "first").commitNow(); 54 first.getLifecycle().addObserver(new LifecycleObserver() { 58 first.getLifecycle().removeObserver(this); 62 assertEquals(Lifecycle.State.CREATED, first.getLifecycle().getCurrentState());
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
HidItem.cpp | 87 unsigned char first; local 88 is >> first; local 91 size_t len = lenTable[first & 0x3]; // low 2 bits are length descriptor 92 h.tag = (first >> 4); 93 h.type = (first & 0xC) >> 2;
|
/libcore/ojluni/src/main/java/java/text/ |
CharacterIterator.java | 54 * by calling setIndex(), first(), and last(). 67 * for(char c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) { 118 * @return the first character in the text, or DONE if the text is empty 121 public char first(); method in interface:CharacterIterator 175 * Returns the end index of the text. This index is the index of the first
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
ConversationIdSet.java | 38 public String first() { method in class:ConversationIdSet
|