/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/ |
H A D | customcomponent_lineargradient_test.cpp | 29 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestCustomComponentLinearGradient001() local 30 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentLinearGradient001() 35 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_LINEAR_GRADIENT)->value[PARAM_0].f32, SIZE_180); in TestCustomComponentLinearGradient001() 36 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_LINEAR_GRADIENT)->value[PARAM_1].i32, direction); in TestCustomComponentLinearGradient001() 37 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_LINEAR_GRADIENT)->value[PARAM_2].i32, repeating); in TestCustomComponentLinearGradient001() 51 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestCustomComponentLinearGradient002() local 52 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentLinearGradient002() 57 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_LINEAR_GRADIENT)->value[PARAM_ in TestCustomComponentLinearGradient002() 73 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient003() local 95 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient004() local 117 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient005() local 139 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient006() local 161 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient007() local 183 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient008() local 203 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient009() local 223 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCustomComponentLinearGradient010() local [all...] |
H A D | customcomponent_constraintsize_test.cpp | 27 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize001() local 28 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentConstraintSize001() 31 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_0].f32, minWidth); in TestCustomComponentConstraintSize001() 32 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCustomComponentConstraintSize001() 33 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_2].f32, minHeight); in TestCustomComponentConstraintSize001() 34 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_3].f32, maxHeight); in TestCustomComponentConstraintSize001() 45 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize002() local 46 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeo in TestCustomComponentConstraintSize002() 63 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; TestCustomComponentConstraintSize003() local 81 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; TestCustomComponentConstraintSize004() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/scroll/ |
H A D | scroll_lineargradient_test.cpp | 30 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestScrollLinearGradient001() local 31 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestScrollLinearGradient001() 36 ASSERT_EQ(nodeAPI->getAttribute(scroll, NODE_LINEAR_GRADIENT)->value[PARAM_0].f32, SIZE_180); in TestScrollLinearGradient001() 37 ASSERT_EQ(nodeAPI->getAttribute(scroll, NODE_LINEAR_GRADIENT)->value[PARAM_1].i32, direction); in TestScrollLinearGradient001() 38 ASSERT_EQ(nodeAPI->getAttribute(scroll, NODE_LINEAR_GRADIENT)->value[PARAM_2].i32, repeating); in TestScrollLinearGradient001() 52 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestScrollLinearGradient002() local 53 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestScrollLinearGradient002() 58 ASSERT_EQ(nodeAPI->getAttribute(scroll, NODE_LINEAR_GRADIENT)->value[PARAM_ in TestScrollLinearGradient002() 74 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient003() local 96 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient004() local 118 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient005() local 140 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient006() local 162 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient007() local 184 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient008() local 204 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestScrollLinearGradient009() local 222 ArkUI_NumberValue value[] = {{.f32 = angle}, {.i32 = ARKUI_LINEAR_GRADIENT_DIRECTION_CUSTOM}, {.i32 = false}}; TestScrollLinearGradient010() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_lineargradient_test.cpp | 29 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestCommonAttrsLinearGradient001() local 30 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsLinearGradient001() 35 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_LINEAR_GRADIENT)->value[PARAM_0].f32, SIZE_180); in TestCommonAttrsLinearGradient001() 36 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_LINEAR_GRADIENT)->value[PARAM_1].i32, direction); in TestCommonAttrsLinearGradient001() 37 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_LINEAR_GRADIENT)->value[PARAM_2].i32, repeating); in TestCommonAttrsLinearGradient001() 51 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestCommonAttrsLinearGradient002() local 52 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsLinearGradient002() 57 ASSERT_EQ(nodeAPI->getAttribute(column, NODE_LINEAR_GRADIENT)->value[PARAM_ in TestCommonAttrsLinearGradient002() 73 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient003() local 95 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient004() local 117 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient005() local 139 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient006() local 161 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient007() local 183 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient008() local 203 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient009() local 223 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestCommonAttrsLinearGradient010() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/listitem/ |
H A D | listitem_lineargradient_test.cpp | 29 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestListItemLinearGradient001() local 30 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestListItemLinearGradient001() 35 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_LINEAR_GRADIENT)->value[PARAM_0].f32, SIZE_180); in TestListItemLinearGradient001() 36 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_LINEAR_GRADIENT)->value[PARAM_1].i32, direction); in TestListItemLinearGradient001() 37 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_LINEAR_GRADIENT)->value[PARAM_2].i32, repeating); in TestListItemLinearGradient001() 51 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; in TestListItemLinearGradient002() local 52 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestListItemLinearGradient002() 57 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_LINEAR_GRADIENT)->value[PARAM_ in TestListItemLinearGradient002() 73 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient003() local 95 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient004() local 117 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient005() local 139 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient006() local 161 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient007() local 183 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient008() local 203 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient009() local 223 ArkUI_NumberValue value[PARAM_3] = {{.f32 = angle}, {.i32 = direction}, {.i32 = repeating}}; TestListItemLinearGradient010() local [all...] |
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | bad-imports.js | 24 for (const value of [null, true, "", Symbol(), 1, 0.1, NaN]) { 25 t(`Non-object imports argument: ${format_value(value)}`, 28 value); 31 for (const value of [undefined, null, true, "", Symbol(), 1, 0.1, NaN]) { 33 "module": value, 35 t(`Non-object module: ${format_value(value)}`, 49 for (const [value, name] of [[undefined, "undefined"], [{}, "empty object"], [{ "module\0": null }, "wrong property"]]) { 55 value); 58 for (const value of [undefined, null, true, "", Symbol(), 1, 0.1, NaN, {}]) { 59 t(`Importing a function with an incorrectly-typed value [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | substitute.h | 91 inline SubstituteArg(const char* value) in SubstituteArg() argument 92 : text_(value), size_(strlen(text_)) {} in SubstituteArg() 93 inline SubstituteArg(const string& value) in SubstituteArg() argument 94 : text_(value.data()), size_(value.size()) {} in SubstituteArg() 106 inline SubstituteArg(char value) in SubstituteArg() argument 107 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg() 108 inline SubstituteArg(short value) in SubstituteArg() argument 109 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 110 inline SubstituteArg(unsigned short value) in SubstituteArg() argument 112 SubstituteArg(int value) SubstituteArg() argument 114 SubstituteArg(unsigned int value) SubstituteArg() argument 116 SubstituteArg(long value) SubstituteArg() argument 118 SubstituteArg(unsigned long value) SubstituteArg() argument 120 SubstituteArg(long long value) SubstituteArg() argument 122 SubstituteArg(unsigned long long value) SubstituteArg() argument 124 SubstituteArg(float value) SubstituteArg() argument 126 SubstituteArg(double value) SubstituteArg() argument 128 SubstituteArg(bool value) SubstituteArg() argument [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | UnsafeUtil.java | 124 static void putByte(Object target, long offset, byte value) { in putByte() argument 125 MEMORY_ACCESSOR.putByte(target, offset, value); in putByte() 132 static void putInt(Object target, long offset, int value) { in putInt() argument 133 MEMORY_ACCESSOR.putInt(target, offset, value); in putInt() 140 static void putLong(Object target, long offset, long value) { in putLong() argument 141 MEMORY_ACCESSOR.putLong(target, offset, value); in putLong() 148 static void putBoolean(Object target, long offset, boolean value) { in putBoolean() argument 149 MEMORY_ACCESSOR.putBoolean(target, offset, value); in putBoolean() 156 static void putFloat(Object target, long offset, float value) { in putFloat() argument 157 MEMORY_ACCESSOR.putFloat(target, offset, value); in putFloat() 164 putDouble(Object target, long offset, double value) putDouble() argument 172 putObject(Object target, long offset, Object value) putObject() argument 180 putByte(byte[] target, long index, byte value) putByte() argument 188 putInt(int[] target, long index, int value) putInt() argument 197 putLong(long[] target, long index, long value) putLong() argument 207 putBoolean(boolean[] target, long index, boolean value) putBoolean() argument 217 putFloat(float[] target, long index, float value) putFloat() argument 227 putDouble(double[] target, long index, double value) putDouble() argument 237 putObject(Object[] target, long index, Object value) putObject() argument 258 putByte(long address, byte value) putByte() argument 266 putInt(long address, int value) putInt() argument 274 putLong(long address, long value) putLong() argument 551 putByte(Object target, long offset, byte value) putByte() argument 557 putInt(Object target, long offset, int value) putInt() argument 565 putLong(Object target, long offset, long value) putLong() argument 571 putBoolean(Object target, long offset, boolean value) putBoolean() argument 575 putFloat(Object target, long offset, float value) putFloat() argument 579 putDouble(Object target, long offset, double value) putDouble() argument 585 putObject(Object target, long offset, Object value) putObject() argument 599 putByte(long address, byte value) putByte() argument 603 putInt(long address, int value) putInt() argument 607 putLong(long address, long value) putLong() argument 628 putByte(long address, byte value) putByte() argument 638 putInt(long address, int value) putInt() argument 648 putLong(long address, long value) putLong() argument 658 putByte(Object target, long offset, byte value) putByte() argument 668 putBoolean(Object target, long offset, boolean value) putBoolean() argument 678 putFloat(Object target, long offset, float value) putFloat() argument 688 putDouble(Object target, long offset, double value) putDouble() argument 720 putByte(long address, byte value) putByte() argument 730 putInt(long address, int value) putInt() argument 740 putLong(long address, long value) putLong() argument 754 putByte(Object target, long offset, byte value) putByte() argument 772 putBoolean(Object target, long offset, boolean value) putBoolean() argument 786 putFloat(Object target, long offset, float value) putFloat() argument 796 putDouble(Object target, long offset, double value) putDouble() argument 840 putByte(long address, byte value) putByte() argument 850 putInt(long address, int value) putInt() argument 860 putLong(long address, long value) putLong() argument 874 putByte(Object target, long offset, byte value) putByte() argument 892 putBoolean(Object target, long offset, boolean value) putBoolean() argument 906 putFloat(Object target, long offset, float value) putFloat() argument 916 putDouble(Object target, long offset, double value) putDouble() argument 948 putByteBigEndian(Object target, long offset, byte value) putByteBigEndian() argument 955 putByteLittleEndian(Object target, long offset, byte value) putByteLittleEndian() argument 970 putBooleanBigEndian(Object target, long offset, boolean value) putBooleanBigEndian() argument 974 putBooleanLittleEndian(Object target, long offset, boolean value) putBooleanLittleEndian() argument [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | Message.php | 196 protected function writeWrapperValue($member, $value) 199 $wrapped_value = $value; 200 if (!is_null($value)) { 204 $wrapped_value->setValue($value); 237 protected function writeOneof($number, $value) 243 $oneof_field->setValue($value); 264 $value = null; variable 362 private static function parseFieldFromStreamNoTag($input, $field, &$value) 366 if (!GPBWire::readDouble($input, $value)) { 372 if (!GPBWire::readFloat($input, $value)) { 425 $value = new MapEntry($field->getMessageType()); global() variable 428 $value = new $klass; global() variable 490 $value = null; global() variable 1022 $value = bcsub($value, "18446744073709551616"); global() variable 1130 $value = $msg; global() variable 1209 $value = new Value(); global() variable 1222 $value = new Value(); global() variable 1339 $value = $this->$getter(); global() variable 1687 $value = bcadd($value, "4294967296"); global() variable 1694 $value = bcadd($value, "18446744073709551616"); global() variable 1748 $value = json_encode($value, JSON_UNESCAPED_UNICODE); global() variable 1831 $value = $this->$getter(); global() variable 1902 $value = $this->$getter(); global() variable [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cSeparateShaderObjsTests.cpp | 71 * * Test with invalid type. Expect INVALID_ENUM and zero return value. 75 * * Test with count < 0. Expect INVALID_VALUE and zero return value. 167 * * Test with invalid value. Expect INVALID_VALUE GL error 870 glw::GLint value; in checkProgInfoLog() local 875 gl.getProgramPipelineiv(pipeline, GL_INFO_LOG_LENGTH, &value); in checkProgInfoLog() 876 std::vector<char> infoLogBuf(value + 1); in checkProgInfoLog() 882 bufSize = value / 2; // read half the log in checkProgInfoLog() 888 bufSize = value; in checkProgInfoLog() 915 glw::GLuint value; in iterate() local 949 gl.getProgramPipelineiv(pipelines[0], GL_ACTIVE_PROGRAM, (glw::GLint*)&value); in iterate() 1260 progUniformi(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, int* value) progUniformi() argument 1281 progUniformui(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, unsigned int* value) progUniformui() argument 1302 progUniformf(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, float* value) progUniformf() argument 1323 activeUniformi(const glw::Functions& gl, int arraySize, int* location, int* value) activeUniformi() argument 1344 activeUniformui(const glw::Functions& gl, int arraySize, int* location, unsigned int* value) activeUniformui() argument 1365 activeUniformf(const glw::Functions& gl, int arraySize, int* location, float* value) activeUniformf() argument 1711 float* value = &data[0]; setAndCompareMatrixUniforms() local 2005 glw::GLint value = 0; logProgramInfoLog() local 2347 glw::GLint value; iterate() local 2625 glw::GLint value = 0; logProgramInfoLog() local 2670 glw::GLuint value; iterate() local [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | string_helper.cpp | 47 bool StringHelper::StartWith(const std::string &value, char prefix)
in StartWith() argument 49 return value.find(prefix) == 0;
in StartWith() 52 bool StringHelper::StartWith(const std::string &value, const std::string &prefix)
in StartWith() argument 54 return value.find(prefix) == 0;
in StartWith() 57 bool StringHelper::EndWith(const std::string &value, char suffix)
in EndWith() argument 59 if (value.empty()) {
in EndWith() 62 return value.back() == suffix;
in EndWith() 65 bool StringHelper::EndWith(const std::string &value, const std::string &suffix)
in EndWith() argument 67 size_t index = value.rfind(suffix);
in EndWith() 72 return index + suffix.size() == value in EndWith() 75 Replace(const std::string &value, char oldChar, char newChar) Replace() argument 91 Replace(const std::string &value, const std::string &oldstr, const std::string &newstr) Replace() argument 102 Replace( const std::string &value, size_t position, const std::string &substr, const std::string &newstr) Replace() argument 114 Replace(const std::string &value, size_t position, size_t len, const std::string &newStr) Replace() argument 125 SubStr(const std::string &value, size_t start, size_t end) SubStr() argument 133 StrToLower(const std::string &value) StrToLower() argument 144 StrToUpper(const std::string &value) StrToUpper() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkMathPriv.h | 14 * Return the integer square root of value, with a bias of bitBias 16 int32_t SkSqrtBits(int32_t value, int bitBias); 23 * Returns (value < 0 ? 0 : value) efficiently (i.e. no compares or branches) 25 static inline int SkClampPos(int value) { in SkClampPos() argument 26 return value & ~(value >> 31); in SkClampPos() 68 /** Given a positive value and a positive max, return the value 70 Note: only works as long as max - value does 73 SkClampUMax(unsigned value, unsigned max) SkClampUMax() argument 84 sk_negate_to_size_t(int32_t value) sk_negate_to_size_t() argument 225 SkNextLog2(uint32_t value) SkNextLog2() argument 230 SkNextLog2_portable(uint32_t value) SkNextLog2_portable() argument 244 SkPrevLog2(uint32_t value) SkPrevLog2() argument 249 SkPrevLog2_portable(uint32_t value) SkPrevLog2_portable() argument 259 SkNextPow2(int value) SkNextPow2() argument 264 SkNextPow2_portable(int value) SkNextPow2_portable() argument 274 SkPrevPow2(int value) SkPrevPow2() argument 279 SkPrevPow2_portable(int value) SkPrevPow2_portable() argument [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | ParagraphCache.cpp | 265 Entry(ParagraphCacheValue* value) : fValue(value) {} in Entry() 330 bool ParagraphCache::useCachedLayout(const ParagraphImpl& paragraph, const ParagraphCacheValue* value) { in useCachedLayout() argument 331 if (value && value->indents == paragraph.fIndents && in useCachedLayout() 332 paragraph.getLineBreakStrategy() == value->linebreakStrategy && in useCachedLayout() 333 paragraph.getWordBreakType() == value->wordBreakType && in useCachedLayout() 334 abs(paragraph.fLayoutRawWidth - value->fLayoutRawWidth) < 1.f && in useCachedLayout() 335 paragraph.fParagraphStyle.getMaxLines() == value->maxlines && in useCachedLayout() 336 paragraph.fParagraphStyle.ellipsized() == value in useCachedLayout() 360 SetStoredLayoutImpl(ParagraphImpl& paragraph, ParagraphCacheValue* value) SetStoredLayoutImpl() argument 404 ParagraphCacheValue* value = (*entry)->fValue.get(); GetStoredLayout() local 502 ParagraphCacheValue* value = new ParagraphCacheValue(std::move(key), paragraph); updateParagraph() local 538 ParagraphCacheValue* value = new ParagraphCacheValue(std::move(key), paragraph); cacheLayout() local [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | constructor.py | 122 return node.value 130 for child in node.value] 138 for key_node, value_node in node.value: 143 value = self.construct_object(value_node, deep=deep) 144 mapping[key] = value 153 for key_node, value_node in node.value: 155 value = self.construct_object(value_node, deep=deep) 156 pairs.append((key, value)) 175 for key_node, value_node in node.value: 176 if key_node.tag == 'tag:yaml.org,2002:value' [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/slider/ |
H A D | slider_blockcolor_test.cpp | 23 ASSERT_EQ(nodeAPI->getAttribute(slider, NODE_SLIDER_BLOCK_COLOR)->value[PARAM_0].u32, 0xFFFFFFFF); in TestSliderBlockColor001() 30 ArkUI_NumberValue value[] = {{.u32 = 0xFFFF0000}}; in TestSliderBlockColor002() local 31 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestSliderBlockColor002() 34 ASSERT_EQ(nodeAPI->getAttribute(slider, NODE_SLIDER_BLOCK_COLOR)->value[PARAM_0].u32, 0xFFFF0000); in TestSliderBlockColor002() 41 ArkUI_NumberValue value[] = {{.u32 = 0xFF000000}}; in TestSliderBlockColor003() local 42 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestSliderBlockColor003() 45 ASSERT_EQ(nodeAPI->getAttribute(slider, NODE_SLIDER_BLOCK_COLOR)->value[PARAM_0].u32, 0xFF000000); in TestSliderBlockColor003() 52 ArkUI_NumberValue value[] in TestSliderBlockColor004() local 63 ArkUI_NumberValue value[] = {{.u32 = 0x00FFFFFF}}; TestSliderBlockColor005() local 74 ArkUI_NumberValue value[] = {{.u32 = 0x80FFFFFF}}; TestSliderBlockColor006() local 85 ArkUI_NumberValue value[] = {{.u32 = 0x00000000}}; TestSliderBlockColor007() local [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_binary.c | 46 unsigned value = util_le32_to_cpu(*(uint32_t *)(data + i + 4)); in ac_parse_shader_binary_config() local 54 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 8); in ac_parse_shader_binary_config() 56 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4); in ac_parse_shader_binary_config() 58 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in ac_parse_shader_binary_config() 60 conf->float_mode = G_00B028_FLOAT_MODE(value); in ac_parse_shader_binary_config() 61 conf->rsrc1 = value; in ac_parse_shader_binary_config() 64 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in ac_parse_shader_binary_config() 66 conf->num_shared_vgprs = G_00B02C_SHARED_VGPR_CNT(value); in ac_parse_shader_binary_config() 67 conf->rsrc2 = value; in ac_parse_shader_binary_config() 70 conf->num_shared_vgprs = G_00B12C_SHARED_VGPR_CNT(value); in ac_parse_shader_binary_config() [all...] |
/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
H A D | getitimer01.c | 21 static struct itimerval *value; variable 35 value->it_value.tv_sec = sec; in set_setitimer_value() 36 value->it_value.tv_usec = usec; in set_setitimer_value() 37 value->it_interval.tv_sec = sec; in set_setitimer_value() 38 value->it_interval.tv_usec = usec; in set_setitimer_value() 54 TST_EXP_PASS(getitimer(tc->which, value)); in verify_getitimer() 55 TST_EXP_EQ_LI(value->it_value.tv_sec, 0); in verify_getitimer() 56 TST_EXP_EQ_LI(value->it_value.tv_usec, 0); in verify_getitimer() 57 TST_EXP_EQ_LI(value->it_interval.tv_sec, 0); in verify_getitimer() 58 TST_EXP_EQ_LI(value in verify_getitimer() [all...] |
/third_party/libinput/test/ |
H A D | litest-device-bcm5974.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 36 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 37 { .type = EV_ABS, .code = ABS_MT_ORIENTATION, .value = LITEST_AUTO_ASSIGN }, 38 { .type = EV_ABS, .code = ABS_MT_TOUCH_MAJOR, .value = LITEST_AUTO_ASSIGN }, 39 { .type = EV_ABS, .code = ABS_MT_TOUCH_MINOR, .value 59 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_job_render.c | 362 /* Note that the unit of the return value depends on the GPU. For cores with the 770 pvr_csb_pack (&isp_mtile_size, CR_ISP_MTILE_SIZE, value) { in pvr_rogue_get_cr_isp_mtile_size_val() 771 value.x = mtile_info->mtile_x1; in pvr_rogue_get_cr_isp_mtile_size_val() 772 value.y = mtile_info->mtile_y1; in pvr_rogue_get_cr_isp_mtile_size_val() 776 value.x <<= 1; in pvr_rogue_get_cr_isp_mtile_size_val() 779 value.y <<= 1; in pvr_rogue_get_cr_isp_mtile_size_val() 782 value.x <<= 1; in pvr_rogue_get_cr_isp_mtile_size_val() 785 value.y <<= 1; in pvr_rogue_get_cr_isp_mtile_size_val() 788 value.y <<= 1; in pvr_rogue_get_cr_isp_mtile_size_val() 790 assert(!"Unsupported ISP samples per pixel value"); in pvr_rogue_get_cr_isp_mtile_size_val() 945 float value; pvr_rt_dataset_ws_create_info_init() local [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | channel.sub.js | 122 this.readSockets.forEach(value => sockets.push(value)); 123 this.writeSockets.forEach(value => sockets.push(value[0])); 417 let value = prop in obj ? parseInt(obj[prop]) : 0; 418 return Number.isNaN(value) ? 0 : value; 579 * @returns {Promise} - Promise resolving to the return value 628 function typeName(value) { 629 let type = typeof value; [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | privateNameDuplicateField.js | 25 set #foo(value: string) { } 49 static set #foo(value: string) { } 75 set #foo(value: string) { } 99 static set #foo(value: string) { } 126 set #foo(value: string) { } 150 static set #foo(value: string) { } 157 set #foo(value: string) { } 163 set #foo(value: string) { } 169 set #foo(value: string) { } 175 set #foo(value [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/ |
H A D | memory_test.cc | 74 // distinguish between its default and value initialized states (without 129 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 136 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 143 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 173 static_assert(std::is_same<decltype(p), std::unique_ptr<ArrayWatch[]>>::value, in TEST() 240 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 246 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 252 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 314 EXPECT_TRUE((std::is_same<TraitsWith::pointer, PointerWith>::value)); in TEST() 315 EXPECT_TRUE((std::is_same<TraitsWith::element_type, int32_t>::value)); in TEST() 545 int value; global() member 589 int value; global() member [all...] |
/drivers/peripheral/vibrator/chipset/drv2605l/ |
H A D | vibrator_drv2605l_driver.c | 117 uint8_t value; in DetectDrv2605lDevice() local 132 ret = ReadDrv2605l(&drvData->drv2605lCfgData->vibratorBus.i2cCfg, chipIdReg, &value, sizeof(value)); in DetectDrv2605lDevice() 139 if (value != chipIdValue) { in DetectDrv2605lDevice() 151 uint8_t value[DRV2605L_VALUE_BUTT]; in InitDrv2605lChip() local 153 value[DRV2605L_ADDR_INDEX] = (uint8_t)DRV2605_REG_CONTROL3; in InitDrv2605lChip() 154 value[DRV2605L_VALUE_INDEX] = (uint8_t)DRV2605_MODE_OPEN_LOOP; in InitDrv2605lChip() 155 if (WriteDrv2605l(&drv2605lCfgData->vibratorBus.i2cCfg, value, sizeof(value)) != HDF_SUCCESS) { in InitDrv2605lChip() 156 HDF_LOGE("%s: i2c addr [%0X] write failed", __func__, value[DRV2605L_ADDR_INDE in InitDrv2605lChip() 186 uint8_t value[DRV2605L_VALUE_BUTT]; SetModulationParameter() local 221 uint8_t value[DRV2605L_VALUE_BUTT]; StartModulationParameter() local 239 uint8_t value[DRV2605L_VALUE_BUTT]; StopModulationParameter() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/ |
H A D | image_bordercolor_test.cpp | 35 ArkUI_NumberValue value[] = {{.u32 = borderColor}}; in TestImageBorderColor001() local 36 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestImageBorderColor001() 39 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_0].u32, borderColor); in TestImageBorderColor001() 40 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_1].u32, borderColor); in TestImageBorderColor001() 41 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_2].u32, borderColor); in TestImageBorderColor001() 42 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_3].u32, borderColor); in TestImageBorderColor001() 50 ArkUI_NumberValue value[] = {{.u32 = borderColor}}; in TestImageBorderColor002() local 51 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeo in TestImageBorderColor002() 68 ArkUI_NumberValue value[] = { TestImageBorderColor003() local 87 ArkUI_NumberValue value[] = { TestImageBorderColor004() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/ |
H A D | text_shadow_test.cpp | 23 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_DEFAULT_XS}}; in TestTextShadow001() local 24 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextShadow001() 27 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_SHADOW)->value[PARAM_0].i32, ARKUI_SHADOW_STYLE_OUTER_DEFAULT_XS); in TestTextShadow001() 34 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_DEFAULT_SM}}; in TestTextShadow002() local 35 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextShadow002() 38 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_SHADOW)->value[PARAM_0].i32, ARKUI_SHADOW_STYLE_OUTER_DEFAULT_SM); in TestTextShadow002() 45 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_DEFAULT_MD}}; in TestTextShadow003() local 46 ArkUI_AttributeItem valueItem = {value, sizeo in TestTextShadow003() 56 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_DEFAULT_LG}}; TestTextShadow004() local 67 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_FLOATING_SM}}; TestTextShadow005() local 78 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SHADOW_STYLE_OUTER_FLOATING_MD}}; TestTextShadow006() local 90 ArkUI_NumberValue value[] = {{.i32 = exception}}; TestTextShadow007() local [all...] |