/prebuilts/go/darwin-x86/src/encoding/asn1/ |
common.go | 74 defaultValue *int64 // a default value for INTEGER typed fields (maybe nil). 111 ret.defaultValue = new(int64) 112 *ret.defaultValue = i
|
marshal.go | 518 if params.optional && params.defaultValue != nil && canHaveDefaultValue(v.Kind()) { 519 defaultValue := reflect.New(v.Type()).Elem() 520 defaultValue.SetInt(*params.defaultValue) 522 if reflect.DeepEqual(v.Interface(), defaultValue.Interface()) { 530 if params.optional && params.defaultValue == nil {
|
/prebuilts/go/linux-x86/src/encoding/asn1/ |
common.go | 74 defaultValue *int64 // a default value for INTEGER typed fields (maybe nil). 111 ret.defaultValue = new(int64) 112 *ret.defaultValue = i
|
marshal.go | 518 if params.optional && params.defaultValue != nil && canHaveDefaultValue(v.Kind()) { 519 defaultValue := reflect.New(v.Type()).Elem() 520 defaultValue.SetInt(*params.defaultValue) 522 if reflect.DeepEqual(v.Interface(), defaultValue.Interface()) { 530 if params.optional && params.defaultValue == nil {
|
/external/guava/guava/src/com/google/common/collect/ |
Iterables.java | 294 * defaultValue} if the iterable is empty. 301 Iterable<? extends T> iterable, @Nullable T defaultValue) { 302 return Iterators.getOnlyElement(iterable.iterator(), defaultValue); 651 * predicate, or {@code defaultValue} if none found. Note that this can 653 * tryFind(iterable, predicate).or(defaultValue)}. 659 Predicate<? super T> predicate, @Nullable T defaultValue) { 660 return Iterators.find(iterable.iterator(), predicate, defaultValue); 738 * @param defaultValue the default value to return if {@code position} is 741 * {@code defaultValue} if {@code iterable} contains fewer than 747 public static <T> T get(Iterable<? extends T> iterable, int position, @Nullable T defaultValue) { [all...] |
Iterators.java | 322 * defaultValue} if the iterator is empty. 328 public static <T> T getOnlyElement(Iterator<? extends T> iterator, @Nullable T defaultValue) { 329 return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue; 722 * predicate. If no such element is found, {@code defaultValue} will be 726 * tryFind(iterator, predicate).or(defaultValue)}. 732 @Nullable T defaultValue) { 733 return getNext(filter(iterator, predicate), defaultValue); 834 * element at the {@code position}th position or {@code defaultValue} 838 * @param defaultValue the default value to return if the iterator is empty 842 * {@code defaultValue} if {@code iterator} produces fewer tha [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
StaticMetadata.java | [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
StaticMetadata.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterators.java | 320 * defaultValue} if the iterator is empty. 326 public static <T> T getOnlyElement(Iterator<? extends T> iterator, @Nullable T defaultValue) { 327 return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue; 687 * predicate. If no such element is found, {@code defaultValue} will be 691 * tryFind(iterator, predicate).or(defaultValue)}. 697 @Nullable T defaultValue) { 698 return getNext(filter(iterator, predicate), defaultValue); 799 * element at the {@code position}th position or {@code defaultValue} 803 * @param defaultValue the default value to return if the iterator is empty 807 * {@code defaultValue} if {@code iterator} produces fewer tha [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
ParameterManagerWrapper.cpp | 204 void ParameterManagerWrapper::parseChildren(cnode *root, string &defaultValue, string &type) 212 defaultValue = node->value; 285 string defaultValue = ""; 287 parseChildren(root, defaultValue, typeName); 289 addCriterion(criterionName, typeName, defaultValue);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
Utility.java | 560 * least 1 row. Otherwise returns {@code defaultValue}. 564 int column, T defaultValue, CursorGetter<T> getter) { 578 return defaultValue; 595 Long defaultValue) { 597 sortOrder, column, defaultValue, LONG_GETTER); 614 Integer defaultValue) { 616 sortOrder, column, defaultValue, INT_GETTER); 633 String defaultValue) { 635 sortOrder, column, defaultValue, STRING_GETTER); 643 byte[] defaultValue) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CompactCharArray.java | 60 * @param defaultValue the default value of the compact array. 65 public CompactCharArray(char defaultValue) 72 values[i] = defaultValue; 80 this.defaultValue = defaultValue; 139 return ix >= values.length ? defaultValue : values[ix]; 428 char defaultValue;
|
CompactByteArray.java | 59 * @param defaultValue the default value of the compact array. 64 public CompactByteArray(byte defaultValue) 71 values[i] = defaultValue; 79 this.defaultValue = defaultValue; 401 byte defaultValue;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CompactCharArray.java | 58 * @param defaultValue the default value of the compact array. 63 public CompactCharArray(char defaultValue) 70 values[i] = defaultValue; 78 this.defaultValue = defaultValue; 137 return ix >= values.length ? defaultValue : values[ix]; 426 char defaultValue;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
EntrySchema.java | 310 if (!TextUtils.isEmpty(column.defaultValue)) { 312 sql.append(column.defaultValue); 508 info.fullText(), info.defaultValue(), field, index)); 520 public final String defaultValue; 525 boolean fullText, String defaultValue, Field field, int projectionIndex) { 531 this.defaultValue = defaultValue;
|
/external/icu/icu4c/source/tools/makeconv/ |
gencnvex.c | 403 * then defaultValue=compute the mapping result for this whole sequence 404 * else defaultValue=0 411 uint32_t defaultValue) { 466 *section++=((uint32_t)count<<UCNV_EXT_TO_U_BYTE_SHIFT)|defaultValue; 508 defaultValue=0; 522 defaultValue=getToUnicodeValue(extData, table, m); 527 section[j]|=defaultValue; 533 if(!generateToUTable(extData, table, subStart, subLimit, unitIndex+1, defaultValue)) { 710 uint32_t defaultValue) { 752 *sectionValues++=defaultValue; [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
AgentOptions.java | 544 private String getOption(final String key, final String defaultValue) { 546 return value == null ? defaultValue : value; 549 private boolean getOption(final String key, final boolean defaultValue) { 551 return value == null ? defaultValue : Boolean.parseBoolean(value); 554 private int getOption(final String key, final int defaultValue) { 556 return value == null ? defaultValue : Integer.parseInt(value);
|
/external/libxml2/os400/libxmlrpg/ |
globals.rpgle | 490 d DefaultValue') 495 d DefaultValue') 500 d DefaultValue') 505 d DefaultValue') 510 d DefaultValue') 515 d DefaultValue')
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
Settings.java | 334 final String prefKey, final float defaultValue) { 336 return (fraction != UNDEFINED_PREFERENCE_VALUE_FLOAT) ? fraction : defaultValue; 340 final String prefKey, final int defaultValue) { 342 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds : defaultValue; 346 final float defaultValue) { 349 return (percentage != UNDEFINED_PREFERENCE_VALUE_FLOAT) ? percentage : defaultValue;
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
transform-handler.js | 156 var defaultValue = type.substr(0, 5) == 'scale' ? 1 : 0; 159 return defaultValue; 162 result[unit] = defaultValue;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ComponentProcessor.java | 273 T defaultValue, Set<T> validValues) { 278 defaultValue.getDeclaringClass(), 290 return defaultValue;
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
InterpreterManager.java | 152 private int getPrefInt(String key, int defaultValue) { 153 int result = defaultValue; 159 result = defaultValue;
|
/frameworks/base/core/java/android/preference/ |
RingtonePreference.java | 210 String defaultValue = (String) defaultValueObj; 224 if (!TextUtils.isEmpty(defaultValue)) { 225 onSaveRingtone(Uri.parse(defaultValue));
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
settings.jd | 210 android:defaultValue="true" /> 218 android:defaultValue="@string/pref_syncConnectionTypes_default" /> 237 <dt>{@code android:defaultValue}</dt> 295 android:defaultValue="false"... /> 492 <p>???{@code android:defaultValue} ????????XML ?????? {@link android.preference.Preference} ??????????????????????? 501 android:defaultValue="true" 506 android:defaultValue="@string/pref_syncConnectionTypes_default" [all...] |
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
settings.jd | 210 android:defaultValue="true" /> 218 android:defaultValue="@string/pref_syncConnectionTypes_default" /> 237 <dt>{@code android:defaultValue}</dt> 295 android:defaultValue="false"... /> 494 ??? ?? ?? ?? ???? ????. ?? {@code android:defaultValue} ??? ?????. ? ?? ???? 501 android:defaultValue="true" 506 android:defaultValue="@string/pref_syncConnectionTypes_default" [all...] |