/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
H A D | virgl_drm_winsys.c | 338 return (params[param_resource_blob].value && in use_explicit_stride() 1000 if (params[param_capset_fix].value) { in virgl_drm_get_caps() 1167 params[param_supported_capset_ids].value); in virgl_init_context() 1170 params[param_supported_capset_ids].value); in virgl_init_context() 1178 ctx_set_param.value = (supports_capset_virgl2) ? in virgl_init_context() 1209 uint64_t value = 0; in virgl_drm_winsys_create() local 1211 getparam.value = (uint64_t)(uintptr_t)&value; in virgl_drm_winsys_create() 1213 params[i].value = (ret == 0) ? value in virgl_drm_winsys_create() [all...] |
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | cmake.py | 151 for value in values: 152 output.write(CMakeStringEscape(value)) 164 for value in values: 165 output.write(CMakeStringEscape(value)) 177 for value in values: 178 output.write(CMakeStringEscape(value)) 183 def SetVariable(output, variable_name, value): 188 output.write(CMakeStringEscape(value)) 201 output.write('"\n "'.join([CMakeStringEscape(value) for value i [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer_decoder.cpp | 81 ImGui::Text("%s: %s", iter.name, iter.value); in aub_viewer_print_group() 302 descriptor_offset = strtol(iter.value, NULL, 16); in handle_media_interface_descriptor_load() 305 strtol(iter.value, NULL, 16) / (desc->dw_length * 4); in handle_media_interface_descriptor_load() 330 ksp = strtoll(iter.value, NULL, 16); in handle_media_interface_descriptor_load() 332 sampler_offset = strtol(iter.value, NULL, 16); in handle_media_interface_descriptor_load() 334 sampler_count = strtol(iter.value, NULL, 10); in handle_media_interface_descriptor_load() 336 binding_table_offset = strtol(iter.value, NULL, 16); in handle_media_interface_descriptor_load() 338 binding_entry_count = strtol(iter.value, NULL, 10); in handle_media_interface_descriptor_load() 481 is_simd8 = strcmp(iter.value, "SIMD8") == 0; in decode_single_ksp() 483 is_simd8 = strcmp(iter.value, "SIMD in decode_single_ksp() [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | cmake.py | 151 for value in values: 152 output.write(CMakeStringEscape(value)) 164 for value in values: 165 output.write(CMakeStringEscape(value)) 177 for value in values: 178 output.write(CMakeStringEscape(value)) 183 def SetVariable(output, variable_name, value): 188 output.write(CMakeStringEscape(value)) 201 output.write('"\n "'.join([CMakeStringEscape(value) for value i [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-debugger.cc | 20 #include "src/inspector/v8-value-utils.h" 640 v8::Local<v8::Context> context, v8::Local<v8::Value> value, in getTargetScopes() 647 m_isolate, value.As<v8::Function>()); in getTargetScopes() 651 v8::debug::GeneratorObject::Cast(value); in getTargetScopes() 655 m_isolate, value.As<v8::Object>()); in getTargetScopes() 746 v8::Local<v8::Value> value; in collectionsEntries() local 747 if (isKeyValue && !entries->Get(context, i + 1).ToLocal(&value)) continue; in collectionsEntries() 753 toV8StringInternalized(isolate, isKeyValue ? "key" : "value"), item); in collectionsEntries() 756 toV8StringInternalized(isolate, "value"), value); in collectionsEntries() 639 getTargetScopes( v8::Local<v8::Context> context, v8::Local<v8::Value> value, ScopeTargetKind kind) getTargetScopes() argument 766 internalProperties( v8::Local<v8::Context> context, v8::Local<v8::Value> value) internalProperties() argument [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | implementation-visitor.h | 30 // LocationReference is the representation of an l-value, so a value that might 47 // An unassignable value. {description} is only used for error messages. 55 // A heap reference, that is, a tagged value and an offset to encode an inner 63 // A reference to an array on the heap. That is, a tagged value, an offset to 273 : Binding(manager, name->value, std::forward<Args>(args)...) { in Binding() 324 Binding<T>* Add(std::string name, T value, bool mark_as_used = false) { in Add() argument 327 std::make_unique<Binding<T>>(manager_, name, std::move(value)); in Add() 334 Binding<T>* Add(const Identifier* name, T value, bool mark_as_used = false) { in Add() argument 335 ReportErrorIfAlreadyBound(name->value); in Add() 397 base::Optional<LocationReference> value; global() member in v8::internal::torque::LocalValue [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExecutablePropertiesTests.cpp | 350 if (statistics[ndx][statNdx].value.b32 != VK_TRUE && statistics[ndx][statNdx].value.b32 != VK_FALSE) in verifyStatistics() 400 bool match = statistics[0][statNdx0].value.b32 == statistics[1][statNdx1].value.b32; in verifyStatistics() 403 << (statistics[0][statNdx0].value.b32 ? "VK_TRUE" : "VK_FALSE") in verifyStatistics() 411 bool match = statistics[0][statNdx0].value.i64 == statistics[1][statNdx1].value.i64; in verifyStatistics() 414 << statistics[0][statNdx0].value.i64 in verifyStatistics() 422 bool match = statistics[0][statNdx0].value.u64 == statistics[1][statNdx1].value in verifyStatistics() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | LiveDebugVariables.cpp | 137 /// Map of where a user value is live, and its location. 148 /// A user value is a part of a debug info user variable. 163 UserValue *next = nullptr; ///< Next value in equivalence class, or null. 168 /// Map of slot indices where this value is live. 194 /// Get the leader of this value's equivalence class. 238 /// we would need a very big vector to put the value at the right position. 270 DbgValueLocation Loc = I.value(); in removeLocationIfUnused() 278 DbgValueLocation Loc = I.value(); in removeLocationIfUnused() 287 /// Add a definition point to this value. 309 /// \param LR Restrict liveness to where LR has the value VN [all...] |
/third_party/python/Modules/ |
H A D | _tracemalloc.c | 836 tracemalloc_clear_filename(void *value) in tracemalloc_clear_filename() argument 838 PyObject *filename = (PyObject *)value; in tracemalloc_clear_filename() 1195 const void *key, const void *value, in tracemalloc_copy_trace() 1200 trace_t *trace = (trace_t *)value; in tracemalloc_copy_trace() 1236 const void *key, const void *value, in tracemalloc_copy_domain() 1242 _Py_hashtable_t *traces = (_Py_hashtable_t *)value; in tracemalloc_copy_domain() 1277 const void *key, const void *value, in tracemalloc_get_traces_fill() 1282 const trace_t *trace = (const trace_t *)value; in tracemalloc_get_traces_fill() 1302 const void *key, const void *value, in tracemalloc_get_traces_domain() 1308 _Py_hashtable_t *traces = (_Py_hashtable_t *)value; in tracemalloc_get_traces_domain() 1194 tracemalloc_copy_trace(_Py_hashtable_t *traces, const void *key, const void *value, void *user_data) tracemalloc_copy_trace() argument 1235 tracemalloc_copy_domain(_Py_hashtable_t *domains, const void *key, const void *value, void *user_data) tracemalloc_copy_domain() argument 1276 tracemalloc_get_traces_fill(_Py_hashtable_t *traces, const void *key, const void *value, void *user_data) tracemalloc_get_traces_fill() argument 1301 tracemalloc_get_traces_domain(_Py_hashtable_t *domains, const void *key, const void *value, void *user_data) tracemalloc_get_traces_domain() argument 1318 tracemalloc_pyobject_decref(void *value) tracemalloc_pyobject_decref() argument 1582 tracemalloc_get_tracemalloc_memory_cb(_Py_hashtable_t *domains, const void *key, const void *value, void *user_data) tracemalloc_get_tracemalloc_memory_cb() argument [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_containers.cc | 108 // Retrieve item by declared number (field tag, or enum value). 137 // The kind of container: list, or dict by name or value. 155 // The kind of container: list, or dict by name or value. 245 int value = self->container_def->get_item_number_fn(item); in _NewKey_ByIndex() local 246 return PyInt_FromLong(value); in _NewKey_ByIndex() 279 static int AssSubscript(PyContainer* self, PyObject* key, PyObject* value) { in AssSubscript() argument 498 PyObject* value = _NewObj_ByIndex(self, index); in Values() local 499 if (value == NULL) { in Values() 502 PyList_SET_ITEM(list.get(), index, value); in Values() 523 PyObject* value in Items() local 874 PyObject* value = _NewObj_ByIndex(self->container, index); Iterator_Next() local [all...] |
/third_party/rust/crates/nom/src/character/ |
H A D | streaming.rs | 621 use crate::combinator::value; 624 value(false, tag(&b"-"[..])), 625 value(true, tag(&b"+"[..])), 651 let mut value: $t = 0; variables 659 return Ok((i.slice(pos..), value)); 662 Some(d) => match value.checked_mul(10).and_then(|v| v.checked_add(d as $t)) { 664 Some(v) => value = v, 675 return Ok((i.slice(pos..), value)); 678 Some(d) => match value.checked_mul(10).and_then(|v| v.checked_sub(d as $t)) { 680 Some(v) => value 712 let mut value: $t = 0; global() variables [all...] |
/third_party/rust/crates/serde/serde/src/ser/ |
H A D | impls.rs | 109 Some(ref value) => serializer.serialize_some(value), in serialize() 348 Bound::Included(ref value) => { in serialize() 349 serializer.serialize_newtype_variant("Bound", 1, "Included", value) in serialize() 351 Bound::Excluded(ref value) => { in serialize() 352 serializer.serialize_newtype_variant("Bound", 2, "Excluded", value) in serialize() 653 Ok(value) => value.serialize(serializer), in serialize() 705 Result::Ok(ref value) => serializer.serialize_newtype_variant("Result", 0, "Ok", value), in serialize() [all...] |
/third_party/rust/crates/regex/src/ |
H A D | exec.rs | 40 /// Note that boxing this value is not strictly necessary, but it is an 44 /// the size of a Regex on the stack is 856 bytes. Boxing this value 459 self.cache.value(), in shortest_match_at() 511 self.cache.value(), in is_match_at() 742 self.cache.value(), in find_dfa_forward() 755 self.cache.value(), in find_dfa_forward() 782 self.cache.value(), in find_dfa_anchored_reverse() 797 dfa::Fsm::forward(&self.ro.dfa, self.cache.value(), true, text, start) in shortest_dfa() 850 self.cache.value(), in exec_dfa_reverse_suffix() 896 self.cache.value(), in find_dfa_reverse_suffix() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineExecutablePropertiesTests.cpp | 376 if (statistics[ndx][statNdx].value.b32 != VK_TRUE && statistics[ndx][statNdx].value.b32 != VK_FALSE) in verifyStatistics() 426 bool match = statistics[0][statNdx0].value.b32 == statistics[1][statNdx1].value.b32; in verifyStatistics() 429 << (statistics[0][statNdx0].value.b32 ? "VK_TRUE" : "VK_FALSE") in verifyStatistics() 437 bool match = statistics[0][statNdx0].value.i64 == statistics[1][statNdx1].value.i64; in verifyStatistics() 440 << statistics[0][statNdx0].value.i64 in verifyStatistics() 448 bool match = statistics[0][statNdx0].value.u64 == statistics[1][statNdx1].value in verifyStatistics() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 1116 const char *value) in eapol_auth_set_conf() 1119 MACSTR " - param=%s value=%s", in eapol_auth_set_conf() 1120 MAC2STR(sm->addr), param, value); in eapol_auth_set_conf() 1123 if (os_strcmp(value, "Both") == 0) in eapol_auth_set_conf() 1125 else if (os_strcmp(value, "In") == 0) in eapol_auth_set_conf() 1134 if (os_strcmp(value, "ForceAuthorized") == 0) in eapol_auth_set_conf() 1136 else if (os_strcmp(value, "ForceUnauthorized") == 0) in eapol_auth_set_conf() 1138 else if (os_strcmp(value, "Auto") == 0) in eapol_auth_set_conf() 1147 sm->quietPeriod = atoi(value); in eapol_auth_set_conf() 1152 sm->serverTimeout = atoi(value); in eapol_auth_set_conf() 1115 eapol_auth_set_conf(struct eapol_state_machine *sm, const char *param, const char *value) eapol_auth_set_conf() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 1101 const char *value) in eapol_auth_set_conf() 1104 MACSTR_SEC " - param=%s value=%s", in eapol_auth_set_conf() 1105 MAC2STR_SEC(sm->addr), param, value); in eapol_auth_set_conf() 1108 if (os_strcmp(value, "Both") == 0) in eapol_auth_set_conf() 1110 else if (os_strcmp(value, "In") == 0) in eapol_auth_set_conf() 1119 if (os_strcmp(value, "ForceAuthorized") == 0) in eapol_auth_set_conf() 1121 else if (os_strcmp(value, "ForceUnauthorized") == 0) in eapol_auth_set_conf() 1123 else if (os_strcmp(value, "Auto") == 0) in eapol_auth_set_conf() 1132 sm->quietPeriod = atoi(value); in eapol_auth_set_conf() 1137 sm->serverTimeout = atoi(value); in eapol_auth_set_conf() 1100 eapol_auth_set_conf(struct eapol_state_machine *sm, const char *param, const char *value) eapol_auth_set_conf() argument [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/ |
H A D | notification_rdb_data_mgr_test.cpp | 421 std::string value = "<value>";
in HWTEST_F() local 422 ASSERT_EQ(notificationDataMgr->InsertData(key, value, -1), NativeRdb::E_ERROR);
in HWTEST_F() 437 std::string value = "<value>";
in HWTEST_F() local 438 ASSERT_EQ(notificationDataMgr->InsertData(key, value, -1), NativeRdb::E_ERROR);
in HWTEST_F() 552 std::string value = "<value>";
in HWTEST_F() local 553 ASSERT_EQ(notificationDataMgr->QueryData(key, value, -1), NativeRdb::E_ERROR);
in HWTEST_F() 568 std::string value in HWTEST_F() local 585 std::string value = "<value>"; HWTEST_F() local [all...] |
/base/request/request/test/unittest/cpp_test/fwkTest/src/ |
H A D | response_message_receiver_test.cpp | 311 char keyValue[] = "key\0value\0"; in HWTEST_F() 327 EXPECT_EQ(extras["key"], "value"); in HWTEST_F() 342 int64_t value = 123456; // 123456 is except num in HWTEST_F() local 344 reinterpret_cast<void *>(&value), sizeof(value)), in HWTEST_F() 356 EXPECT_EQ(vec[0], value); in HWTEST_F() 566 int64_t value = 333444; // 333444 is except num in HWTEST_F() local 568 char keyValue[] = "key\0value\0"; in HWTEST_F() 602 memcpy_s(except + pos, static_cast<size_t>(ARRAY_LEN - pos), reinterpret_cast<void *>(&value), sizeof(value)), in HWTEST_F() [all...] |
/base/security/access_token/services/privacymanager/src/database/ |
H A D | permission_used_record_db.cpp | 134 for (const auto& value : values) { in Add() 135 std::vector<std::string> columnNames = value.GetAllKeys(); in Add() 137 statement.Bind(name, value.Get(name)); in Add() 195 GenericValues value; in FindByConditions() local 199 value.Put(statement.GetColumnName(i), statement.GetValue(i, true)); in FindByConditions() 201 value.Put(statement.GetColumnName(i), statement.GetValue(i, false)); in FindByConditions() 204 results.emplace_back(value); in FindByConditions() 304 GenericValues value; in Query() local 307 value.Put(statement.GetColumnName(i), statement.GetValue(i, false)); in Query() 310 results.emplace_back(value); in Query() [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
H A D | napi_form_util.cpp | 273 if (strLength < INT_64_LENGTH + 1) { // The minimum value: -9223372036854775808 in ConvertStringToInt64() 370 napi_value value = asyncCallbackInfo->callbackValue; in RetErrMsgForCallback() local 372 // Check the value type of the arguments in RetErrMsgForCallback() 374 NAPI_CALL(env, napi_typeof(env, value, &valueType)); in RetErrMsgForCallback() 378 napi_create_reference(env, value, REF_COUNT, &asyncCallbackInfo->callback); in RetErrMsgForCallback() 592 napi_set_named_property(env, objContext, data.name.c_str(), CreateJsValue(env, data.value)); in CreateFormCustomizeDatas() 639 std::string GetStringFromNapi(napi_env env, napi_value value) in GetStringFromNapi() argument 644 if (napi_get_value_string_utf8(env, value, nullptr, 0, &size) != napi_ok) { in GetStringFromNapi() 650 if (napi_get_value_string_utf8(env, value, result.data(), (size + 1), &size) != napi_ok) { in GetStringFromNapi() 651 HILOG_ERROR("can't get string value"); in GetStringFromNapi() 689 ConvertFormInfoFilter(napi_env env, napi_value value, AppExecFwk::FormInfoFilter &formInfoFilter) ConvertFormInfoFilter() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.h | 413 Color ParseColor(const std::string& value, uint32_t maskAlpha = COLOR_ALPHA_MASK) const; 419 double ParseDouble(const std::string& value) const; 425 CalcDimension ParseDimension(const std::string& value) const; 431 Dimension ParseLineHeight(const std::string& value) const; 437 std::vector<std::string> ParseFontFamilies(const std::string& value) const; 443 std::vector<Dimension> ParsePreferFontSizes(const std::string& value) const; 899 static void SetTransform(const std::string& value, DOMNode& node); 903 std::string GetTransformJsonValue(const std::string& value); 947 T ParseThemeReference(const std::string& value, std::function<T()>&& noRefFunc, in ParseThemeReference() argument 950 const auto& parseResult = ThemeUtils::ParseThemeIdReference(value, GetThemeConstant in ParseThemeReference() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_indexer.cpp | 102 auto value = jsArray->GetValueAt(i); in Create() local 103 if (value->IsString()) { in Create() 104 indexerArray.emplace_back(value->ToString()); in Create() 116 auto selectedValueProperty = selectedObj->GetProperty("value"); in Create() 307 int32_t value = style->ToNumber<int32_t>(); in GetFontContent() local 308 if (value >= 0 && value < static_cast<int32_t>(FONT_STYLES.size())) { in GetFontContent() 309 fontStyle = FONT_STYLES[value]; in GetFontContent() 333 int32_t value = Container::IsCurrentUseNewPipeline() ? static_cast<int32_t>(NG::AlignStyle::END) in SetAlignStyle() local 340 value in SetAlignStyle() [all...] |
H A D | js_tabs.cpp | 256 auto indexValueProperty = indexObj->GetProperty("value"); in Create() 289 void JSTabs::SetVertical(const std::string& value) in SetVertical() argument 291 TabsModel::GetInstance()->SetIsVertical(StringToBool(value)); in SetVertical() 294 void JSTabs::SetScrollable(const std::string& value) in SetScrollable() argument 296 if (value == "undefined") { in SetScrollable() 300 TabsModel::GetInstance()->SetScrollable(StringToBool(value)); in SetScrollable() 423 auto value = animationDurationInfo->IsNumber() ? animationDurationInfo->ToNumber<int32_t>() : 0; in SetAnimationDuration() local 424 TabsModel::GetInstance()->SetAnimationDuration(value); in SetAnimationDuration() 665 uint32_t value = args->ToNumber<uint32_t>(); in SetAnimateMode() local 666 if (value > in SetAnimateMode() [all...] |
H A D | js_navdestination.cpp | 454 auto value = paramArray->GetValueAt(i); in SetIgnoreLayoutSafeArea() local 455 if (!value->IsNumber() || in SetIgnoreLayoutSafeArea() 456 value->ToNumber<uint32_t>() >= SAFE_AREA_TYPE_LIMIT || in SetIgnoreLayoutSafeArea() 457 value->ToNumber<uint32_t>() == SAFE_AREA_EDGE_SYSTEM) { in SetIgnoreLayoutSafeArea() 469 auto value = paramArray->GetValueAt(i); in SetIgnoreLayoutSafeArea() local 470 if (!value->IsNumber() || in SetIgnoreLayoutSafeArea() 471 value->ToNumber<uint32_t>() >= SAFE_AREA_EDGE_LIMIT) { in SetIgnoreLayoutSafeArea() 475 if (value->ToNumber<uint32_t>() == SAFE_AREA_EDGE_TOP || in SetIgnoreLayoutSafeArea() 476 value->ToNumber<uint32_t>() == SAFE_AREA_EDGE_BOTTOM) { in SetIgnoreLayoutSafeArea() 477 safeAreaEdge |= (1 << value in SetIgnoreLayoutSafeArea() [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 403 pair<iterator, bool> insert_or_assign(const key_type& key, M&& value) in insert_or_assign() argument 408 res->data.second = BASE_NS::forward<M>(value); in insert_or_assign() 411 auto nl = allocate(key, BASE_NS::forward<M>(value)); in insert_or_assign() 561 list_node* create_entry(uint32_t ind, const key_type& key, const mapped_type& value) in create_entry() argument 563 return create_entry(ind, allocate(key, value)); in create_entry() 565 list_node* create_entry(uint32_t ind, key_type&& key, mapped_type&& value) in create_entry() argument 567 return create_entry(ind, allocate(BASE_NS::forward<key_type>(key), BASE_NS::forward<mapped_type>(value))); in create_entry() 788 pair<typename base::iterator, bool> insert_or_assign(const string_view& key, M&& value) in insert_or_assign() argument 793 entry->data.second = BASE_NS::forward<M>(value); in insert_or_assign() 796 entry = base::create_entry(ind, typename base::key_type(key), BASE_NS::forward<M>(value)); in insert_or_assign() [all...] |