/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/span/ |
H A D | span_fontweight_test.cpp | 23 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestSpanFontWeight001() local 24 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestSpanFontWeight001() 27 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestSpanFontWeight001() 35 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestSpanFontWeight002() local 36 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestSpanFontWeight002() 39 ASSERT_EQ(nodeAPI->getAttribute(span, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestSpanFontWeight002() 47 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W300}}; in TestSpanFontWeight003() local 48 ArkUI_AttributeItem value_item = {value, sizeo in TestSpanFontWeight003() 59 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W400}}; TestSpanFontWeight004() local 71 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W500}}; TestSpanFontWeight005() local 83 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W600}}; TestSpanFontWeight006() local 95 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W700}}; TestSpanFontWeight007() local 107 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W800}}; TestSpanFontWeight008() local 119 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W900}}; TestSpanFontWeight009() local 131 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLD}}; TestSpanFontWeight010() local 143 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_NORMAL}}; TestSpanFontWeight011() local 155 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLDER}}; TestSpanFontWeight012() local 167 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_LIGHTER}}; TestSpanFontWeight013() local 179 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_MEDIUM}}; TestSpanFontWeight014() local 191 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_REGULAR}}; TestSpanFontWeight015() local 204 ArkUI_NumberValue value[] = {{.i32 = fontWeight}}; TestSpanFontWeight016() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textarea/ |
H A D | textarea_fontweight_test.cpp | 24 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestTextAreaFontWeight001() local 25 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextAreaFontWeight001() 28 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestTextAreaFontWeight001() 35 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestTextAreaFontWeight002() local 36 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextAreaFontWeight002() 39 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestTextAreaFontWeight002() 46 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W300}}; in TestTextAreaFontWeight003() local 47 ArkUI_AttributeItem value_item = {value, sizeo in TestTextAreaFontWeight003() 57 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W400}}; TestTextAreaFontWeight004() local 68 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W500}}; TestTextAreaFontWeight005() local 79 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W600}}; TestTextAreaFontWeight006() local 90 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W700}}; TestTextAreaFontWeight007() local 101 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W800}}; TestTextAreaFontWeight008() local 112 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W900}}; TestTextAreaFontWeight009() local 123 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLD}}; TestTextAreaFontWeight010() local 134 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_NORMAL}}; TestTextAreaFontWeight011() local 145 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLDER}}; TestTextAreaFontWeight012() local 156 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_LIGHTER}}; TestTextAreaFontWeight013() local 167 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_MEDIUM}}; TestTextAreaFontWeight014() local 178 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_REGULAR}}; TestTextAreaFontWeight015() local 189 ArkUI_NumberValue value[] = {{.i32 = ABNROMAL_PARAM}}; TestTextAreaFontWeight016() local [all...] |
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
H A D | hcs_tree_if.c | 31 uint8_t value; in HcsGetBool() local 33 if ((attr == NULL) || (attr->value == NULL)) { in HcsGetBool() 38 if (!HcsSwapToUint8(&value, attr->value + HCS_PREFIX_LENGTH, HcsGetPrefix(attr->value))) { in HcsGetBool() 42 return value ? true : false; in HcsGetBool() 45 #define RETURN_DEFAULT_VALUE(attr, attrName, value, def) do { \ 46 if (((attr) == NULL) || ((attr)->value == NULL) || ((value) == NULL)) { \ 47 HDF_LOGE("%s failed, the attr of %s is NULL, or the value i 56 HcsGetUint8(const struct DeviceResourceNode *node, const char *attrName, uint8_t *value, uint8_t def) HcsGetUint8() argument 69 HcsGetUint16(const struct DeviceResourceNode *node, const char *attrName, uint16_t *value, uint16_t def) HcsGetUint16() argument 82 HcsGetUint32(const struct DeviceResourceNode *node, const char *attrName, uint32_t *value, uint32_t def) HcsGetUint32() argument 95 HcsGetUint64(const struct DeviceResourceNode *node, const char *attrName, uint64_t *value, uint64_t def) HcsGetUint64() argument 132 HcsGetUint8ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint8_t *value, uint8_t def) HcsGetUint8ArrayElem() argument 153 HcsGetUint16ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint16_t *value, uint16_t def) HcsGetUint16ArrayElem() argument 174 HcsGetUint32ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint32_t *value, uint32_t def) HcsGetUint32ArrayElem() argument 195 HcsGetUint64ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint64_t *value, uint64_t def) HcsGetUint64ArrayElem() argument 222 HcsGetUint8Array(const struct DeviceResourceNode *node, const char *attrName, uint8_t *value, uint32_t len, uint8_t def) HcsGetUint8Array() argument 240 HcsGetUint16Array(const struct DeviceResourceNode *node, const char *attrName, uint16_t *value, uint32_t len, uint16_t def) HcsGetUint16Array() argument 258 HcsGetUint32Array(const struct DeviceResourceNode *node, const char *attrName, uint32_t *value, uint32_t len, uint32_t def) HcsGetUint32Array() argument 276 HcsGetUint64Array(const struct DeviceResourceNode *node, const char *attrName, uint64_t *value, uint32_t len, uint64_t def) HcsGetUint64Array() argument 295 HcsGetStringArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, const char **value, const char *def) HcsGetStringArrayElem() argument 312 HcsGetString(const struct DeviceResourceNode *node, const char *attrName, const char **value, const char *def) HcsGetString() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/button/ |
H A D | button_fontweight_test.cpp | 23 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestButtonFontWeight001() local 24 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestButtonFontWeight001() 27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestButtonFontWeight001() 34 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestButtonFontWeight002() local 35 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestButtonFontWeight002() 38 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestButtonFontWeight002() 45 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W300}}; in TestButtonFontWeight003() local 46 ArkUI_AttributeItem value_item = {value, sizeo in TestButtonFontWeight003() 56 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W400}}; TestButtonFontWeight004() local 67 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W500}}; TestButtonFontWeight005() local 78 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W600}}; TestButtonFontWeight006() local 89 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W700}}; TestButtonFontWeight007() local 100 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W800}}; TestButtonFontWeight008() local 111 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W900}}; TestButtonFontWeight009() local 122 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLD}}; TestButtonFontWeight010() local 133 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_NORMAL}}; TestButtonFontWeight011() local 144 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLDER}}; TestButtonFontWeight012() local 155 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_LIGHTER}}; TestButtonFontWeight013() local 166 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_MEDIUM}}; TestButtonFontWeight014() local 177 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_REGULAR}}; TestButtonFontWeight015() local 188 ArkUI_NumberValue value[] = {{.i32 = PARAM_NEGATIVE_10}}; TestButtonFontWeight016() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | FieldSet.java | 218 Object value = entry.getValue(); in cloneFieldEntry() 219 if (value instanceof LazyField) { in cloneFieldEntry() 220 map.put(key, ((LazyField) value).getValue()); in cloneFieldEntry() 221 } else if (copyList && value instanceof List) { in cloneFieldEntry() 222 map.put(key, new ArrayList<>((List<?>) value)); in cloneFieldEntry() 224 map.put(key, value); in cloneFieldEntry() 263 * field's default value. 277 public void setField(final T descriptor, Object value) { in setField() argument 279 if (!(value instanceof List)) { in setField() 287 newList.addAll((List) value); in setField() 346 setRepeatedField(final T descriptor, final int index, final Object value) setRepeatedField() argument 366 addRepeatedField(final T descriptor, final Object value) addRepeatedField() argument 393 verifyType(final WireFormat.FieldType type, final Object value) verifyType() argument 407 isValidType(final WireFormat.FieldType type, final Object value) isValidType() argument 507 cloneIfMutable(Object value) cloneIfMutable() argument 622 writeElement( final CodedOutputStream output, final WireFormat.FieldType type, final int number, final Object value) writeElement() argument 646 writeElementNoTag( final CodedOutputStream output, final WireFormat.FieldType type, final Object value) writeElementNoTag() argument 721 writeField( final FieldDescriptorLite<?> descriptor, final Object value, final CodedOutputStream output) writeField() argument 809 computeElementSize( final WireFormat.FieldType type, final int number, final Object value) computeElementSize() argument 828 computeElementSizeNoTag(final WireFormat.FieldType type, final Object value) computeElementSizeNoTag() argument 892 computeFieldSize(final FieldDescriptorLite<?> descriptor, final Object value) computeFieldSize() argument 968 replaceBuilders( T descriptor, Object value) replaceBuilders() argument 1004 replaceBuilder(Object value) replaceBuilder() argument 1071 setField(final T descriptor, Object value) setField() argument 1161 setRepeatedField(final T descriptor, final int index, final Object value) setRepeatedField() argument 1184 addRepeatedField(final T descriptor, final Object value) addRepeatedField() argument 1214 verifyType(final WireFormat.FieldType type, final Object value) verifyType() argument [all...] |
H A D | Writer.java | 54 void writeSFixed32(int fieldNumber, int value) throws IOException; in writeSFixed32() argument 57 void writeInt64(int fieldNumber, long value) throws IOException; in writeInt64() argument 60 void writeSFixed64(int fieldNumber, long value) throws IOException; in writeSFixed64() argument 63 void writeFloat(int fieldNumber, float value) throws IOException; in writeFloat() argument 66 void writeDouble(int fieldNumber, double value) throws IOException; in writeDouble() argument 69 void writeEnum(int fieldNumber, int value) throws IOException; in writeEnum() argument 72 void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64() argument 75 void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() argument 78 void writeFixed64(int fieldNumber, long value) throws IOException; in writeFixed64() argument 81 void writeFixed32(int fieldNumber, int value) throw argument 84 writeBool(int fieldNumber, boolean value) writeBool() argument 87 writeString(int fieldNumber, String value) writeString() argument 90 writeBytes(int fieldNumber, ByteString value) writeBytes() argument 93 writeUInt32(int fieldNumber, int value) writeUInt32() argument 96 writeSInt32(int fieldNumber, int value) writeSInt32() argument 99 writeSInt64(int fieldNumber, long value) writeSInt64() argument 102 writeMessage(int fieldNumber, Object value) writeMessage() argument 105 writeMessage(int fieldNumber, Object value, Schema schema) writeMessage() argument 113 writeGroup(int fieldNumber, Object value) writeGroup() argument 121 writeGroup(int fieldNumber, Object value, Schema schema) writeGroup() argument 140 writeInt32List(int fieldNumber, List<Integer> value, boolean packed) writeInt32List() argument 143 writeFixed32List(int fieldNumber, List<Integer> value, boolean packed) writeFixed32List() argument 146 writeInt64List(int fieldNumber, List<Long> value, boolean packed) writeInt64List() argument 149 writeUInt64List(int fieldNumber, List<Long> value, boolean packed) writeUInt64List() argument 152 writeFixed64List(int fieldNumber, List<Long> value, boolean packed) writeFixed64List() argument 155 writeFloatList(int fieldNumber, List<Float> value, boolean packed) writeFloatList() argument 158 writeDoubleList(int fieldNumber, List<Double> value, boolean packed) writeDoubleList() argument 161 writeEnumList(int fieldNumber, List<Integer> value, boolean packed) writeEnumList() argument 164 writeBoolList(int fieldNumber, List<Boolean> value, boolean packed) writeBoolList() argument 167 writeStringList(int fieldNumber, List<String> value) writeStringList() argument 170 writeBytesList(int fieldNumber, List<ByteString> value) writeBytesList() argument 173 writeUInt32List(int fieldNumber, List<Integer> value, boolean packed) writeUInt32List() argument 176 writeSFixed32List(int fieldNumber, List<Integer> value, boolean packed) writeSFixed32List() argument 179 writeSFixed64List(int fieldNumber, List<Long> value, boolean packed) writeSFixed64List() argument 182 writeSInt32List(int fieldNumber, List<Integer> value, boolean packed) writeSInt32List() argument 185 writeSInt64List(int fieldNumber, List<Long> value, boolean packed) writeSInt64List() argument 188 writeMessageList(int fieldNumber, List<?> value) writeMessageList() argument 191 writeMessageList(int fieldNumber, List<?> value, Schema schema) writeMessageList() argument 199 writeGroupList(int fieldNumber, List<?> value) writeGroupList() argument 207 writeGroupList(int fieldNumber, List<?> value, Schema schema) writeGroupList() argument 214 writeMessageSetItem(int fieldNumber, Object value) writeMessageSetItem() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | wire_format_lite.cc | 68 WireFormatLite::kMessageSetItemStartTag>::value + 70 WireFormatLite::kMessageSetItemEndTag>::value + 72 WireFormatLite::kMessageSetTypeIdTag>::value + 74 WireFormatLite::kMessageSetMessageTag>::value; 128 uint64 value; in SkipField() local 129 if (!input->ReadVarint64(&value)) return false; in SkipField() 133 uint64 value; in SkipField() local 134 if (!input->ReadLittleEndian64(&value)) return false; in SkipField() 159 uint32 value; in SkipField() local 160 if (!input->ReadLittleEndian32(&value)) retur in SkipField() 175 uint64 value; SkipField() local 182 uint64 value; SkipField() local 216 uint32 value; SkipField() local 289 SkipUnknownEnum(int field_number, int value) SkipUnknownEnum() argument 302 int value; ReadPackedEnumPreserveUnknowns() local 407 WriteInt32(int field_number, int32 value, io::CodedOutputStream* output) WriteInt32() argument 412 WriteInt64(int field_number, int64 value, io::CodedOutputStream* output) WriteInt64() argument 417 WriteUInt32(int field_number, uint32 value, io::CodedOutputStream* output) WriteUInt32() argument 422 WriteUInt64(int field_number, uint64 value, io::CodedOutputStream* output) WriteUInt64() argument 427 WriteSInt32(int field_number, int32 value, io::CodedOutputStream* output) WriteSInt32() argument 432 WriteSInt64(int field_number, int64 value, io::CodedOutputStream* output) WriteSInt64() argument 437 WriteFixed32(int field_number, uint32 value, io::CodedOutputStream* output) WriteFixed32() argument 442 WriteFixed64(int field_number, uint64 value, io::CodedOutputStream* output) WriteFixed64() argument 447 WriteSFixed32(int field_number, int32 value, io::CodedOutputStream* output) WriteSFixed32() argument 452 WriteSFixed64(int field_number, int64 value, io::CodedOutputStream* output) WriteSFixed64() argument 457 WriteFloat(int field_number, float value, io::CodedOutputStream* output) WriteFloat() argument 462 WriteDouble(int field_number, double value, io::CodedOutputStream* output) WriteDouble() argument 467 WriteBool(int field_number, bool value, io::CodedOutputStream* output) WriteBool() argument 472 WriteEnum(int field_number, int value, io::CodedOutputStream* output) WriteEnum() argument 478 WriteString(int field_number, const std::string& value, io::CodedOutputStream* output) WriteString() argument 486 WriteStringMaybeAliased(int field_number, const std::string& value, io::CodedOutputStream* output) WriteStringMaybeAliased() argument 495 WriteBytes(int field_number, const std::string& value, io::CodedOutputStream* output) WriteBytes() argument 502 WriteBytesMaybeAliased(int field_number, const std::string& value, io::CodedOutputStream* output) WriteBytesMaybeAliased() argument 512 WriteGroup(int field_number, const MessageLite& value, io::CodedOutputStream* output) WriteGroup() argument 519 WriteMessage(int field_number, const MessageLite& value, io::CodedOutputStream* output) WriteMessage() argument 527 WriteSubMessageMaybeToArray( int size, const MessageLite& value, io::CodedOutputStream* output) WriteSubMessageMaybeToArray() argument 532 WriteGroupMaybeToArray(int field_number, const MessageLite& value, io::CodedOutputStream* output) WriteGroupMaybeToArray() argument 541 WriteMessageMaybeToArray(int field_number, const MessageLite& value, io::CodedOutputStream* output) WriteMessageMaybeToArray() argument 552 ReadBytesToString(io::CodedInputStream* input, std::string* value) ReadBytesToString() argument 558 ReadBytes(io::CodedInputStream* input, std::string* value) ReadBytes() argument 674 Int32Size(const RepeatedField<int32>& value) Int32Size() argument 678 UInt32Size(const RepeatedField<uint32>& value) UInt32Size() argument 682 SInt32Size(const RepeatedField<int32>& value) SInt32Size() argument 686 EnumSize(const RepeatedField<int>& value) EnumSize() argument 693 Int32Size(const RepeatedField<int32>& value) Int32Size() argument 702 UInt32Size(const RepeatedField<uint32>& value) UInt32Size() argument 711 SInt32Size(const RepeatedField<int32>& value) SInt32Size() argument 720 EnumSize(const RepeatedField<int>& value) EnumSize() argument 737 Int64Size(const RepeatedField<int64>& value) Int64Size() argument 741 UInt64Size(const RepeatedField<uint64>& value) UInt64Size() argument 745 SInt64Size(const RepeatedField<int64>& value) SInt64Size() argument 751 Int64Size(const RepeatedField<int64>& value) Int64Size() argument 760 UInt64Size(const RepeatedField<uint64>& value) UInt64Size() argument 769 SInt64Size(const RepeatedField<int64>& value) SInt64Size() argument [all...] |
/third_party/gn/src/gn/ |
H A D | create_bundle_target_generator.cc | 17 #include "gn/value.h" 23 // Retrieves value from `scope` named `name` or `old_name`. If the value comes 28 const Value* value = scope->GetValue(name, true); in GetValueFromScope() local 29 if (value) in GetValueFromScope() 30 return value; in GetValueFromScope() 32 value = scope->GetValue(old_name, true); in GetValueFromScope() 33 if (value) { in GetValueFromScope() 34 // If there is a value found with the old name, print a warning to the in GetValueFromScope() 35 // console and use that value in GetValueFromScope() 115 const Value* value = scope_->GetValue(name, true); FillBundleDir() local 144 Value* value = scope_->GetMutableValue(variables::kXcodeExtraAttributes, FillXcodeExtraAttributes() local 173 const Value* value = scope_->GetValue(variables::kProductType, true); FillProductType() local 185 const Value* value = scope_->GetValue(variables::kPartialInfoPlist, true); FillPartialInfoPlist() local 208 const Value* value = FillXcodeTestApplicationName() local 222 const Value* value = GetValueFromScope( FillPostProcessingScript() local 240 const Value* value = FillPostProcessingSources() local 264 const Value* value = FillPostProcessingOutputs() local 303 const Value* value = GetValueFromScope(scope_, variables::kPostProcessingArgs, FillPostProcessingArgs() local 322 const Value* value = scope_->GetValue(variables::kBundleDepsFilter, true); FillBundleDepsFilter() local 344 const Value* value = scope_->GetValue(variables::kXcassetCompilerFlags, true); FillXcassetCompilerFlags() local 355 const Value* value = scope_->GetValue(variables::kTransparent, true); FillTransparent() local [all...] |
/third_party/libsnd/src/ |
H A D | sfendian.h | 177 psf_put_be64 (uint8_t *ptr, int offset, int64_t value) in psf_put_be64() argument 179 ptr [offset] = (uint8_t) (value >> 56) ; in psf_put_be64() 180 ptr [offset + 1] = (uint8_t) (value >> 48) ; in psf_put_be64() 181 ptr [offset + 2] = (uint8_t) (value >> 40) ; in psf_put_be64() 182 ptr [offset + 3] = (uint8_t) (value >> 32) ; in psf_put_be64() 183 ptr [offset + 4] = (uint8_t) (value >> 24) ; in psf_put_be64() 184 ptr [offset + 5] = (uint8_t) (value >> 16) ; in psf_put_be64() 185 ptr [offset + 6] = (uint8_t) (value >> 8) ; in psf_put_be64() 186 ptr [offset + 7] = (uint8_t) value ; in psf_put_be64() 190 psf_put_be32 (uint8_t *ptr, int offset, int32_t value) in psf_put_be32() argument 199 psf_put_be16(uint8_t *ptr, int offset, int16_t value) psf_put_be16() argument 207 { int64_t value ; psf_get_be64() local 225 { int64_t value = (int64_t) ((uint64_t) ptr [offset + 7] << 24) ; psf_get_le64() local 241 { int32_t value = ((uint32_t) ptr [offset]) << 24 ; psf_get_be32() local 250 { int32_t value = ((uint32_t) ptr [offset + 3]) << 24 ; psf_get_le32() local 259 { int32_t value = ((uint32_t) ptr [offset]) << 24 ; psf_get_be24() local 267 { int32_t value = ((uint32_t) ptr [offset + 2]) << 24 ; psf_get_le24() local 323 { int64_t value = ptr [i] ; endswap_int64_t_array() local 332 { int64_t value = src [i] ; endswap_int64_t_copy() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/column/ |
H A D | column_foregroundblurstyle_test.cpp | 26 int32_t value = ARKUI_BLUR_STYLE_THIN; in TestColumnForegroundBlurStyle001() local 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle001() 31 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestColumnForegroundBlurStyle001() 38 int32_t value = ARKUI_BLUR_STYLE_REGULAR; in TestColumnForegroundBlurStyle002() local 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle002() 43 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestColumnForegroundBlurStyle002() 50 int32_t value = ARKUI_BLUR_STYLE_THICK; in TestColumnForegroundBlurStyle003() local 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle003() 62 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THIN; TestColumnForegroundBlurStyle004() local 74 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_REGULAR; TestColumnForegroundBlurStyle005() local 86 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THICK; TestColumnForegroundBlurStyle006() local 98 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_ULTRA_THICK; TestColumnForegroundBlurStyle007() local 110 int32_t value = ARKUI_BLUR_STYLE_NONE; TestColumnForegroundBlurStyle008() local 122 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THIN; TestColumnForegroundBlurStyle009() local 134 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THIN; TestColumnForegroundBlurStyle010() local 146 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_REGULAR; TestColumnForegroundBlurStyle011() local 158 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THICK; TestColumnForegroundBlurStyle012() local 170 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THICK; TestColumnForegroundBlurStyle013() local 182 int32_t value = PARAM_NEGATIVE_100; TestColumnForegroundBlurStyle014() local 194 int32_t value = ARKUI_COLOR_MODE_SYSTEM; TestColumnForegroundBlurStyle015() local 206 int32_t value = ARKUI_COLOR_MODE_LIGHT; TestColumnForegroundBlurStyle016() local 218 int32_t value = ARKUI_COLOR_MODE_DARK; TestColumnForegroundBlurStyle017() local 230 int32_t value = PARAM_NEGATIVE_100; TestColumnForegroundBlurStyle018() local 242 int32_t value = ARKUI_ADAPTIVE_COLOR_DEFAULT; TestColumnForegroundBlurStyle019() local 254 int32_t value = ARKUI_ADAPTIVE_COLOR_AVERAGE; TestColumnForegroundBlurStyle020() local 266 int32_t value = PARAM_NEGATIVE_100; TestColumnForegroundBlurStyle021() local 278 float value = PARAM_NEGATIVE_1; TestColumnForegroundBlurStyle022() local 290 float value = PARAM_0; TestColumnForegroundBlurStyle023() local 302 float value = PARAM_20; TestColumnForegroundBlurStyle024() local 314 float value = GRAY_SCALE_MAX; TestColumnForegroundBlurStyle025() local 326 float value = SIZE_200; TestColumnForegroundBlurStyle026() local 338 float value = PARAM_NEGATIVE_1; TestColumnForegroundBlurStyle027() local 350 float value = PARAM_0; TestColumnForegroundBlurStyle028() local 362 float value = PARAM_20; TestColumnForegroundBlurStyle029() local 374 float value = GRAY_SCALE_MAX; TestColumnForegroundBlurStyle030() local 386 float value = SIZE_200; TestColumnForegroundBlurStyle031() local 398 float value = PARAM_20; TestColumnForegroundBlurStyle032() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_foregroundblurstyle_test.cpp | 26 int32_t value = ARKUI_BLUR_STYLE_THIN; in TestCommonAttrsForegroundBlurStyle001() local 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle001() 31 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestCommonAttrsForegroundBlurStyle001() 38 int32_t value = ARKUI_BLUR_STYLE_REGULAR; in TestCommonAttrsForegroundBlurStyle002() local 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle002() 43 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestCommonAttrsForegroundBlurStyle002() 50 int32_t value = ARKUI_BLUR_STYLE_THICK; in TestCommonAttrsForegroundBlurStyle003() local 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle003() 62 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THIN; TestCommonAttrsForegroundBlurStyle004() local 74 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_REGULAR; TestCommonAttrsForegroundBlurStyle005() local 86 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THICK; TestCommonAttrsForegroundBlurStyle006() local 98 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_ULTRA_THICK; TestCommonAttrsForegroundBlurStyle007() local 110 int32_t value = ARKUI_BLUR_STYLE_NONE; TestCommonAttrsForegroundBlurStyle008() local 122 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THIN; TestCommonAttrsForegroundBlurStyle009() local 134 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THIN; TestCommonAttrsForegroundBlurStyle010() local 146 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_REGULAR; TestCommonAttrsForegroundBlurStyle011() local 158 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THICK; TestCommonAttrsForegroundBlurStyle012() local 170 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THICK; TestCommonAttrsForegroundBlurStyle013() local 182 int32_t value = PARAM_NEGATIVE_100; TestCommonAttrsForegroundBlurStyle014() local 194 int32_t value = ARKUI_COLOR_MODE_SYSTEM; TestCommonAttrsForegroundBlurStyle015() local 206 int32_t value = ARKUI_COLOR_MODE_LIGHT; TestCommonAttrsForegroundBlurStyle016() local 218 int32_t value = ARKUI_COLOR_MODE_DARK; TestCommonAttrsForegroundBlurStyle017() local 230 int32_t value = PARAM_NEGATIVE_100; TestCommonAttrsForegroundBlurStyle018() local 242 int32_t value = ARKUI_ADAPTIVE_COLOR_DEFAULT; TestCommonAttrsForegroundBlurStyle019() local 254 int32_t value = ARKUI_ADAPTIVE_COLOR_AVERAGE; TestCommonAttrsForegroundBlurStyle020() local 266 int32_t value = PARAM_NEGATIVE_100; TestCommonAttrsForegroundBlurStyle021() local 278 float value = PARAM_NEGATIVE_1; TestCommonAttrsForegroundBlurStyle022() local 290 float value = PARAM_0; TestCommonAttrsForegroundBlurStyle023() local 302 float value = PARAM_20; TestCommonAttrsForegroundBlurStyle024() local 314 float value = GRAY_SCALE_MAX; TestCommonAttrsForegroundBlurStyle025() local 326 float value = SIZE_200; TestCommonAttrsForegroundBlurStyle026() local 338 float value = PARAM_NEGATIVE_1; TestCommonAttrsForegroundBlurStyle027() local 350 float value = PARAM_0; TestCommonAttrsForegroundBlurStyle028() local 362 float value = PARAM_20; TestCommonAttrsForegroundBlurStyle029() local 374 float value = GRAY_SCALE_MAX; TestCommonAttrsForegroundBlurStyle030() local 386 float value = SIZE_200; TestCommonAttrsForegroundBlurStyle031() local 398 float value = PARAM_20; TestCommonAttrsForegroundBlurStyle032() local [all...] |
H A D | commonattrs_mask_test.cpp | 32 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, in TestCommonAttrsMask001() local 41 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsMask001() 44 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_0].u32, maskFillColor); in TestCommonAttrsMask001() 45 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_1].u32, maskStrokeColor); in TestCommonAttrsMask001() 46 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_2].f32, maskStrokeWidth); in TestCommonAttrsMask001() 47 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_3].i32, maskType); in TestCommonAttrsMask001() 48 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_4].f32, maskRectangularWidth); in TestCommonAttrsMask001() 49 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_5].f32, maskRectangularHeight); in TestCommonAttrsMask001() 50 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_ in TestCommonAttrsMask001() 67 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCommonAttrsMask002() local 102 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCommonAttrsMask003() local 136 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCommonAttrsMask004() local 169 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask005() local 194 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask006() local 218 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask007() local 243 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask008() local 268 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask009() local 293 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask010() local 318 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask011() local 345 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask012() local 372 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCommonAttrsMask013() local 393 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCommonAttrsMask014() local 418 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCommonAttrsMask015() local 443 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCommonAttrsMask016() local [all...] |
H A D | commonattrs_justifycontent_test.cpp | 23 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_START}}; in TestCommonAttrsJustifyContent001() local 24 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsJustifyContent001() 27 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_JUSTIFY_CONTENT)->value[PARAM_0].i32, ARKUI_FLEX_ALIGNMENT_START); in TestCommonAttrsJustifyContent001() 34 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_CENTER}}; in TestCommonAttrsJustifyContent002() local 35 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsJustifyContent002() 38 ASSERT_EQ(nodeAPI->getAttribute(row, NODE_ROW_JUSTIFY_CONTENT)->value[PARAM_0].i32, ARKUI_FLEX_ALIGNMENT_CENTER); in TestCommonAttrsJustifyContent002() 45 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_END}}; in TestCommonAttrsJustifyContent003() local 46 ArkUI_AttributeItem value_item = {value, sizeo in TestCommonAttrsJustifyContent003() 56 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_BETWEEN}}; TestCommonAttrsJustifyContent004() local 68 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_AROUND}}; TestCommonAttrsJustifyContent005() local 80 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_EVENLY}}; TestCommonAttrsJustifyContent006() local 92 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_START}}; TestCommonAttrsJustifyContent007() local 104 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_CENTER}}; TestCommonAttrsJustifyContent008() local 116 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_END}}; TestCommonAttrsJustifyContent009() local 127 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_BETWEEN}}; TestCommonAttrsJustifyContent010() local 139 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_AROUND}}; TestCommonAttrsJustifyContent011() local 151 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FLEX_ALIGNMENT_SPACE_EVENLY}}; TestCommonAttrsJustifyContent012() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/ |
H A D | customcomponent_foregroundblurstyle_test.cpp | 26 int32_t value = ARKUI_BLUR_STYLE_THIN; in TestCustomComponentForegroundBlurStyle001() local 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle001() 31 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestCustomComponentForegroundBlurStyle001() 38 int32_t value = ARKUI_BLUR_STYLE_REGULAR; in TestCustomComponentForegroundBlurStyle002() local 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle002() 43 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_FOREGROUND_BLUR_STYLE)->value[PARAM_0].i32, value); in TestCustomComponentForegroundBlurStyle002() 50 int32_t value = ARKUI_BLUR_STYLE_THICK; in TestCustomComponentForegroundBlurStyle003() local 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle003() 62 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THIN; TestCustomComponentForegroundBlurStyle004() local 74 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_REGULAR; TestCustomComponentForegroundBlurStyle005() local 86 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_THICK; TestCustomComponentForegroundBlurStyle006() local 98 int32_t value = ARKUI_BLUR_STYLE_BACKGROUND_ULTRA_THICK; TestCustomComponentForegroundBlurStyle007() local 110 int32_t value = ARKUI_BLUR_STYLE_NONE; TestCustomComponentForegroundBlurStyle008() local 122 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THIN; TestCustomComponentForegroundBlurStyle009() local 134 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THIN; TestCustomComponentForegroundBlurStyle010() local 146 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_REGULAR; TestCustomComponentForegroundBlurStyle011() local 158 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_THICK; TestCustomComponentForegroundBlurStyle012() local 170 int32_t value = ARKUI_BLUR_STYLE_COMPONENT_ULTRA_THICK; TestCustomComponentForegroundBlurStyle013() local 182 int32_t value = PARAM_NEGATIVE_100; TestCustomComponentForegroundBlurStyle014() local 194 int32_t value = ARKUI_COLOR_MODE_SYSTEM; TestCustomComponentForegroundBlurStyle015() local 206 int32_t value = ARKUI_COLOR_MODE_LIGHT; TestCustomComponentForegroundBlurStyle016() local 218 int32_t value = ARKUI_COLOR_MODE_DARK; TestCustomComponentForegroundBlurStyle017() local 230 int32_t value = PARAM_NEGATIVE_100; TestCustomComponentForegroundBlurStyle018() local 242 int32_t value = ARKUI_ADAPTIVE_COLOR_DEFAULT; TestCustomComponentForegroundBlurStyle019() local 254 int32_t value = ARKUI_ADAPTIVE_COLOR_AVERAGE; TestCustomComponentForegroundBlurStyle020() local 266 int32_t value = PARAM_NEGATIVE_100; TestCustomComponentForegroundBlurStyle021() local 278 float value = PARAM_NEGATIVE_1; TestCustomComponentForegroundBlurStyle022() local 290 float value = PARAM_0; TestCustomComponentForegroundBlurStyle023() local 302 float value = PARAM_20; TestCustomComponentForegroundBlurStyle024() local 314 float value = GRAY_SCALE_MAX; TestCustomComponentForegroundBlurStyle025() local 326 float value = SIZE_200; TestCustomComponentForegroundBlurStyle026() local 338 float value = PARAM_NEGATIVE_1; TestCustomComponentForegroundBlurStyle027() local 350 float value = PARAM_0; TestCustomComponentForegroundBlurStyle028() local 362 float value = PARAM_20; TestCustomComponentForegroundBlurStyle029() local 374 float value = GRAY_SCALE_MAX; TestCustomComponentForegroundBlurStyle030() local 386 float value = SIZE_200; TestCustomComponentForegroundBlurStyle031() local 398 float value = PARAM_20; TestCustomComponentForegroundBlurStyle032() local [all...] |
H A D | customcomponent_mask_test.cpp | 32 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, in TestCustomComponentMask001() local 41 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentMask001() 44 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_0].u32, maskFillColor); in TestCustomComponentMask001() 45 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_1].u32, maskStrokeColor); in TestCustomComponentMask001() 46 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_2].f32, maskStrokeWidth); in TestCustomComponentMask001() 47 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_3].i32, maskType); in TestCustomComponentMask001() 48 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_4].f32, maskRectangularWidth); in TestCustomComponentMask001() 49 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_5].f32, maskRectangularHeight); in TestCustomComponentMask001() 50 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_MASK)->value[PARAM_ in TestCustomComponentMask001() 67 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCustomComponentMask002() local 102 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCustomComponentMask003() local 136 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, TestCustomComponentMask004() local 169 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask005() local 194 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask006() local 218 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask007() local 243 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask008() local 268 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask009() local 293 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask010() local 318 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask011() local 345 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask012() local 372 ArkUI_NumberValue value[] = {{.u32 = maskFillColor}, {.u32 = maskStrokeColor}, {.f32 = maskStrokeWidth}, TestCustomComponentMask013() local 393 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCustomComponentMask014() local 418 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCustomComponentMask015() local 443 ArkUI_NumberValue value[] = {{.i32 = maskType}, TestCustomComponentMask016() local [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | bits.cc | 15 uint32_t RoundUpToPowerOfTwo32(uint32_t value) { in RoundUpToPowerOfTwo32() argument 16 DCHECK_LE(value, uint32_t{1} << 31); in RoundUpToPowerOfTwo32() 17 if (value) --value; in RoundUpToPowerOfTwo32() 20 return 1u << (32 - CountLeadingZeros(value)); in RoundUpToPowerOfTwo32() 22 value |= value >> 1; in RoundUpToPowerOfTwo32() 23 value |= value >> 2; in RoundUpToPowerOfTwo32() 24 value | in RoundUpToPowerOfTwo32() 31 RoundUpToPowerOfTwo64(uint64_t value) RoundUpToPowerOfTwo64() argument 50 int64_t const value = static_cast<int64_t>(lhs) * static_cast<int64_t>(rhs); SignedMulHigh32() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typePredicateStructuralMatch.js | 10 type Result = { value: string }; 13 function isResponseInData<T>(value: T | { data: T}): value is { data: T } { 14 return value.hasOwnProperty('data'); 17 function getResults1(value: Results | { data: Results }): Results { 18 return isResponseInData(value) ? value.data : value; 21 function isPlainResponse<T>(value: T | { data: T}): value i [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/ |
H A D | text_fontweight_test.cpp | 23 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_NORMAL); in TestTextFontWeight001() 30 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestTextFontWeight002() local 31 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextFontWeight002() 33 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestTextFontWeight002() 41 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestTextFontWeight003() local 42 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextFontWeight003() 44 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestTextFontWeight003() 52 ArkUI_NumberValue value[] in TestTextFontWeight004() local 63 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W400}}; TestTextFontWeight005() local 74 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W500}}; TestTextFontWeight006() local 85 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W600}}; TestTextFontWeight007() local 96 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W700}}; TestTextFontWeight008() local 107 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W800}}; TestTextFontWeight009() local 118 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_W900}}; TestTextFontWeight010() local 129 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLD}}; TestTextFontWeight011() local 140 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_BOLDER}}; TestTextFontWeight012() local 151 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_LIGHTER}}; TestTextFontWeight013() local 162 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_MEDIUM}}; TestTextFontWeight014() local 173 ArkUI_NumberValue value[] = {{.i32 = ARKUI_FONT_WEIGHT_REGULAR}}; TestTextFontWeight015() local 185 ArkUI_NumberValue value[] = {{.i32 = exceptionValue}}; TestTextFontWeight016() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | sd.c | 79 aa_ace->sid.identifier_authority.value[0] = 0; in init_system_file_sd() 80 aa_ace->sid.identifier_authority.value[1] = 0; in init_system_file_sd() 81 aa_ace->sid.identifier_authority.value[2] = 0; in init_system_file_sd() 82 aa_ace->sid.identifier_authority.value[3] = 0; in init_system_file_sd() 83 aa_ace->sid.identifier_authority.value[4] = 0; in init_system_file_sd() 85 aa_ace->sid.identifier_authority.value[5] = 5; in init_system_file_sd() 118 aa_ace->sid.identifier_authority.value[0] = 0; in init_system_file_sd() 119 aa_ace->sid.identifier_authority.value[1] = 0; in init_system_file_sd() 120 aa_ace->sid.identifier_authority.value[2] = 0; in init_system_file_sd() 121 aa_ace->sid.identifier_authority.value[ in init_system_file_sd() [all...] |
/third_party/json/include/nlohmann/detail/meta/ |
H A D | type_traits.hpp | 60 is_basic_json<typename std::remove_cv<typename std::remove_pointer<BasicJsonContext>::type>::type>::value 61 || std::is_same<BasicJsonContext, std::nullptr_t>::value > 122 static constexpr bool value = is_detected<get_template_function, const BasicJsonType&, T>::value; member 126 struct has_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >> 130 static constexpr bool value = member 132 const BasicJsonType&, T&>::value; 141 struct has_non_default_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >> 145 static constexpr bool value = member 147 const BasicJsonType&>::value; 160 static constexpr bool value = global() member 247 static constexpr auto value = global() member 271 static constexpr bool value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin; global() member 303 static constexpr bool value = global() member 326 static constexpr bool value = global() member 350 static constexpr auto value = global() member 364 static constexpr auto value = global() member 384 static constexpr bool value = global() member 423 static constexpr bool value = global() member 452 static constexpr auto value = global() member 472 static constexpr bool value = global() member 576 enum { value = sizeof(test<T>(nullptr)) == sizeof(char) }; // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg) global() enumerator 581 conditional_static_cast(U value) conditional_static_cast() argument 587 conditional_static_cast(U value) conditional_static_cast() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | frame_capture_utils_autogen.h | 335 T GetParamVal(const ParamValue &value); 339 const AHardwareBuffer *>(const ParamValue &value) in GetParamVal() 341 return value.AHardwareBufferConstPointerVal; in GetParamVal() 346 const ParamValue &value) in GetParamVal() 348 return value.AlphaTestFuncVal; in GetParamVal() 353 const ParamValue &value) in GetParamVal() 355 return value.BufferBindingVal; in GetParamVal() 359 inline gl::BufferID GetParamVal<ParamType::TBufferID, gl::BufferID>(const ParamValue &value) in GetParamVal() argument 361 return value.BufferIDVal; in GetParamVal() 366 const ParamValue &value) in GetParamVal() 338 GetParamVal(const ParamValue &value) GetParamVal() argument 345 GetParamVal( const ParamValue &value) GetParamVal() argument 352 GetParamVal( const ParamValue &value) GetParamVal() argument 365 GetParamVal( const ParamValue &value) GetParamVal() argument 372 GetParamVal( const ParamValue &value) GetParamVal() argument 379 GetParamVal( const ParamValue &value) GetParamVal() argument 387 GetParamVal(const ParamValue &value) GetParamVal() argument 393 GetParamVal( const ParamValue &value) GetParamVal() argument 400 GetParamVal( const ParamValue &value) GetParamVal() argument 407 GetParamVal( const ParamValue &value) GetParamVal() argument 414 GetParamVal(const ParamValue &value) GetParamVal() argument 420 GetParamVal(const ParamValue &value) GetParamVal() argument 426 GetParamVal( const ParamValue &value) GetParamVal() argument 433 GetParamVal(const ParamValue &value) GetParamVal() argument 439 GetParamVal(const ParamValue &value) GetParamVal() argument 445 GetParamVal( const ParamValue &value) GetParamVal() argument 452 GetParamVal(const ParamValue &value) GetParamVal() argument 458 GetParamVal(const ParamValue &value) GetParamVal() argument 464 GetParamVal( const ParamValue &value) GetParamVal() argument 471 GetParamVal( const ParamValue &value) GetParamVal() argument 478 GetParamVal(const ParamValue &value) GetParamVal() argument 484 GetParamVal(const ParamValue &value) GetParamVal() argument 490 GetParamVal( const ParamValue &value) GetParamVal() argument 497 GetParamVal( const ParamValue &value) GetParamVal() argument 504 GetParamVal( const ParamValue &value) GetParamVal() argument 511 GetParamVal(const ParamValue &value) GetParamVal() argument 517 GetParamVal( const ParamValue &value) GetParamVal() argument 524 GetParamVal(const ParamValue &value) GetParamVal() argument 530 GetParamVal(const ParamValue &value) GetParamVal() argument 536 GetParamVal(const ParamValue &value) GetParamVal() argument 542 GetParamVal(const ParamValue &value) GetParamVal() argument 548 GetParamVal(const ParamValue &value) GetParamVal() argument 554 GetParamVal(const ParamValue &value) GetParamVal() argument 560 GetParamVal(const ParamValue &value) GetParamVal() argument 566 GetParamVal( const ParamValue &value) GetParamVal() argument 573 GetParamVal(const ParamValue &value) GetParamVal() argument 579 GetParamVal(const ParamValue &value) GetParamVal() argument 585 GetParamVal( const ParamValue &value) GetParamVal() argument 592 GetParamVal( const ParamValue &value) GetParamVal() argument 599 GetParamVal( const ParamValue &value) GetParamVal() argument 606 GetParamVal(const ParamValue &value) GetParamVal() argument 613 GetParamVal( const ParamValue &value) GetParamVal() argument 620 GetParamVal(const ParamValue &value) GetParamVal() argument 626 GetParamVal( const ParamValue &value) GetParamVal() argument 633 GetParamVal(const ParamValue &value) GetParamVal() argument 639 GetParamVal(const ParamValue &value) GetParamVal() argument 645 GetParamVal( const ParamValue &value) GetParamVal() argument 652 GetParamVal(const ParamValue &value) GetParamVal() argument 658 GetParamVal(const ParamValue &value) GetParamVal() argument 664 GetParamVal( const ParamValue &value) GetParamVal() argument 671 GetParamVal( const ParamValue &value) GetParamVal() argument 679 GetParamVal(const ParamValue &value) GetParamVal() argument 685 GetParamVal(const ParamValue &value) GetParamVal() argument 691 GetParamVal(const ParamValue &value) GetParamVal() argument 697 GetParamVal(const ParamValue &value) GetParamVal() argument 703 GetParamVal( const ParamValue &value) GetParamVal() argument 710 GetParamVal(const ParamValue &value) GetParamVal() argument 716 GetParamVal( const ParamValue &value) GetParamVal() argument 723 GetParamVal(const ParamValue &value) GetParamVal() argument 729 GetParamVal(const ParamValue &value) GetParamVal() argument 735 GetParamVal( const ParamValue &value) GetParamVal() argument 742 GetParamVal(const ParamValue &value) GetParamVal() argument 748 GetParamVal(const ParamValue &value) GetParamVal() argument 754 GetParamVal( const ParamValue &value) GetParamVal() argument 761 GetParamVal(const ParamValue &value) GetParamVal() argument 767 GetParamVal(const ParamValue &value) GetParamVal() argument 773 GetParamVal( const ParamValue &value) GetParamVal() argument 780 GetParamVal(const ParamValue &value) GetParamVal() argument 786 GetParamVal(const ParamValue &value) GetParamVal() argument 792 GetParamVal(const ParamValue &value) GetParamVal() argument 798 GetParamVal( const ParamValue &value) GetParamVal() argument 805 GetParamVal(const ParamValue &value) GetParamVal() argument 811 GetParamVal(const ParamValue &value) GetParamVal() argument 817 GetParamVal( const ParamValue &value) GetParamVal() argument 824 GetParamVal(const ParamValue &value) GetParamVal() argument 830 GetParamVal( const ParamValue &value) GetParamVal() argument 837 GetParamVal(const ParamValue &value) GetParamVal() argument 843 GetParamVal( const ParamValue &value) GetParamVal() argument 850 GetParamVal(const ParamValue &value) GetParamVal() argument 856 GetParamVal(const ParamValue &value) GetParamVal() argument 862 GetParamVal( const ParamValue &value) GetParamVal() argument 869 GetParamVal(const ParamValue &value) GetParamVal() argument 875 GetParamVal(const ParamValue &value) GetParamVal() argument 881 GetParamVal( const ParamValue &value) GetParamVal() argument 888 GetParamVal(const ParamValue &value) GetParamVal() argument 894 GetParamVal(const ParamValue &value) GetParamVal() argument 900 GetParamVal(const ParamValue &value) GetParamVal() argument 906 GetParamVal( const ParamValue &value) GetParamVal() argument 913 GetParamVal(const ParamValue &value) GetParamVal() argument 919 GetParamVal( const ParamValue &value) GetParamVal() argument 926 GetParamVal(const ParamValue &value) GetParamVal() argument 932 GetParamVal(const ParamValue &value) GetParamVal() argument 938 GetParamVal( const ParamValue &value) GetParamVal() argument 945 GetParamVal(const ParamValue &value) GetParamVal() argument 951 GetParamVal( const ParamValue &value) GetParamVal() argument 959 GetParamVal(const ParamValue &value) GetParamVal() argument 966 GetParamVal(const ParamValue &value) GetParamVal() argument 972 GetParamVal(const ParamValue &value) GetParamVal() argument 978 GetParamVal( const ParamValue &value) GetParamVal() argument 985 GetParamVal( const ParamValue &value) GetParamVal() argument 992 GetParamVal( const ParamValue &value) GetParamVal() argument 999 GetParamVal(const ParamValue &value) GetParamVal() argument 1005 GetParamVal( const ParamValue &value) GetParamVal() argument 1012 GetParamVal(const ParamValue &value) GetParamVal() argument 1019 GetParamVal( const ParamValue &value) GetParamVal() argument 1026 GetParamVal(const ParamValue &value) GetParamVal() argument 1032 GetParamVal( const ParamValue &value) GetParamVal() argument 1039 GetParamVal( const ParamValue &value) GetParamVal() argument 1046 GetParamVal( const ParamValue &value) GetParamVal() argument 1054 GetParamVal( const ParamValue &value) GetParamVal() argument 1062 GetParamVal(const ParamValue &value) GetParamVal() argument 1069 GetParamVal( const ParamValue &value) GetParamVal() argument 1076 GetParamVal(const ParamValue &value) GetParamVal() argument 1082 GetParamVal( const ParamValue &value) GetParamVal() argument 1089 GetParamVal(const ParamValue &value) GetParamVal() argument 1095 GetParamVal(const ParamValue &value) GetParamVal() argument 1101 GetParamVal( const ParamValue &value) GetParamVal() argument 1108 GetParamVal(const ParamValue &value) GetParamVal() argument 1115 GetParamVal( const ParamValue &value) GetParamVal() argument 1122 GetParamVal(const ParamValue &value) GetParamVal() argument 1128 GetParamVal( const ParamValue &value) GetParamVal() argument 1135 GetParamVal( const ParamValue &value) GetParamVal() argument 1142 GetParamVal( const ParamValue &value) GetParamVal() argument 1150 GetParamVal(const ParamValue &value) GetParamVal() argument 1156 GetParamVal( const ParamValue &value) GetParamVal() argument 1163 GetParamVal( const ParamValue &value) GetParamVal() argument 1170 GetParamVal(const ParamValue &value) GetParamVal() argument 1177 GetParamVal( const ParamValue &value) GetParamVal() argument 1184 GetParamVal(const ParamValue &value) GetParamVal() argument 1190 GetParamVal( const ParamValue &value) GetParamVal() argument 1198 GetParamVal(const ParamValue &value) GetParamVal() argument 1204 GetParamVal( const ParamValue &value) GetParamVal() argument 1211 GetParamVal(const ParamValue &value) GetParamVal() argument 1217 GetParamVal( const ParamValue &value) GetParamVal() argument 1224 GetParamVal( const ParamValue &value) GetParamVal() argument 1231 GetParamVal( const ParamValue &value) GetParamVal() argument 1238 GetParamVal( const ParamValue &value) GetParamVal() argument 1245 GetParamVal(const ParamValue &value) GetParamVal() argument 1252 GetParamVal(const ParamValue &value) GetParamVal() argument 1259 GetParamVal( const ParamValue &value) GetParamVal() argument 1266 GetParamVal(const ParamValue &value) GetParamVal() argument 1273 GetParamVal( const ParamValue &value) GetParamVal() argument 1280 GetParamVal( const ParamValue &value) GetParamVal() argument 1287 GetParamVal( const ParamValue &value) GetParamVal() argument 1294 GetParamVal(const ParamValue &value) GetParamVal() argument 1301 GetParamVal( const ParamValue &value) GetParamVal() argument 1308 GetParamVal( const ParamValue &value) GetParamVal() argument 1315 GetParamVal(const ParamValue &value) GetParamVal() argument 1321 GetParamVal(const ParamValue &value) GetParamVal() argument 1327 GetParamVal( const ParamValue &value) GetParamVal() argument 1334 GetParamVal(const ParamValue &value) GetParamVal() argument 1340 GetParamVal(const ParamValue &value) GetParamVal() argument 1346 GetParamVal(const ParamValue &value) GetParamVal() argument 1353 AccessParamValue(ParamType paramType, const ParamValue &value) AccessParamValue() argument [all...] |
/third_party/node/lib/internal/util/ |
H A D | types.js | 9 function isTypedArray(value) { 10 return TypedArrayPrototypeGetSymbolToStringTag(value) !== undefined; 13 function isUint8Array(value) { 14 return TypedArrayPrototypeGetSymbolToStringTag(value) === 'Uint8Array'; 17 function isUint8ClampedArray(value) { 18 return TypedArrayPrototypeGetSymbolToStringTag(value) === 'Uint8ClampedArray'; 21 function isUint16Array(value) { 22 return TypedArrayPrototypeGetSymbolToStringTag(value) === 'Uint16Array'; 25 function isUint32Array(value) { 26 return TypedArrayPrototypeGetSymbolToStringTag(value) [all...] |
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/ |
H A D | validators.js | 20 function validateString(value, name) { 21 if (typeof value !== 'string') { 22 throw new ERR_INVALID_ARG_TYPE(name, 'String', value); 26 function validateUnion(value, name, union) { 27 if (!ArrayPrototypeIncludes(union, value)) { 28 throw new ERR_INVALID_ARG_TYPE(name, `('${ArrayPrototypeJoin(union, '|')}')`, value); 32 function validateBoolean(value, name) { 33 if (typeof value !== 'boolean') { 34 throw new ERR_INVALID_ARG_TYPE(name, 'Boolean', value); 38 function validateArray(value, nam [all...] |
/third_party/json/tests/src/ |
H A D | unit-items.cpp | 26 SECTION("value") 38 CHECK(i.value() == json(1)); 45 CHECK(i.value() == json(2)); 71 CHECK(i.value() == json(1)); 73 // change the value 74 i.value() = json(11); 75 CHECK(i.value() == json(11)); 82 CHECK(i.value() == json(2)); 84 // change the value 85 i.value() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir.cpp | 713 memcpy(& this->value, data, sizeof(this->value)); in ir_constant() 723 this->value.f16[i] = f16.bits; in ir_constant() 726 this->value.f[i] = 0; in ir_constant() 737 this->value.f[i] = f; in ir_constant() 740 this->value.f[i] = 0; in ir_constant() 751 this->value.d[i] = d; in ir_constant() 754 this->value.d[i] = 0.0; in ir_constant() 765 this->value.i16[i] = i16; in ir_constant() 768 this->value in ir_constant() 918 ir_constant *value = (ir_constant *) (value_list->get_head_raw()); ir_constant() local 1676 ir_dereference_array(ir_rvalue *value, ir_rvalue *array_index) ir_dereference_array() argument 1697 set_array(ir_rvalue *value) set_array() argument 1715 ir_dereference_record(ir_rvalue *value, const char *field) ir_dereference_record() argument [all...] |