/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_query.c | 231 uint64_t value = 0, value2 = 0; in llvmpipe_get_query_result_resource() local 235 value = 0; in llvmpipe_get_query_result_resource() 237 value = 1; in llvmpipe_get_query_result_resource() 241 /* don't write a value if fence hasn't signalled, in llvmpipe_get_query_result_resource() 248 value += pq->end[i]; in llvmpipe_get_query_result_resource() 255 value = value || pq->end[i]; in llvmpipe_get_query_result_resource() 259 value = pq->num_primitives_generated[0]; in llvmpipe_get_query_result_resource() 262 value = pq->num_primitives_written[0]; in llvmpipe_get_query_result_resource() 266 if (pq->end[i] > value) { in llvmpipe_get_query_result_resource() [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | structures.c | 38 return (NULL == container->name && NULL == container->value) ? SPDY_YES : SPDY_NO; in SPDYF_name_value_is_empty() 58 const char *value) in SPDY_name_value_add() 67 if(NULL == container || NULL == name || NULL == value || 0 == (len = strlen(name))) in SPDY_name_value_add() 69 //TODO there is old code handling value==NULL in SPDY_name_value_add() 70 //update it to handle strlen(value)==0 in SPDY_name_value_add() 85 if (NULL == (container->value = malloc(sizeof(char *)))) in SPDY_name_value_add() 90 /*if(NULL == value) in SPDY_name_value_add() 91 container->value[0] = NULL; in SPDY_name_value_add() 92 else */if (NULL == (container->value[0] = strdup (value))) in SPDY_name_value_add() 56 SPDY_name_value_add(struct SPDY_NameValue *container, const char *name, const char *value) SPDY_name_value_add() argument 565 char *value; SPDYF_name_value_from_stream() local [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_image_storage_type_test.cc | 34 EXPECT_EQ(t.value, ast::ImageFormat::kR8Unorm); in TEST_F() 42 EXPECT_EQ(t.value, ast::ImageFormat::kR8Snorm); in TEST_F() 50 EXPECT_EQ(t.value, ast::ImageFormat::kR8Uint); in TEST_F() 58 EXPECT_EQ(t.value, ast::ImageFormat::kR8Sint); in TEST_F() 66 EXPECT_EQ(t.value, ast::ImageFormat::kR16Uint); in TEST_F() 74 EXPECT_EQ(t.value, ast::ImageFormat::kR16Sint); in TEST_F() 82 EXPECT_EQ(t.value, ast::ImageFormat::kR16Float); in TEST_F() 90 EXPECT_EQ(t.value, ast::ImageFormat::kRg8Unorm); in TEST_F() 98 EXPECT_EQ(t.value, ast::ImageFormat::kRg8Snorm); in TEST_F() 106 EXPECT_EQ(t.value, as in TEST_F() [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglQueryConfigTests.cpp | 48 static void logConfigAttribute (TestLog& log, EGLenum attrib, EGLint value) in logConfigAttribute() argument 50 log << TestLog::Message << " " << eglu::getConfigAttribName(attrib) << ": " << eglu::getConfigAttribValueStr(attrib, value) << TestLog::EndMessage; in logConfigAttribute() 285 EGLint value; in getValue() local 287 eglGetConfigAttrib(m_display, config, attrib, &value); in getValue() 291 logConfigAttribute(log, attrib, value); in getValue() 293 return value; in getValue() 305 void checkColorBufferType (EGLint value) in checkColorBufferType() argument 307 const bool isRGBBuffer = value == EGL_RGB_BUFFER; in checkColorBufferType() 308 const bool isLuminanceBuffer = value == EGL_LUMINANCE_BUFFER; in checkColorBufferType() 309 const bool isYuvBuffer = value in checkColorBufferType() 321 checkCaveat(EGLint value) checkCaveat() argument 332 checkTransparentType(EGLint value) checkTransparentType() argument 343 checkBoolean(EGLenum attrib, EGLint value) checkBoolean() argument 354 checkInteger(EGLenum attrib, EGLint value) checkInteger() argument 368 checkSurfaceTypeMask(EGLint value) checkSurfaceTypeMask() argument 381 checkAttribute(EGLenum attrib, EGLint value) checkAttribute() argument 428 EGLint value; executeTest() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_layout_property.h | 39 auto value = MakeRefPtr<MarqueeLayoutProperty>(); variable 40 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 41 value->propPlayerStatus_ = ClonePlayerStatus(); 42 value->propScrollAmount_ = CloneScrollAmount(); 43 value->propDirection_ = CloneDirection(); 44 value->propLoop_ = CloneLoop(); 45 value->propAllowScale_ = CloneAllowScale(); 46 value->propSrc_ = CloneSrc(); 47 value->propFontSize_ = CloneFontSize(); 48 value [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/ |
H A D | linear_indicator_model_ng.cpp | 40 void LinearIndicatorModelNG::SetSpace(const Dimension& value) in SetSpace() argument 44 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, Space, value, frameNode); in SetSpace() 47 void LinearIndicatorModelNG::SetStrokeWidth(const Dimension& value) in SetStrokeWidth() argument 51 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, StrokeWidth, value, frameNode); in SetStrokeWidth() 54 void LinearIndicatorModelNG::SetStrokeRadius(const Dimension& value) in SetStrokeRadius() argument 58 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, StrokeRadius, value, frameNode); in SetStrokeRadius() 61 void LinearIndicatorModelNG::SetTrackBackgroundColor(const Color& value) in SetTrackBackgroundColor() argument 65 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, TrackBackgroundColor, value, frameNode); in SetTrackBackgroundColor() 68 void LinearIndicatorModelNG::SetTrackColor(const Color& value) in SetTrackColor() argument 72 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, TrackColor, value, frameNod in SetTrackColor() 75 Loop(bool value) Loop() argument 118 SetLoop(FrameNode* frameNode, bool value) SetLoop() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_picker_base.h | 46 bool SetStart(const std::string& value); 47 bool SetEnd(const std::string& value); 48 bool SetSelected(const std::string& value); 49 bool SetHasSecond(const std::string& value); 50 bool SetRange(const std::string& value); 51 bool SetColumnCount(const std::string& value); 52 bool SetHour24(const std::string& value); 53 bool SetLunar(const std::string& value); 54 bool SetShowLunar(const std::string& value); 55 bool SetPrefix(const std::string& value); [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | rating_model_impl.cpp | 62 void RatingModelImpl::SetRatingScore(double value) in SetRatingScore() argument 66 ratingComponent->SetRatingScore(value); in SetRatingScore() 69 void RatingModelImpl::SetIndicator(bool value) in SetIndicator() argument 73 ratingComponent->SetIndicator(value); in SetIndicator() 76 void RatingModelImpl::SetStars(int32_t value) in SetStars() argument 80 ratingComponent->SetStarNum(value); in SetStars() 83 void RatingModelImpl::SetStepSize(double value) in SetStepSize() argument 87 ratingComponent->SetStepSize(value); in SetStepSize() 90 void RatingModelImpl::SetForegroundSrc(const std::string& value, bool flag) in SetForegroundSrc() argument 94 ratingComponent->SetForegroundSrc(value); in SetForegroundSrc() 97 SetSecondarySrc(const std::string& value, bool flag) SetSecondarySrc() argument 104 SetBackgroundSrc(const std::string& value, bool flag) SetBackgroundSrc() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_model_ng.h | 40 void SetFontSize(const Dimension& value) override; 41 void SetTextColor(const Color& value) override; 42 void SetItalicFontStyle(Ace::FontStyle value) override; 43 void SetFontWeight(FontWeight value) override; 44 void SetFontFamily(const std::vector<std::string>& value) override; 45 void SetTextShadow(const std::vector<Shadow>& value) override; 46 void SetFontFeature(const FONT_FEATURES_LIST& value) override; 54 static void SetFontColor(FrameNode* frameNode, const Color& value); 55 static void SetFontSize(FrameNode* frameNode, const Dimension& value); 56 static void SetFontStyle(FrameNode* frameNode, Ace::FontStyle value); [all...] |
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_internal.h | 59 ARKTS_INLINE panda::Local<T> ARKTS_ToHandle(ARKTS_Value& value) in ARKTS_ToHandle() argument 61 auto v = BIT_CAST(value, panda::JSValueRef); in ARKTS_ToHandle() 64 addr = value; in ARKTS_ToHandle() 66 addr = &value; in ARKTS_ToHandle() 71 ARKTS_INLINE panda::JSValueRef ARKTS_ToValue(ARKTS_Value value) in ARKTS_ToValue() argument 73 auto v = BIT_CAST(value, panda::JSValueRef); in ARKTS_ToValue() 75 return *BIT_CAST(value, panda::JSValueRef*); in ARKTS_ToValue() 82 ARKTS_INLINE ARKTS_Value ARKTS_FromHandle(panda::Local<T>& value) in ARKTS_FromHandle() argument 84 if (value->IsHeapObject()) { in ARKTS_FromHandle() 85 return BIT_CAST(value, ARKTS_Valu in ARKTS_FromHandle() 91 ARKTS_ToResult(panda::EcmaVM* vm, ARKTS_Value value) ARKTS_ToResult() argument [all...] |
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | exif_metadata.h | 34 virtual int GetValue(const std::string &key, std::string &value) const override; 35 virtual bool SetValue(const std::string &key, const std::string &value) override; 57 int HandleMakerNote(std::string &value) const; 58 int HandleHwMnote(const std::string &key, std::string &value) const; 60 bool SetShort(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); 61 bool SetSShort(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); 62 bool SetLong(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); 63 bool SetSLong(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); 64 bool SetRational(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); 65 bool SetSRational(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value); [all...] |
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | resource_application_record.cpp | 87 bool ResourceApplicationRecord::ParseFromJson(const nlohmann::json& value)
in ParseFromJson() argument 89 if (value.empty()) {
in ParseFromJson() 90 BGTASK_LOGE("value is empty");
in ParseFromJson() 93 if (!CommonUtils::CheckJsonValue(value, {"uid", "pid", "bundleName", "resourceNumber"}) ||
in ParseFromJson() 94 !value.at("uid").is_number_integer() || !value.at("pid").is_number_integer() ||
in ParseFromJson() 95 !value.at("bundleName").is_string() || !value.at("resourceNumber").is_number_integer()) {
in ParseFromJson() 96 BGTASK_LOGE("checkJsonValue of value is failed");
in ParseFromJson() 99 this->uid_ = value in ParseFromJson() [all...] |
/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | lru_cache.h | 39 auto value = it->value;
in Get() local 41 return value;
in Get() 44 void Put(const std::string &key, const T &value)
in Put() argument 49 AddNode(Node(key, {value}));
in Put() 57 it->value.emplace_back(value);
in Put() 88 std::vector<T> value;
member 92 Node(std::string key, std::vector<T> value) : key(std::move(key)), value(st 104 auto value = it->value; MoveNodeToHead() local [all...] |
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
H A D | module.c | 26 unsigned long int value; in apply_relocate_add() local 40 value = sym->st_value + rela[i].r_addend; in apply_relocate_add() 54 *location = value + old_value; in apply_relocate_add() 57 old_value, value); in apply_relocate_add() 59 *location = value; in apply_relocate_add() 68 value += old_value; in apply_relocate_add() 71 (value >> 16); in apply_relocate_add() 73 (value & 0xFFFF); in apply_relocate_add() 76 old_value, value); in apply_relocate_add() 84 value in apply_relocate_add() [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_config.py | 19 value: str 22 if self.value == 'n': 24 return f'CONFIG_{self.name}={self.value}' 46 for name, value in self._entries.items(): 47 yield KconfigEntry(name, value) 49 def add_entry(self, name: str, value: str) -> None: 50 self._entries[name] = value 53 for name, value in self._entries.items(): 56 if value == 'n': 59 if value ! [all...] |
/third_party/gn/src/base/json/ |
H A D | json_writer.cc | 64 bool value; in BuildJSONString() local 65 bool result = node.GetAsBoolean(&value); in BuildJSONString() 67 json_string_->append(value ? "true" : "false"); in BuildJSONString() 72 int value; in BuildJSONString() local 73 bool result = node.GetAsInteger(&value); in BuildJSONString() 75 json_string_->append(IntToString(value)); in BuildJSONString() 80 std::string value; in BuildJSONString() local 81 bool result = node.GetAsString(&value); in BuildJSONString() 83 EscapeJSONString(value, true, json_string_); in BuildJSONString() 96 for (const auto& value in BuildJSONString() [all...] |
/third_party/jsframework/runtime/main/reactivity/ |
H A D | watcher.js | 13 * and fires callback when the expression value changes. 51 this.value = this.lazy 64 const value = this.getter.call(this.vm, this.vm); 68 traverse(value); 72 return value; 128 const value = this.get(); 130 value !== this.value || 131 ((isObject(value) || this.deep) && !this.shallow) 133 // Set new value [all...] |
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | attributes.c | 76 Status XvMCSetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int value) in XvMCSetAttribute() argument 94 context_priv->procamp.brightness = value / 1000.0f; in XvMCSetAttribute() 96 context_priv->procamp.contrast = value / 1000.0f + 1.0f; in XvMCSetAttribute() 98 context_priv->procamp.saturation = value / 1000.0f + 1.0f; in XvMCSetAttribute() 100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute() 102 context_priv->color_standard = value ? in XvMCSetAttribute() 115 XVMC_MSG(XVMC_TRACE, "[XvMC] Set attribute %s to value %d.\n", attr, value); in XvMCSetAttribute() 121 Status XvMCGetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int *value) in XvMCGetAttribute() argument 138 *value in XvMCGetAttribute() [all...] |
/third_party/node/lib/internal/webstreams/ |
H A D | encoding.js | 44 function isTextEncoderStream(value) { 45 return typeof value?.[kHandle] === 'object' && 46 value?.[kType] === 'TextEncoderStream'; 49 function isTextDecoderStream(value) { 50 return typeof value?.[kHandle] === 'object' && 51 value?.[kType] === 'TextDecoderStream'; 87 const value = this[kHandle].encode(finalChunk); 88 controller.enqueue(value); 154 const value = this[kHandle].decode(chunk, { stream: true }); 155 if (value) [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/resources/ |
H A D | differential_fuzz_library.js | 40 prettyPrinted = function prettyPrinted(value, depth=4) { 44 switch (typeof value) { 46 if (value === null) return "null"; 47 switch (classOf(value)) { 49 return prettyPrintedArray(value, depth); 51 return prettyPrintedObject(value, depth); 55 return origPrettyPrinted(value); 60 const result = map.call(array, (value, index, array) => { 61 if (value === undefined && !(index in array)) return ""; 62 return prettyPrinted(value, dept [all...] |
/third_party/node/deps/icu-small/source/tools/genccode/ |
H A D | genccode.c | 105 options[kOptDestDir].value = "."; in main() 150 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main() 152 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main() 180 writeCCode(filename, options[kOptDestDir].value, in main() 181 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, in main() 182 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main() 183 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, in main() 188 writeAssemblyCode(filename, options[kOptDestDir].value, in main() 189 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, in main() 190 options[kOptFilename].doesOccur ? options[kOptFilename].value in main() [all...] |
/third_party/libinput/test/ |
H A D | litest-device-elan-tablet.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_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 34 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 39 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 }, 40 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 45 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 46 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 47 { .type = EV_ABS, .code = ABS_PRESSURE, .value 89 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
H A D | litest-device-wacom-isdv4-524c-pen.c | 41 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 42 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 43 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 44 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 45 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 50 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 }, 51 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 56 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 57 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 58 { .type = EV_ABS, .code = ABS_PRESSURE, .value 64 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
H A D | litest-device-alps-3fg.c | 107 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 108 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 109 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 110 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, 111 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 112 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 113 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 118 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 119 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 120 { .type = EV_ABS, .code = ABS_Y, .value [all...] |
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn_mstbl.c | 18 static int do_tcreate(const char *value, const char *name); 34 if (!do_tcreate(mval->value, mval->name)) { in stbl_module_init() 53 * Create an table entry based on a name value pair. format is oid_name = 57 static int do_tcreate(const char *value, const char *name) in do_tcreate() argument 70 lst = X509V3_parse_list(value); in do_tcreate() 75 if (cnf->value == NULL) in do_tcreate() 78 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate() 82 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate() 86 if (!ASN1_str2mask(cnf->value, &tbl_mask) || !tbl_mask) in do_tcreate() 89 if (strcmp(cnf->value, "nomas in do_tcreate() [all...] |