/third_party/typescript/tests/baselines/reference/ |
H A D | inferenceLimit.js | 11 public brokenMethod(field: string, value: string) { 45 Object.defineProperty(exports, "__esModule", { value: true });
49 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
51 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
52 function rejected(value) { try { step(generator["throw"](value)); } catc [all...] |
H A D | asyncFunctionsAndStrictNullChecks.js | 4 then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>; 5 then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>; 6 then<U>(success?: (value: TResult) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>; 7 then<U>(success?: (value: TResult) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>; 8 done<U>(success?: (value: TResult) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; 19 declare function resolve1<T>(value: T): Promise<T>; 20 declare function resolve2<T>(value: T): Windows.Foundation.IPromise<T>; 30 function adopt(value) { return value instanceof P ? value [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | atomic_hook_test.cc | 26 int value = 0; member 27 void TestHook(int x) { value = x; } in TestHook() 33 value = 0; in TEST() 37 EXPECT_EQ(value, 0); in TEST() 39 EXPECT_EQ(value, 0); in TEST() 44 EXPECT_EQ(value, 0); in TEST() 46 EXPECT_EQ(value, 1); in TEST() 51 EXPECT_EQ(value, 1); in TEST() 53 EXPECT_EQ(value, 2); in TEST() 57 // Set the default value t in TEST() [all...] |
/third_party/python/Lib/ |
H A D | configparser.py | 4 and followed by "name: value" entries, with continuations and such in 47 a multiline option are kept as part of the value. 50 values are accepted; the value presented for these is None. 55 value can be retrieved using the ``parser_instance.default_section`` 59 instance. It will be used as the handler for option value 66 represents the name of a type converter and each value is a callable 104 Return a string value for the named option. All % interpolations are 109 `vars`, the value from `vars` is used. 112 Like get(), but convert value to an integer. 115 Like get(), but convert value t [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/ |
H A D | badge_layout_property.h | 38 auto value = MakeRefPtr<BadgeLayoutProperty>(); variable 39 value->LayoutProperty::UpdateLayoutProperty(AceType::DynamicCast<LayoutProperty>(this)); 40 value->propBadgeValue_ = CloneBadgeValue(); 41 value->propBadgeCount_ = CloneBadgeCount(); 42 value->propBadgeMaxCount_ = CloneBadgeMaxCount(); 43 value->propBadgePosition_ = CloneBadgePosition(); 44 value->propBadgePositionX_ = CloneBadgePositionX(); 45 value->propBadgePositionY_ = CloneBadgePositionY(); 46 value->propIsPositionXy_ = CloneIsPositionXy(); 48 value [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/ |
H A D | common_napi_utils.h | 45 static int32_t GetCInt32(napi_value value, napi_env env); 46 static int64_t GetCInt64(napi_value value, napi_env env); 47 static napi_value CreateBoolean(napi_env env, bool value); 48 static bool GetBool(napi_env env, napi_value value); 49 static napi_value CreateDouble(napi_env env, double value); 50 static double GetDouble(napi_env env, napi_value value); 51 static size_t GetCString(napi_value value, napi_env env, char* buf, size_t size); 53 static std::string GetStringFromValueUtf8(napi_env env, napi_value value); 56 static napi_valuetype GetValueType(napi_env env, napi_value value); 62 static void SetNamedProperty(napi_env env, napi_value object, const std::string& propertyName, napi_value value); [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_layout_property.h | 35 auto value = MakeRefPtr<GridLayoutProperty>(); variable 36 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 37 value->propRowsTemplate_ = CloneRowsTemplate(); 38 value->propColumnsTemplate_ = CloneColumnsTemplate(); 39 value->propRowsGap_ = CloneRowsGap(); 40 value->propColumnsGap_ = CloneColumnsGap(); 41 value->propCachedCount_ = CloneCachedCount(); 42 value->propShowCachedItems_ = CloneShowCachedItems(); 43 value->propGridDirection_ = CloneGridDirection(); 44 value [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_layout_property.h | 60 auto value = MakeRefPtr<MenuLayoutProperty>(); variable 61 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 62 value->propIsRectInTarget_ = CloneIsRectInTarget(); 63 value->propMenuOffset_ = CloneMenuOffset(); 64 value->propTargetSize_ = CloneTargetSize(); 65 value->propPositionOffset_ = ClonePositionOffset(); 66 value->propMenuItemFontStyle_ = CloneMenuItemFontStyle(); 67 value->propTitle_ = CloneTitle(); 68 value->propMenuPlacement_ = CloneMenuPlacement(); 69 value [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | progress_model_impl.cpp | 28 void ProgressModelImpl::Create(double min, double value, double cachedValue, double max, NG::ProgressType type) in Create() argument 31 min, value, cachedValue, max, static_cast<ProgressType>(type)); in Create() 49 void ProgressModelImpl::SetValue(double value) in SetValue() argument 59 if (value > maxValue_) { in SetValue() 60 LOGE("value is lager than total , set value euqals total"); in SetValue() 61 value = maxValue_; in SetValue() 63 progress->SetValue(value); in SetValue() 66 void ProgressModelImpl::SetColor(const Color& value) in SetColor() argument 76 track->SetSelectColor(value); in SetColor() 79 SetBackgroundColor(const Color& value) SetBackgroundColor() argument 96 SetStrokeWidth(const Dimension& value) SetStrokeWidth() argument 108 SetScaleCount(int32_t value) SetScaleCount() argument 122 SetScaleWidth(const Dimension& value) SetScaleWidth() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_overlay_modifier.h | 46 void SetCursorColor(Color& value); 47 void SetCursorWidth(float value); 48 void SetSelectedBackGroundColor(Color& value); 49 void SetCursorVisible(bool value); 50 void SetContentSize(SizeF& value); 51 void SetContentOffset(OffsetF& value); 52 void SetCursorOffset(const OffsetF& value); 53 void SetInputStyle(InputStyle& value); 54 void SetFrameSize(const SizeF& value); 55 void SetCurrentOffset(float value); [all...] |
/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/ |
H A D | preferences_value.h | 44 bool operator==(const BigInt &value) const in operator ==() 46 return sign_ == value.sign_ && words_ == value.words_; in operator ==() 79 * This constructor is used to convert the int input parameter to a value of type PreferencesValue. 81 * @param value Indicates an int input parameter. 83 PREF_API_EXPORT PreferencesValue(int value); 88 * This constructor is used to convert the int64_t input parameter to a value of type PreferencesValue. 90 * @param value Indicates a int64_t input parameter. 92 PREF_API_EXPORT PreferencesValue(int64_t value); 97 * This constructor is used to convert the int64_t input parameter to a value o [all...] |
/kernel/linux/linux-5.10/arch/sh/boards/ |
H A D | board-apsh4a3a.c | 148 int value = 0; in apsh4a3a_mode_pins() local 154 value &= ~MODE_PIN0; /* Clock Mode 16 */ in apsh4a3a_mode_pins() 155 value &= ~MODE_PIN1; in apsh4a3a_mode_pins() 156 value &= ~MODE_PIN2; in apsh4a3a_mode_pins() 157 value &= ~MODE_PIN3; in apsh4a3a_mode_pins() 158 value |= MODE_PIN4; in apsh4a3a_mode_pins() 159 value &= ~MODE_PIN5; /* 16-bit Area0 bus width */ in apsh4a3a_mode_pins() 160 value |= MODE_PIN6; /* Area 0 SRAM interface */ in apsh4a3a_mode_pins() 161 value |= MODE_PIN7; in apsh4a3a_mode_pins() 162 value | in apsh4a3a_mode_pins() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 22 int value; in lookup_value() local 24 for (value = 0; value < size; value++) in lookup_value() 25 if (names[value] && strcasecmp(names[value], name) == 0) in lookup_value() 26 return value; in lookup_value() 32 lookup_name(const char **names, int size, int value) in lookup_name() argument 34 return (value >= 0 && value < siz in lookup_name() 39 int value; list_names() local [all...] |
/kernel/linux/linux-6.6/arch/sh/boards/ |
H A D | board-apsh4a3a.c | 148 int value = 0; in apsh4a3a_mode_pins() local 154 value &= ~MODE_PIN0; /* Clock Mode 16 */ in apsh4a3a_mode_pins() 155 value &= ~MODE_PIN1; in apsh4a3a_mode_pins() 156 value &= ~MODE_PIN2; in apsh4a3a_mode_pins() 157 value &= ~MODE_PIN3; in apsh4a3a_mode_pins() 158 value |= MODE_PIN4; in apsh4a3a_mode_pins() 159 value &= ~MODE_PIN5; /* 16-bit Area0 bus width */ in apsh4a3a_mode_pins() 160 value |= MODE_PIN6; /* Area 0 SRAM interface */ in apsh4a3a_mode_pins() 161 value |= MODE_PIN7; in apsh4a3a_mode_pins() 162 value | in apsh4a3a_mode_pins() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 24 int value; in lookup_value() local 26 for (value = 0; value < size; value++) in lookup_value() 27 if (names[value] && strcasecmp(names[value], name) == 0) in lookup_value() 28 return value; in lookup_value() 34 lookup_name(const char **names, int size, int value) in lookup_name() argument 36 return (value >= 0 && value < siz in lookup_name() 41 int value; list_names() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Trie2_16.java | 24 * code points (values ranging from 0 to 0x10ffff) to a 16 or 32 bit value. 62 * Get the value for a code point as stored in the Trie2. 65 * @return the value 69 int value; in get() 79 value = index[ix]; in get() 80 return value; in get() 91 value = index[ix]; in get() 92 return value; in get() 101 value = index[ix]; in get() 102 return value; in get() 182 rangeEnd(int startingCP, int limit, int value) rangeEnd() argument [all...] |
H A D | Trie2_32.java | 23 * code points (values ranging from 0 to 0x10ffff) to a 16 or 32 bit value. 61 * Get the value for a code point as stored in the Trie2. 64 * @return the value 68 int value; in get() 78 value = data32[ix]; in get() 79 return value; in get() 90 value = data32[ix]; in get() 91 return value; in get() 100 value = data32[ix]; in get() 101 return value; in get() 179 rangeEnd(int startingCP, int limit, int value) rangeEnd() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CodePointMap.java | 19 * Selectors for how getRange() should report value ranges overlapping with surrogates. 27 * getRange() enumerates all same-value ranges as stored in the map. 34 * getRange() enumerates all same-value ranges as stored in the map, 51 * getRange() enumerates all same-value ranges as stored in the map, 70 * Callback function interface: Modifies a map value. 72 * The modified value will be returned by the getRange() function. 74 * <p>Can be used to ignore some of the value bits, 76 * return a value index computed from the map value, etc. 84 * Modifies the map value 90 apply(int value) apply() argument 106 private int value; global() field in CodePointMap.Range 142 set(int start, int end, int value) set() argument 215 protected int value; global() field in CodePointMap.StringIterator [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Trie2_16.java | 25 * code points (values ranging from 0 to 0x10ffff) to a 16 or 32 bit value. 64 * Get the value for a code point as stored in the Trie2. 67 * @return the value 71 int value; in get() 81 value = index[ix]; in get() 82 return value; in get() 93 value = index[ix]; in get() 94 return value; in get() 103 value = index[ix]; in get() 104 return value; in get() 184 rangeEnd(int startingCP, int limit, int value) rangeEnd() argument [all...] |
H A D | Trie2_32.java | 24 * code points (values ranging from 0 to 0x10ffff) to a 16 or 32 bit value. 63 * Get the value for a code point as stored in the Trie2. 66 * @return the value 70 int value; in get() 80 value = data32[ix]; in get() 81 return value; in get() 92 value = data32[ix]; in get() 93 return value; in get() 102 value = data32[ix]; in get() 103 return value; in get() 181 rangeEnd(int startingCP, int limit, int value) rangeEnd() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CodePointMap.java | 20 * Selectors for how getRange() should report value ranges overlapping with surrogates. 28 * getRange() enumerates all same-value ranges as stored in the map. 33 * getRange() enumerates all same-value ranges as stored in the map, 48 * getRange() enumerates all same-value ranges as stored in the map, 65 * Callback function interface: Modifies a map value. 67 * The modified value will be returned by the getRange() function. 69 * <p>Can be used to ignore some of the value bits, 71 * return a value index computed from the map value, etc. 79 * Modifies the map value 84 apply(int value) apply() argument 100 private int value; global() field in CodePointMap.Range 130 set(int start, int end, int value) set() argument 203 protected int value; global() field in CodePointMap.StringIterator [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/ |
H A D | CustomFormatterGrammarCaseTest.java | 44 private static String getDativeAndGenitive(String value) { in getDativeAndGenitive() argument 45 if (value.endsWith("ana")) in getDativeAndGenitive() 46 return value.substring(0, value.length() - 3) + "nei"; in getDativeAndGenitive() 47 if (value.endsWith("ca")) in getDativeAndGenitive() 48 return value.substring(0, value.length() - 2) + "căi"; in getDativeAndGenitive() 49 if (value.endsWith("ga")) in getDativeAndGenitive() 50 return value.substring(0, value in getDativeAndGenitive() [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | Registry.h | 12 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value);
47 LONG SetValue(LPCTSTR valueName, UInt32 value) throw();
48 LONG SetValue(LPCTSTR valueName, bool value) throw();
49 LONG SetValue(LPCTSTR valueName, LPCTSTR value) throw();
50 // LONG SetValue(LPCTSTR valueName, const CSysString &value);
52 LONG SetValue(LPCWSTR name, LPCWSTR value);
53 // LONG SetValue(LPCWSTR name, const UString &value);
56 LONG SetValue(LPCTSTR name, const void *value, UInt32 size) throw();
61 LONG SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) throw();
63 LONG QueryValue(LPCTSTR name, UInt32 &value) thro [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dump.h | 58 util_str_blend_factor(unsigned value, boolean shortened); 61 util_str_blend_func(unsigned value, boolean shortened); 64 util_str_logicop(unsigned value, boolean shortened); 67 util_str_func(unsigned value, boolean shortened); 70 util_str_stencil_op(unsigned value, boolean shortened); 73 util_str_tex_target(unsigned value, boolean shortened); 76 util_str_tex_wrap(unsigned value, boolean shortened); 79 util_str_tex_mipfilter(unsigned value, boolean shortened); 82 util_str_tex_filter(unsigned value, boolean shortened); 85 util_str_query_type(unsigned value, boolea [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | SwapByteOrder.h | 58 inline uint16_t SwapByteOrder_16(uint16_t value) { in SwapByteOrder_16() argument 62 return _byteswap_ushort(value); in SwapByteOrder_16() 64 uint16_t Hi = value << 8; in SwapByteOrder_16() 65 uint16_t Lo = value >> 8; in SwapByteOrder_16() 71 inline uint32_t SwapByteOrder_32(uint32_t value) { in SwapByteOrder_32() argument 73 return __builtin_bswap32(value); in SwapByteOrder_32() 75 return _byteswap_ulong(value); in SwapByteOrder_32() 77 uint32_t Byte0 = value & 0x000000FF; in SwapByteOrder_32() 78 uint32_t Byte1 = value & 0x0000FF00; in SwapByteOrder_32() 79 uint32_t Byte2 = value in SwapByteOrder_32() 86 SwapByteOrder_64(uint64_t value) SwapByteOrder_64() argument [all...] |