Home
last modified time | relevance | path

Searched refs:value (Results 826 - 850 of 22908) sorted by relevance

1...<<31323334353637383940>>...917

/third_party/node/lib/internal/util/
H A Dinspect.js272 // Typically, the target value will be an instance of `Object`. If that is
285 ret.stylize = ObjectSetPrototypeOf((value, flavour) => {
288 stylized = `${ctx.stylize(value, flavour)}`;
293 if (typeof stylized !== 'string') return value;
303 * Echos the value of any input. Tries to print the value out
305 * @param {any} value The value to print out.
308 /* Legacy: value, showHidden, depth, colors */
309 function inspect(value, opt
[all...]
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_packet_tools.h59 static void PutUInt8(std::vector<uint8_t> &outBuffer, uint16_t value);
60 static void PutUInt16(std::vector<uint8_t> &outBuffer, uint16_t value);
61 static void PutUInt32(std::vector<uint8_t> &outBuffer, uint32_t value);
62 static void PutUInt64(std::vector<uint8_t> &outBuffer, uint64_t value);
63 static void PutUInt128(std::vector<uint8_t> &outBuffer, uint64_t value);
64 static void PutUInt128(std::vector<uint8_t> &outBuffer, const uint128_t value);
67 static void PutInt8(std::vector<uint8_t> &outBuffer, int8_t value);
68 static void PutInt16(std::vector<uint8_t> &outBuffer, int16_t value);
69 static void PutInt32(std::vector<uint8_t> &outBuffer, int32_t value);
70 static void PutInt64(std::vector<uint8_t> &outBuffer, int64_t value);
[all...]
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Ddata_query.h48 * @brief Equal to int value.
50 * @param value The field value.
53 DataQuery &EqualTo(const std::string &field, const int value);
56 * @brief Equal to long value.
58 * @param value The field value.
61 DataQuery &EqualTo(const std::string &field, const int64_t value);
64 * @brief Equal to double value.
66 * @param value Th
[all...]
/third_party/skia/src/utils/
H A DSkJSONWriter.h40 * Output human-readable JSON, with indented objects and arrays, and one value per line.
79 * endObject(). If you have both the name and value of an object member, you can simply call
101 * By default, objects are written out with one named value per line (when in kPretty mode).
133 * By default, arrays are written out with one value per line (when in kPretty mode).
168 void appendString(const char* value) { in appendString() argument
171 if (value) { in appendString()
172 while (*value) { in appendString()
173 switch (*value) { in appendString()
181 default: this->write(value, 1); break; in appendString()
183 value in appendString()
189 appendPointer(const void* value) appendPointer() argument
190 appendBool(bool value) appendBool() argument
198 appendS32(int32_t value) appendS32() argument
200 appendU32(uint32_t value) appendU32() argument
202 appendFloat(float value) appendFloat() argument
203 appendDouble(double value) appendDouble() argument
204 appendFloatDigits(float value, int digits) appendFloatDigits() argument
208 appendDoubleDigits(double value, int digits) appendDoubleDigits() argument
212 appendHexU32(uint32_t value) appendHexU32() argument
236 appendFloatDigits(const char* name, float value, int digits) appendFloatDigits() argument
240 appendDoubleDigits(const char* name, double value, int digits) appendDoubleDigits() argument
[all...]
H A DSkParse.cpp108 const char* SkParse::FindHex(const char str[], uint32_t* value) in FindHex() argument
130 if (value) in FindHex()
131 *value = n; in FindHex()
137 const char* SkParse::FindS32(const char str[], int32_t* value) in FindS32() argument
158 if (value) in FindS32()
159 *value = (n ^ sign) - sign; in FindS32()
163 const char* SkParse::FindMSec(const char str[], SkMSec* value) in FindMSec() argument
197 if (value) in FindMSec()
198 *value = (n ^ sign) - sign; in FindMSec()
202 const char* SkParse::FindScalar(const char str[], SkScalar* value) { in FindScalar() argument
217 FindScalars(const char str[], SkScalar value[], int count) FindScalars() argument
246 FindBool(const char str[], bool* value) FindBool() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_row_pattern.h91 void SetShowLunarSwitch(bool value) in SetShowLunarSwitch() argument
93 showLunarSwitch_ = value; in SetShowLunarSwitch()
142 void SetChangeCallback(ColumnChangeCallback&& value);
146 void SetEventCallback(EventCallback&& value);
166 return titleId_.value(); in GetTitleId()
202 return DividerId_.value(); in GetDividerId()
212 void SetHour24(bool value) in SetHour24() argument
214 isForceUpdate_ = value != hour24_; in SetHour24()
215 hour24_ = value; in SetHour24()
225 void SetDateTimeOptionUpdate(bool value) in SetDateTimeOptionUpdate() argument
230 SetPrefixHour(ZeroPrefixType& value) SetPrefixHour() argument
249 SetSelectedTime(const PickerTime& value) SetSelectedTime() argument
261 SetDialogTitleDate(const PickerDate& value) SetDialogTitleDate() argument
327 SetHasSecond(bool value) SetHasSecond() argument
332 SetPrefixMinute(ZeroPrefixType value) SetPrefixMinute() argument
345 SetPrefixSecond(ZeroPrefixType value) SetPrefixSecond() argument
365 SetWheelModeEnabled(bool value) SetWheelModeEnabled() argument
379 SetColumn(const RefPtr<FrameNode>& value) SetColumn() argument
394 SetIsEnableHaptic(bool value) SetIsEnableHaptic() argument
552 SetPaintDividerSpacing(float& value) SetPaintDividerSpacing() argument
562 SetCurrentFocusKeyID(int32_t value) SetCurrentFocusKeyID() argument
572 SetCurrentPage(uint32_t value) SetCurrentPage() argument
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/swiper/
H A Dswiper_clip_test.cpp35 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestSwiperClip001()
36 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestSwiperClip001()
37 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestSwiperClip001()
38 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestSwiperClip001()
39 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_4].f32, clipRectRoundedHeight); in TestSwiperClip001()
59 ASSERT_EQ(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestSwiperClip002()
60 ASSERT_NE(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestSwiperClip002()
61 ASSERT_NE(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestSwiperClip002()
62 ASSERT_NE(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestSwiperClip002()
63 ASSERT_NE(nodeAPI->getAttribute(swiper, NODE_CLIP_SHAPE)->value[PARAM_ in TestSwiperClip002()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/
H A Dstack_clip_test.cpp35 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestStackClip001()
36 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestStackClip001()
37 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestStackClip001()
38 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestStackClip001()
39 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_4].f32, clipRectRoundedHeight); in TestStackClip001()
59 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestStackClip002()
60 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestStackClip002()
61 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestStackClip002()
62 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestStackClip002()
63 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_CLIP_SHAPE)->value[PARAM_ in TestStackClip002()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/toggle/
H A Dtoggle_clip_test.cpp35 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestToggleClip001()
36 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestToggleClip001()
37 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestToggleClip001()
38 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestToggleClip001()
39 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_4].f32, clipRectRoundedHeight); in TestToggleClip001()
59 ASSERT_EQ(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_0].i32, ARKUI_CLIP_TYPE_RECTANGLE); in TestToggleClip002()
60 ASSERT_NE(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_1].f32, clipRectWidth); in TestToggleClip002()
61 ASSERT_NE(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_2].f32, clipRectHeight); in TestToggleClip002()
62 ASSERT_NE(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_3].f32, clipRectRoundedWidth); in TestToggleClip002()
63 ASSERT_NE(nodeAPI->getAttribute(toggle, NODE_CLIP_SHAPE)->value[PARAM_ in TestToggleClip002()
[all...]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
H A Dchecked_math.h25 static_assert(std::is_arithmetic<T>::value, "CheckedNumeric<T>: T must be a numeric type.");
38 : state_(rhs.state_.value(), rhs.IsValid()) in CheckedNumeric()
44 constexpr CheckedNumeric(Src value) // NOLINT(runtime/explicit) in CheckedNumeric() argument
45 : state_(value) in CheckedNumeric()
47 static_assert(std::is_arithmetic<Src>::value, "Argument must be numeric."); in CheckedNumeric()
53 constexpr CheckedNumeric(StrictNumeric<Src> value) // NOLINT(runtime/explicit) in CheckedNumeric() argument
54 : state_(static_cast<Src>(value)) in CheckedNumeric()
63 return state_.is_valid() && IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid()
66 // AssignIfValid(Dst) - Assigns the underlying value if it is currently valid
79 ? ((*result = static_cast<Dst>(state_.value())), tru in AssignIfValid()
203 CheckedNumeric value = *this; operator ++() local
217 const CheckedNumeric value = *this; operator --() local
257 CheckedNumeric(Src value, bool is_valid) CheckedNumeric() argument
266 static constexpr Src value(Src value) { return value; } value() function
273 static constexpr Src value(const CheckedNumeric<Src> v) { return v.state_.value(); } value() function
280 static constexpr Src value(const StrictNumeric<Src> v) { return static_cast<Src>(v); } value() function
286 IsValidForType(const CheckedNumeric<Src> value) IsValidForType() argument
292 ValueOrDieForType(const CheckedNumeric<Src> value) ValueOrDieForType() argument
298 ValueOrDefaultForType(const CheckedNumeric<Src> value, const Default default_value) ValueOrDefaultForType() argument
307 MakeCheckedNum(const T value) MakeCheckedNum() argument
[all...]
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dproperty.cpp126 Property::Property(uint16_t propCode, uint16_t propType, bool propWriteable, int value) in Property() argument
135 if (value) { in Property()
138 defaultValue->bin_.i8 = static_cast<int8_t>(value); in Property()
141 defaultValue->bin_.ui8 = static_cast<uint8_t>(value); in Property()
144 defaultValue->bin_.i16 = static_cast<int16_t>(value); in Property()
147 defaultValue->bin_.ui16 = static_cast<uint16_t>(value); in Property()
150 defaultValue->bin_.i32 = static_cast<int32_t>(value); in Property()
153 defaultValue->bin_.ui32 = static_cast<uint32_t>(value); in Property()
156 defaultValue->bin_.i64 = static_cast<int64_t>(value); in Property()
159 defaultValue->bin_.ui64 = static_cast<uint64_t>(value); in Property()
423 Value value; ReadFormData() local
480 ReadValue(const std::vector<uint8_t> &buffer, size_t &offset, Value &value) ReadValue() argument
529 ReadValueEx(const std::vector<uint8_t> &buffer, size_t &offset, Value &value) ReadValueEx() argument
575 WriteValue(std::vector<uint8_t> &buffer, const Value &value) WriteValue() argument
609 WriteValueEx(std::vector<uint8_t> &buffer, const Value &value) WriteValueEx() argument
658 Value value; ReadArrayValues() local
702 DumpValue(uint8_t indent, const std::shared_ptr<Value> &value, const std::string &name) DumpValue() argument
[all...]
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_value_parcel.cpp25 uint8_t PreferencesValueParcel::GetTypeIndex(const PreferencesValue &value) in GetTypeIndex() argument
27 if (value.IsInt()) { in GetTypeIndex()
29 } else if (value.IsLong()) { in GetTypeIndex()
31 } else if (value.IsFloat()) { in GetTypeIndex()
33 } else if (value.IsDouble()) { in GetTypeIndex()
35 } else if (value.IsBool()) { in GetTypeIndex()
37 } else if (value.IsString()) { in GetTypeIndex()
39 } else if (value.IsStringArray()) { in GetTypeIndex()
41 } else if (value.IsBoolArray()) { in GetTypeIndex()
43 } else if (value in GetTypeIndex()
56 CalSize(PreferencesValue value) CalSize() argument
104 MarshallingBasicValueInner(const PreferencesValue &value, const uint8_t type, std::vector<uint8_t> &data) MarshallingBasicValueInner() argument
163 MarshallingBasicValue(const PreferencesValue &value, const uint8_t type, std::vector<uint8_t> &data) MarshallingBasicValue() argument
181 MarshallingStringValue(const PreferencesValue &value, const uint8_t type, std::vector<uint8_t> &data) MarshallingStringValue() argument
222 MarshallingStringArrayValue(const PreferencesValue &value, const uint8_t type, std::vector<uint8_t> &data) MarshallingStringArrayValue() argument
266 MarshallingVecUInt8AfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecUInt8AfterType() argument
294 MarshallingVecBigIntAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecBigIntAfterType() argument
330 MarshallingVecDoubleAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecDoubleAfterType() argument
355 MarshallingVecBoolAfterType(const PreferencesValue &value, uint8_t *startAddr) MarshallingVecBoolAfterType() argument
386 MarshallingBasicArrayValue(const PreferencesValue &value, const uint8_t type, std::vector<uint8_t> &data) MarshallingBasicArrayValue() argument
418 MarshallingPreferenceValue(const PreferencesValue &value, std::vector<uint8_t> &data) MarshallingPreferenceValue() argument
[all...]
/third_party/mesa3d/src/egl/main/
H A Deglsurface.c458 EGLint attribute, EGLint *value) in _eglQuerySurface()
462 *value = surface->Width; in _eglQuerySurface()
465 *value = surface->Height; in _eglQuerySurface()
468 *value = surface->Config->ConfigID; in _eglQuerySurface()
472 *value = surface->LargestPbuffer; in _eglQuerySurface()
477 *value = surface->TextureFormat; in _eglQuerySurface()
481 *value = surface->TextureTarget; in _eglQuerySurface()
485 *value = surface->MipmapTexture; in _eglQuerySurface()
489 *value = surface->MipmapLevel; in _eglQuerySurface()
492 *value in _eglQuerySurface()
457 _eglQuerySurface(_EGLDisplay *disp, _EGLSurface *surface, EGLint attribute, EGLint *value) _eglQuerySurface() argument
631 _eglSurfaceAttrib(_EGLDisplay *disp, _EGLSurface *surface, EGLint attribute, EGLint value) _eglSurfaceAttrib() argument
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_pack.c41 assert(index.value < 0x100); in agx_pack_sample_coords()
44 return index.value; in agx_pack_sample_coords()
53 return index.value; in agx_pack_texture()
62 return index.value; in agx_pack_sampler()
78 if (index.type == AGX_INDEX_IMMEDIATE && index.value == 0) in agx_pack_lod()
84 assert(index.value < 0x100); in agx_pack_lod()
86 return index.value; in agx_pack_lod()
95 assert(index.size == AGX_SIZE_16 || (index.value & 1) == 0); in agx_pack_memory_reg()
96 assert(index.value < 0x100); in agx_pack_memory_reg()
99 return index.value; in agx_pack_memory_reg()
161 unsigned value = src.value; agx_pack_alu_src() local
202 unsigned value = src.value; agx_pack_cmpsel_src() local
241 unsigned value = src.value; agx_pack_sample_mask_src() local
481 agx_index value = I->src[1]; agx_pack_instr() local
[all...]
/third_party/python/Python/
H A DPython-ast.c261 Py_CLEAR(state->value); in _PyAST_Fini()
356 if ((state->value = PyUnicode_InternFromString("value")) == NULL) return 0; in init_identifiers()
422 "value",
429 "value",
435 "value",
440 "value",
516 "value",
531 "value",
568 "value",
804 PyObject *key, *value, *fields; ast_type_init() local
980 PyObject *value; ast2obj_list() local
2055 _PyAST_Return(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Return() argument
2089 _PyAST_Assign(asdl_expr_seq * targets, expr_ty value, string type_comment, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Assign() argument
2114 _PyAST_AugAssign(expr_ty target, operator_ty op, expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_AugAssign() argument
2148 _PyAST_AnnAssign(expr_ty target, expr_ty annotation, expr_ty value, int simple, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_AnnAssign() argument
2511 _PyAST_Expr(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Expr() argument
2604 _PyAST_NamedExpr(expr_ty target, expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_NamedExpr() argument
2839 _PyAST_DictComp(expr_ty key, expr_ty value, asdl_comprehension_seq * generators, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_DictComp() argument
2893 _PyAST_Await(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Await() argument
2915 _PyAST_Yield(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Yield() argument
2932 _PyAST_YieldFrom(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_YieldFrom() argument
3004 _PyAST_FormattedValue(expr_ty value, int conversion, expr_ty format_spec, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_FormattedValue() argument
3046 _PyAST_Constant(constant value, string kind, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Constant() argument
3069 _PyAST_Attribute(expr_ty value, identifier attr, expr_context_ty ctx, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Attribute() argument
3104 _PyAST_Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Subscript() argument
3139 _PyAST_Starred(expr_ty value, expr_context_ty ctx, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_Starred() argument
3348 _PyAST_keyword(identifier arg, expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_keyword() argument
3428 _PyAST_MatchValue(expr_ty value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_MatchValue() argument
3450 _PyAST_MatchSingleton(constant value, int lineno, int col_offset, int end_lineno, int end_col_offset, PyArena *arena) _PyAST_MatchSingleton() argument
3610 PyObject *result = NULL, *value = NULL; ast2obj_mod() local
3687 PyObject *result = NULL, *value = NULL; ast2obj_stmt() local
4252 PyObject *result = NULL, *value = NULL; ast2obj_expr() local
4861 PyObject *result = NULL, *value = NULL; ast2obj_comprehension() local
4906 PyObject *result = NULL, *value = NULL; ast2obj_excepthandler() local
4971 PyObject *result = NULL, *value = NULL; ast2obj_arguments() local
5031 PyObject *result = NULL, *value = NULL; ast2obj_arg() local
5091 PyObject *result = NULL, *value = NULL; ast2obj_keyword() local
5146 PyObject *result = NULL, *value = NULL; ast2obj_alias() local
5201 PyObject *result = NULL, *value = NULL; ast2obj_withitem() local
5236 PyObject *result = NULL, *value = NULL; ast2obj_match_case() local
5276 PyObject *result = NULL, *value = NULL; ast2obj_pattern() local
5437 PyObject *result = NULL, *value = NULL; ast2obj_type_ignore() local
6321 expr_ty value; obj2ast_stmt() local
6402 expr_ty value; obj2ast_stmt() local
6489 expr_ty value; obj2ast_stmt() local
6555 expr_ty value; obj2ast_stmt() local
8074 expr_ty value; obj2ast_stmt() local
8301 expr_ty value; obj2ast_expr() local
8851 expr_ty value; obj2ast_expr() local
9004 expr_ty value; obj2ast_expr() local
9034 expr_ty value; obj2ast_expr() local
9064 expr_ty value; obj2ast_expr() local
9306 expr_ty value; obj2ast_expr() local
9423 constant value; obj2ast_expr() local
9471 expr_ty value; obj2ast_expr() local
9537 expr_ty value; obj2ast_expr() local
9603 expr_ty value; obj2ast_expr() local
10881 expr_ty value; obj2ast_keyword() local
11346 expr_ty value; obj2ast_pattern() local
11376 constant value; obj2ast_pattern() local
[all...]
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h134 inline bool IsNumber(const std::string& value) in IsNumber() argument
136 if (value.empty()) { in IsNumber()
139 return std::all_of(value.begin(), value.end(), [](char i) { return isdigit(i); }); in IsNumber()
206 inline int32_t StringToInt(const std::string& value) in StringToInt() argument
210 int64_t result = std::strtol(value.c_str(), &pEnd, 10); in StringToInt()
211 if (pEnd == value.c_str() || (result < INT_MIN || result > INT_MAX) || errno == ERANGE) { in StringToInt()
218 inline int64_t StringToLongInt(const std::string& value, int64_t defaultErr = 0) in StringToLongInt() argument
222 int64_t result = std::strtoll(value.c_str(), &pEnd, 10); in StringToLongInt()
223 if (pEnd == value in StringToLongInt()
230 StringToLongUint(const std::string& value, uint64_t defaultErr = 0) StringToLongUint() argument
242 StringToUintCheck(const std::string& value, uint32_t defaultErr = 0) StringToUintCheck() argument
254 StringToUint(const std::string& value, uint32_t defaultErr = 0) StringToUint() argument
267 StringToDouble(const std::string& value) StringToDouble() argument
279 StringToDouble(const std::string& value, double& result) StringToDouble() argument
298 StringToFloat(const std::string& value) StringToFloat() argument
310 StringToDimensionWithUnit(const std::string& value, DimensionUnit defaultUnit = DimensionUnit::PX, float defaultValue = 0.0f, bool isCalc = false) StringToDimensionWithUnit() argument
349 StringToCalcDimension( const std::string& value, bool useVp = false, DimensionUnit defaultUnit = DimensionUnit::PX) StringToCalcDimension() argument
362 StringToDimension(const std::string& value, bool useVp = false) StringToDimension() argument
367 StringToDimensionWithThemeValue(const std::string& value, bool useVp, const Dimension& themeValue) StringToDimensionWithThemeValue() argument
379 StringToDimensionWithUnitNG(const std::string& value, Dimension& dimensionResult, DimensionUnit defaultUnit = DimensionUnit::PX, float defaultValue = 0.0f, bool isCalc = false) StringToDimensionWithUnitNG() argument
432 StringToCalcDimensionNG( const std::string& value, CalcDimension& result, bool useVp = false, DimensionUnit defaultUnit = DimensionUnit::PX) StringToCalcDimensionNG() argument
454 StringToDegree(const std::string& value) StringToDegree() argument
478 StringToDegree(const std::string& value, double& result) StringToDegree() argument
543 double value; ParseStringToArray() local
588 DoubleToString(double value, int32_t precision = 2) DoubleToString() argument
595 result << std::fixed << value; DoubleToString() local
[all...]
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_napi.cpp122 auto value = BIT_CAST(src, JSValueRef); in ARKTS_GetValueType() local
123 if (value.IsHole()) { in ARKTS_GetValueType()
125 } else if (value.IsNull()) { in ARKTS_GetValueType()
127 } else if (value.IsUndefined()) { in ARKTS_GetValueType()
129 } else if (value.IsBoolean()) { in ARKTS_GetValueType()
131 } else if (value.IsNumber()) { in ARKTS_GetValueType()
135 value = *P_CAST(src, JSValueRef*); in ARKTS_GetValueType()
137 if (value.IsNull()) { in ARKTS_GetValueType()
139 } else if (value.IsString(vm)) { in ARKTS_GetValueType()
141 } else if (value in ARKTS_GetValueType()
194 ARKTS_IsNull(ARKTS_Value value) ARKTS_IsNull() argument
204 ARKTS_IsUndefined(ARKTS_Value value) ARKTS_IsUndefined() argument
209 ARKTS_CreateBool(bool value) ARKTS_CreateBool() argument
214 ARKTS_IsBool(ARKTS_Value value) ARKTS_IsBool() argument
220 ARKTS_GetValueBool(ARKTS_Value value) ARKTS_GetValueBool() argument
228 ARKTS_CreateF64(double value) ARKTS_CreateF64() argument
234 ARKTS_GetValueNumber(ARKTS_Value value) ARKTS_GetValueNumber() argument
245 ARKTS_IsNumber(ARKTS_Value value) ARKTS_IsNumber() argument
286 ARKTS_IsClass(ARKTS_Env env, ARKTS_Value value) ARKTS_IsClass() argument
314 ARKTS_GetPrototype(ARKTS_Env env, ARKTS_Value value) ARKTS_GetPrototype() argument
337 ARKTS_IsCallable(ARKTS_Env env, ARKTS_Value value) ARKTS_IsCallable() argument
427 ARKTS_SetElement(ARKTS_Env env, ARKTS_Value array, uint32_t index, ARKTS_Value value) ARKTS_SetElement() argument
451 ARKTS_IsArray(ARKTS_Env env, ARKTS_Value value) ARKTS_IsArray() argument
483 ARKTS_IsArrayBuffer(ARKTS_Env env, ARKTS_Value value) ARKTS_IsArrayBuffer() argument
494 ARKTS_GetArrayBufferLength(ARKTS_Env env, ARKTS_Value value) ARKTS_GetArrayBufferLength() argument
512 ARKTS_GetArrayBufferRawPtr(ARKTS_Env env, ARKTS_Value value) ARKTS_GetArrayBufferRawPtr() argument
554 ARKTS_IsExternal(ARKTS_Env env, ARKTS_Value value) ARKTS_IsExternal() argument
565 ARKTS_GetExternalData(ARKTS_Env env, ARKTS_Value value) ARKTS_GetExternalData() argument
618 ARKTS_IsPromise(ARKTS_Env env, ARKTS_Value value) ARKTS_IsPromise() argument
668 ARKTS_Return(ARKTS_Env env, ARKTS_Scope scope, ARKTS_Value value) ARKTS_Return() argument
698 auto value = ARKTS_ToValue(ret); ARKTSInner_Escape() local
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dgraph-assembler.cc53 Node* GraphAssembler::IntPtrConstant(intptr_t value) { in IntPtrConstant() argument
54 return AddClonedNode(mcgraph()->IntPtrConstant(value)); in IntPtrConstant()
57 Node* GraphAssembler::UintPtrConstant(uintptr_t value) { in UintPtrConstant() argument
58 return AddClonedNode(mcgraph()->UintPtrConstant(value)); in UintPtrConstant()
61 Node* GraphAssembler::Int32Constant(int32_t value) { in Int32Constant() argument
62 return AddClonedNode(mcgraph()->Int32Constant(value)); in Int32Constant()
65 Node* GraphAssembler::Uint32Constant(uint32_t value) { in Uint32Constant() argument
66 return AddClonedNode(mcgraph()->Uint32Constant(value)); in Uint32Constant()
69 Node* GraphAssembler::Int64Constant(int64_t value) { in Int64Constant() argument
70 return AddClonedNode(mcgraph()->Int64Constant(value)); in Int64Constant()
73 Uint64Constant(uint64_t value) Uint64Constant() argument
77 UniqueIntPtrConstant(intptr_t value) UniqueIntPtrConstant() argument
84 SmiConstant(int32_t value) SmiConstant() argument
88 Float64Constant(double value) Float64Constant() argument
101 NumberConstant(double value) NumberConstant() argument
194 Float64RoundDown(Node* value) Float64RoundDown() argument
199 Float64RoundTruncate(Node* value) Float64RoundTruncate() argument
205 TruncateFloat64ToInt64(Node* value, TruncateKind kind) TruncateFloat64ToInt64() argument
210 Projection(int index, Node* value) Projection() argument
222 Node* value = AddNode(graph()->NewNode(simplified()->LoadField(access), LoadField() local
229 Node* value = AddNode(graph()->NewNode(simplified()->LoadElement(access), LoadElement() local
234 StoreField(FieldAccess const& access, Node* object, Node* value) StoreField() argument
265 StoreElement(ElementAccess const& access, Node* object, Node* index, Node* value) StoreElement() argument
271 TransitionAndStoreElement(MapRef double_map, MapRef fast_map, TNode<HeapObject> object, TNode<Number> index, TNode<Object> value) TransitionAndStoreElement() argument
338 ObjectIsCallable(TNode<Object> value) ObjectIsCallable() argument
343 ObjectIsUndetectable(TNode<Object> value) ObjectIsUndetectable() argument
353 NumberIsFloat64Hole(TNode<Number> value) NumberIsFloat64Hole() argument
358 ToBoolean(TNode<Object> value) ToBoolean() argument
362 ConvertTaggedHoleToUndefined( TNode<Object> value) ConvertTaggedHoleToUndefined() argument
386 TypeGuard(Type type, Node* value) TypeGuard() argument
419 Store(StoreRepresentation rep, Node* object, Node* offset, Node* value) Store() argument
425 Store(StoreRepresentation rep, Node* object, int offset, Node* value) Store() argument
439 StoreUnaligned(MachineRepresentation rep, Node* object, Node* offset, Node* value) StoreUnaligned() argument
460 ProtectedStore(MachineRepresentation rep, Node* object, Node* offset, Node* value) ProtectedStore() argument
481 PlainPrimitiveToNumber(TNode<Object> value) PlainPrimitiveToNumber() argument
487 BitcastWordToTaggedSigned(Node* value) BitcastWordToTaggedSigned() argument
492 BitcastWordToTagged(Node* value) BitcastWordToTagged() argument
497 BitcastTaggedToWord(Node* value) BitcastTaggedToWord() argument
502 BitcastTaggedToWordForTagAndSmiBits(Node* value) BitcastTaggedToWordForTagAndSmiBits() argument
507 BitcastMaybeObjectToWord(Node* value) BitcastMaybeObjectToWord() argument
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension.h25 #define NEAR_ZERO(value) ((value > 0.0) ? ((value - 0.0) <= 0.000001f) : ((0.0 - value) <= 0.000001f))
53 * The percentage of either a value from the element's parent or from
62 * The value is calculated from the element's parent and another property of the element itself.
66 * The value is expression.
72 * Dimension contains a value and an unit to represent different
79 constexpr explicit Dimension(double value, DimensionUnit unit = DimensionUnit::PX) : value_(value), unit argument
99 SetValue(double value) SetValue() argument
279 _vp(long double value) _vp() argument
284 _px(long double value) _px() argument
289 _fp(long double value) _fp() argument
294 _pct(long double value) _pct() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_content_modifier.h40 void SetFontFamilies(const std::vector<std::string>& value);
41 void SetFontSize(const Dimension& value);
42 void SetAdaptMinFontSize(const Dimension& value);
43 void SetAdaptMaxFontSize(const Dimension& value);
44 void SetFontWeight(const FontWeight& value);
45 void SetTextColor(const Color& value);
46 void SetFontStyle(const OHOS::Ace::FontStyle& value);
47 void SetContentOffset(OffsetF& value);
49 void SetContentSize(SizeF& value);
50 void SetTextValue(std::string& value);
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.h97 [[maybe_unused]] bool Read(T& value);
100 [[maybe_unused]] bool Read(T& value, size_t size);
102 [[maybe_unused]] bool Read(void* value, size_t size);
111 [[maybe_unused]] bool Write(const T& value);
113 [[maybe_unused]] bool Write(const void* value, size_t size);
130 [[maybe_unused]] inline bool Packet::Read(T& value) in Read() argument
132 return Read(&value, sizeof(value)); in Read()
136 [[maybe_unused]] bool Packet::Read(T& value, size_t size) in Read() argument
138 if constexpr (HasContiguousLayout<T>::value) { in Read()
170 Write(const T& value) Write() argument
[all...]
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Deffect_json_helper.h67 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, int32_t value);
68 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, uint32_t value);
69 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, float value);
70 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, double value);
71 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, bool value);
72 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, const std::string &value);
73 IMAGE_EFFECT_EXPORT bool Put(const std::string &key, const char *value);
77 IMAGE_EFFECT_EXPORT bool Add(int32_t value) const;
78 IMAGE_EFFECT_EXPORT bool Add(uint32_t value) const;
79 IMAGE_EFFECT_EXPORT bool Add(float value) cons
[all...]
/third_party/node/deps/v8/src/tracing/
H A Dtraced-value.cc5 #include "src/tracing/traced-value.h"
32 void EscapeAndAppendString(const char* value, std::string* result) { in EscapeAndAppendString() argument
34 while (*value) { in EscapeAndAppendString()
35 unsigned char c = *value++; in EscapeAndAppendString()
89 void TracedValue::SetInteger(const char* name, int value) { in SetInteger() argument
92 data_ += std::to_string(value); in SetInteger()
95 void TracedValue::SetDouble(const char* name, double value) { in SetDouble() argument
99 data_ += internal::DoubleToCString(value, buffer); in SetDouble()
102 void TracedValue::SetBoolean(const char* name, bool value) { in SetBoolean() argument
105 data_ += value in SetBoolean()
108 SetString(const char* name, const char* value) SetString() argument
114 SetValue(const char* name, TracedValue* value) SetValue() argument
138 AppendInteger(int value) AppendInteger() argument
144 AppendDouble(double value) AppendDouble() argument
151 AppendBoolean(bool value) AppendBoolean() argument
157 AppendString(const char* value) AppendString() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DnoImplicitAnyStringIndexerOnObject.js30 set: (key: string, value: string) => 'foobar'
41 set: (key: "hello" | "world", value: string) => 'foobar'
50 ({ get: (key: string) => 'hello', set: (key: string, value: string) => {} })['hello'];
51 ({ get: (key: string) => 'hello', set: (key: string, value: string) => {} })['hello'] = 'modified';
52 ({ get: (key: string) => 'hello', set: (key: string, value: string) => {} })['hello'] += 1;
53 ({ get: (key: string) => 'hello', set: (key: string, value: string) => {} })['hello'] ++;
57 ({ foo: { get: (key: string) => 'hello', set: (key: string, value: string) => {} } }).foo['hello'];
58 ({ foo: { get: (key: string) => 'hello', set: (key: string, value: string) => {} } }).foo['hello'] = 'modified';
59 ({ foo: { get: (key: string) => 'hello', set: (key: string, value: string) => {} } }).foo['hello'] += 1;
60 ({ foo: { get: (key: string) => 'hello', set: (key: string, value
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_image.h240 /// For unsigned types, range is 0 to return value.
241 /// For signed types, range is return value - 0x8000U.
318 // Routines to set the entire image to a constant value.
320 void SetConstant_uint8 (uint8 value, in SetConstant_uint8() argument
326 SetConstant ((uint32) value, area); in SetConstant_uint8()
330 void SetConstant_uint8 (uint8 value) in SetConstant_uint8() argument
332 SetConstant (value, Bounds ()); in SetConstant_uint8()
335 void SetConstant_uint16 (uint16 value, in SetConstant_uint16() argument
341 SetConstant ((uint32) value, area); in SetConstant_uint16()
345 void SetConstant_uint16 (uint16 value) in SetConstant_uint16() argument
350 SetConstant_int16(int16 value, const dng_rect &area) SetConstant_int16() argument
360 SetConstant_int16(int16 value) SetConstant_int16() argument
365 SetConstant_uint32(uint32 value, const dng_rect &area) SetConstant_uint32() argument
375 SetConstant_uint32(uint32 value) SetConstant_uint32() argument
380 SetConstant_real32(real32 value, const dng_rect &area) SetConstant_real32() argument
398 SetConstant_real32(real32 value) SetConstant_real32() argument
[all...]

Completed in 21 milliseconds

1...<<31323334353637383940>>...917