/third_party/python/Lib/tkinter/ |
H A D | tix.py | 102 """Returns the current value of the configuration 111 available options. If option is specified with no value, then the 113 will be identical to the corresponding sublist of the value 114 returned if no option is specified). If one or more option-value 116 to have the given value(s); in this case the command returns an 150 '@'. The returned value can be used to configure the -bitmap 240 def __setitem__(self, key, value): 241 Form.form(self, {key: value}) 339 def set_silent(self, value): 341 self.tk.call('tixSetSilent', self._w, value) [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | extension_set_unittest.cc | 88 // Set every field to a unique value then go back and check all those in TEST() 100 // Set every field to a unique value, clear the message, then check that in TEST() 129 // Set every field to a unique value, then clear one value and insure that in TEST() 130 // only that one value is cleared. in TEST() 739 #define TEST_SCALAR_EXTENSIONS_SPACE_USED(type, value) \ in TEST() 743 message.SetExtension(unittest::optional_##type##_extension, value); \ in TEST() 802 // - Adds a value to the repeated extension, then clears it, establishing in TEST() 808 #define TEST_REPEATED_EXTENSIONS_SPACE_USED(type, cpptype, value) \ in TEST() 813 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST() [all...] |
/third_party/selinux/libsepol/src/ |
H A D | services.c | 370 * Return the boolean value of a constraint expression 1191 *tclass = tclass_datum->s.value; in sepol_string_to_security_class() 1217 *av = UINT32_C(1) << (perm_datum->s.value - 1); in sepol_string_to_av_perm() 1229 *av = UINT32_C(1) << (perm_datum->s.value - 1); in sepol_string_to_av_perm() 1505 * existing policy is still defined with the same value 1521 if (perdatum->s.value != perdatum2->s.value) { in validate_perm() 1522 ERR(NULL, "the value of permissions %s changed", key); in validate_perm() 1547 if (cladatum->s.value != cladatum2->s.value) { in validate_class() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_util.cpp | 166 // is not a global value). Check whether its definition dominates the in PhiIdsOkForNewEdge() 1423 uint32_t value, in MaybeGetIntegerConstantFromValueAndType() 1436 opt::analysis::IntConstant constant(int_type, {value}); in MaybeGetIntegerConstantFromValueAndType() 1462 const TransformationContext& transformation_context, bool value, in MaybeGetBoolConstant() 1467 (value ? spv::Op::OpConstantTrue : spv::Op::OpConstantFalse) && in MaybeGetBoolConstant() 1479 std::vector<uint32_t> IntToWords(uint64_t value, uint32_t width, in IntToWords() argument 1483 // Sign-extend or zero-extend the last |width| bits of |value|, depending on in IntToWords() 1488 value = static_cast<int64_t>(value << (64 - width)) >> (64 - width); in IntToWords() 1492 value in IntToWords() 1422 MaybeGetIntegerConstantFromValueAndType(opt::IRContext* ir_context, uint32_t value, uint32_t int_type_id) MaybeGetIntegerConstantFromValueAndType() argument 1460 MaybeGetBoolConstant( opt::IRContext* ir_context, const TransformationContext& transformation_context, bool value, bool is_irrelevant) MaybeGetBoolConstant() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSeparateShaderTests.cpp | 395 GLfloat value = 0.0) 405 << " = " << de::floatToString(value, 6) << ";\n"; 447 float value = 0.0) 456 printFloatDeclaration(oss, varName, uniform, value); 512 float value = 0.0) 525 printFloatDeclaration(oss, varName, uniform, value); 1028 GLfloat value, 1168 GLfloat value, 1175 msg << "// Set program " << progName << "'s uniform '" << uniformName << "' to " << value; 1179 glProgramUniform1f(progName, location, value); [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderPackingFunctionTests.cpp | 59 const float value; member 60 HexFloat (const float value_) : value(value_) {} in HexFloat() 65 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 202 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 309 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate() 421 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 528 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate() 651 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 730 // Special subnormal value in iterate() 749 const deUint16 value = tcu::Float16::construct(s, exp != 0 ? exp : 1 /* avoid denorm */, static_cast<deUint16>((1u<<10) | mantissa)).bits(); iterate() local 762 const deUint16 value = tcu::Float16(composeHalfFloat(sign, 0u /* force denorm */, mantissa)).bits(); iterate() local 870 const deUint32 value = (((sign == NEGATIVE ? 1u : 0u) << 5u | exponent) << 10u) | significand; composeHalfFloat() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/cisco/ |
H A D | airo.c | 262 "The value of auto_wep is number of the wep keys to check. " 263 "A value of 2 will try using the key at index 0 and index 1."); 1111 static void OUT4500(struct airo_info *, u16 reg, u16 value); 4127 bytelen = (bytelen + 1) & (~1); // round up to even value in fast_bap_read() 4139 bytelen = (bytelen + 1) & (~1); // round up to even value in bap_write() 4801 u16 value; in get_dec_u16() local 4803 for (value = 0; *start < limit && buffer[*start] >= '0' && in get_dec_u16() 4806 value *= 10; in get_dec_u16() 4807 value += buffer[*start] - '0'; in get_dec_u16() 4810 return value; in get_dec_u16() [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_generic.c | 202 * pin control value accesses 209 /* restore the pinctl based on the cached value */ 215 /* set the pinctl target value and write it if requested */ 448 * when @anchor_nid is set to a positive value, only paths through the widget 449 * with the given value are evaluated. 450 * when @anchor_nid is set to a negative value, paths through the widget 451 * with the negative of given value are excluded, only other paths are chosen. 547 /* replace the channels in the composed amp value with the given number */ 668 /* get the default amp value for the target state */ 703 /* initialize the amp value (onl [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/cisco/ |
H A D | airo.c | 261 "The value of auto_wep is number of the wep keys to check. " 262 "A value of 2 will try using the key at index 0 and index 1."); 1110 static void OUT4500(struct airo_info *, u16 reg, u16 value); 4119 bytelen = (bytelen + 1) & (~1); // round up to even value in fast_bap_read() 4131 bytelen = (bytelen + 1) & (~1); // round up to even value in bap_write() 4797 u16 value; in get_dec_u16() local 4799 for (value = 0; *start < limit && buffer[*start] >= '0' && in get_dec_u16() 4802 value *= 10; in get_dec_u16() 4803 value += buffer[*start] - '0'; in get_dec_u16() 4806 return value; in get_dec_u16() [all...] |
/third_party/python/Lib/test/ |
H A D | _test_multiprocessing.py | 202 def assertReturnsIfImplemented(self, value, func, *args): 208 return self.assertEqual(value, res) 218 # Return the value of a semaphore 1370 def assertReachesEventually(self, func, value): 1373 if func() == value: 1379 self.assertReturnsIfImplemented(value, func) 1561 state.value = 0 1563 result = cond.wait_for(lambda : state.value==4) 1564 if not result or state.value != 4: 1578 result = cond.wait_for(lambda : state.value [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_change_request_napi.cpp | 583 napi_value value; in ParseAssetCreateOptions() local 584 result = napi_get_named_property(env, arg, param.c_str(), &value); in ParseAssetCreateOptions() 587 result = napi_typeof(env, value, &valueType); in ParseAssetCreateOptions() 588 CHECK_COND_RET(result == napi_ok, result, "Failed to get value type"); in ParseAssetCreateOptions() 591 result = napi_get_value_int32(env, value, &number); in ParseAssetCreateOptions() 596 result = napi_get_value_bool(env, value, &isTrue); in ParseAssetCreateOptions() 602 result = napi_get_value_string_utf8(env, value, buffer, ARG_BUF_SIZE, &res); in ParseAssetCreateOptions() 1099 napi_throw_range_error(env, nullptr, "orientationValue value is invalid."); in JSSetOrientation() 1420 static ResourceType GetResourceType(int32_t value) in GetResourceType() argument 1423 switch (value) { in GetResourceType() 1522 napi_value value = asyncContext->argv[PARAM1]; AddMovingPhotoVideoResource() local 1575 napi_value value = asyncContext->argv[PARAM1]; JSAddResource() local [all...] |
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | idt77252.c | 127 static void idt77252_phy_put(struct atm_dev *dev, unsigned char value, 174 u32 value; in read_sram() local 179 value = readl(SAR_REG_DR0); in read_sram() 181 return value; in read_sram() 185 write_sram(struct idt77252_dev *card, unsigned long addr, u32 value) in write_sram() argument 195 card->name, addr, value); in write_sram() 199 writel(value, SAR_REG_DR0); in write_sram() 210 u8 value; in read_utility() local 220 value = readl(SAR_REG_DR0); in read_utility() 222 return value; in read_utility() 226 write_utility(void *dev, unsigned long ubus_addr, u8 value) write_utility() argument 362 idt77252_write_gp(struct idt77252_dev *card, u32 value) idt77252_write_gp() argument 1933 idt77252_phy_put(struct atm_dev *dev, unsigned char value, unsigned long addr) idt77252_phy_put() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | polaris10_smumgr.c | 137 /* Default value for VRConfig = VR_MERGED_WITH_VDDC + VR_STATIC_VOLTAGE(VDDCI) */ in polaris10_setup_graphics_level_structure() 138 vr_config = 0x01000500; /* Real value:0x50001 */ in polaris10_setup_graphics_level_structure() 144 "[AVFS][Polaris10_SetupGfxLvlStruct] Problems copying VRConfig value over to SMC", in polaris10_setup_graphics_level_structure() 162 /* MVDD Boot value - neccessary for getting rid of the hang that occurs during Mclk DPM enablement */ in polaris10_setup_graphics_level_structure() 659 PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_mvdd_table() 687 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddci_table() 709 /* tables is already swapped, so in order to use the value from it, in polaris10_populate_cac_table() 716 data->vddc_voltage_table.entries[count].value); in polaris10_populate_cac_table() 779 (uint8_t)dpm_table->pcie_speed_table.dpm_levels[i].value; in polaris10_populate_smc_link_level() 855 /* get the engine clock dividers for this clock value */ in polaris10_calculate_sclk_params() 1514 uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; polaris10_populate_clock_stretcher_data_table() local 2363 polaris10_get_mac_definition(uint32_t value) polaris10_get_mac_definition() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_generic.c | 112 * The pointer is initialised with NULL value and may be set by 120 * so the latter will not assign a new value to the pointer. 123 * valid) and sets the pointer to READ_BUFFER_DROP value. This special 124 * value is crux of the synchronisation between ffs_func_eps_disable and 128 * pointer back to its old value (as described above), but seeing as the 721 static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value) in ffs_ep0_ioctl() argument 739 if (copy_from_user(&mem, (void __user *)value, sizeof(mem))) in ffs_ep0_ioctl() 758 ret = copy_from_user(&myIoData, (void __user *)value, sizeof(struct IoData)); in ffs_ep0_ioctl() 783 ret = copy_from_user(&myIoData, (void __user *)value, sizeof(struct IoData)); in ffs_ep0_ioctl() 804 ret = copy_from_user(&myIoData, (void __user *)value, sizeo in ffs_ep0_ioctl() 837 ffs_ep0_compat_ioctl(struct file *file, unsigned code, unsigned long value) ffs_ep0_compat_ioctl() argument 1221 ffs_epfile_ioctl(struct file *file, unsigned code, unsigned long value) ffs_epfile_ioctl() argument 1427 ffs_epfile_compat_ioctl(struct file *file, unsigned code, unsigned long value) ffs_epfile_compat_ioctl() argument 1454 usbfn_ioctl(struct file *file, unsigned int cmd, unsigned long value) usbfn_ioctl() argument [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | idt77252.c | 127 static void idt77252_phy_put(struct atm_dev *dev, unsigned char value, 174 u32 value; in read_sram() local 179 value = readl(SAR_REG_DR0); in read_sram() 181 return value; in read_sram() 185 write_sram(struct idt77252_dev *card, unsigned long addr, u32 value) in write_sram() argument 195 card->name, addr, value); in write_sram() 199 writel(value, SAR_REG_DR0); in write_sram() 210 u8 value; in read_utility() local 220 value = readl(SAR_REG_DR0); in read_utility() 222 return value; in read_utility() 226 write_utility(void *dev, unsigned long ubus_addr, u8 value) write_utility() argument 362 idt77252_write_gp(struct idt77252_dev *card, u32 value) idt77252_write_gp() argument 1926 idt77252_phy_put(struct atm_dev *dev, unsigned char value, unsigned long addr) idt77252_phy_put() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_generic.c | 112 * The pointer is initialised with NULL value and may be set by 120 * so the latter will not assign a new value to the pointer. 123 * valid) and sets the pointer to READ_BUFFER_DROP value. This special 124 * value is crux of the synchronisation between ffs_func_eps_disable and 128 * pointer back to its old value (as described above), but seeing as the 722 static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value) in ffs_ep0_ioctl() argument 740 if (copy_from_user(&mem, (void __user *)value, sizeof(mem))) in ffs_ep0_ioctl() 759 ret = copy_from_user(&myIoData, (void __user *)value, sizeof(struct IoData)); in ffs_ep0_ioctl() 784 ret = copy_from_user(&myIoData, (void __user *)value, sizeof(struct IoData)); in ffs_ep0_ioctl() 805 ret = copy_from_user(&myIoData, (void __user *)value, sizeo in ffs_ep0_ioctl() 838 ffs_ep0_compat_ioctl(struct file *file, unsigned code, unsigned long value) ffs_ep0_compat_ioctl() argument 1222 ffs_epfile_ioctl(struct file *file, unsigned code, unsigned long value) ffs_epfile_ioctl() argument 1428 ffs_epfile_compat_ioctl(struct file *file, unsigned code, unsigned long value) ffs_epfile_compat_ioctl() argument 1455 usbfn_ioctl(struct file *file, unsigned int cmd, unsigned long value) usbfn_ioctl() argument [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | creststn.c | 511 log_err("Empty string returned invalid value\n"); in TestNewTypes() 1015 const UChar* value=NULL; in TestAPI() local 1083 value=(UChar*)ures_getNextString(teFillin, &len, &key, &status); in TestAPI() 1084 (void)value; /* Suppress set but not used warning. */ in TestAPI() 1086 value=(UChar*)ures_getNextString(teFillin, &len, &key, &status); in TestAPI() 1176 const UChar *value=NULL; in TestErrorConditions() local 1336 value=(UChar*)ures_getNextString(teFillin, &len, &key, &status); in TestErrorConditions() 1337 if(value != NULL){ in TestErrorConditions() 1342 value=(UChar*)ures_getNextString(NULL, &len, &key, &status); in TestErrorConditions() 1343 if(value ! in TestErrorConditions() 1985 UChar* value=NULL; testTag() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | evaluate.c | 420 if (v->value != 0) in restricted_value() 602 unsigned long long v = index->value, mask; in evaluate_ptr_add() 611 val->value = v; in evaluate_ptr_add() 625 val->value = multiply; in evaluate_ptr_add() 843 unsigned long value = bits_to_bytes(lbase->bit_size); in evaluate_ptr_sub() local 846 val->value = value; in evaluate_ptr_sub() 848 if (value & (value-1)) { in evaluate_ptr_sub() 851 info(expr->pos, " '%s' has a non-power-of-2 size: %lu", show_typename(lbase), value); in evaluate_ptr_sub() [all...] |
/third_party/python/Objects/ |
H A D | exceptions.c | 564 {"value", T_OBJECT, offsetof(PyStopIterationObject, value), 0, 565 PyDoc_STR("generator return value")}, 573 PyObject *value; in StopIteration_init() local 577 Py_CLEAR(self->value); in StopIteration_init() 579 value = PyTuple_GET_ITEM(args, 0); in StopIteration_init() 581 value = Py_None; in StopIteration_init() 582 Py_INCREF(value); in StopIteration_init() 583 self->value = value; in StopIteration_init() 993 get_matcher_type(PyObject *value, _exceptiongroup_split_matcher_type *type) get_matcher_type() argument 2610 set_unicodefromstring(PyObject **attr, const char *value) set_unicodefromstring() argument [all...] |
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12MemAlloc.cpp | 258 // Aligns given value up to nearest multiply of align value. For example: AlignUp(11, 8) = 16.
266 // Aligns given value down to nearest multiply of align value. For example: AlignUp(11, 8) = 8.
431 Returned value is the found element, if present in the collection or place where
432 new element with value (key) should be inserted.
459 Returned value is the found element, if present in the collection or end if not
463 IterT BinaryFindSorted(const IterT& beg, const IterT& end, const KeyT& value, const CmpLess& cmp)
in BinaryFindSorted() argument 465 IterT it = BinaryFindFirstNotLess<CmpLess, IterT, KeyT>(beg, end, value, cmp);
in BinaryFindSorted() 467 (!cmp(*it, value) in BinaryFindSorted() 950 InsertSorted(const T& value, const CmpLess& cmp) InsertSorted() argument 962 RemoveSorted(const T& value, const CmpLess& cmp) RemoveSorted() argument 1728 push_back(const T& value) push_back() argument 1730 insert(iterator it, const T& value) insert() argument 1820 PushBack(const T& value) PushBack() argument 1828 PushFront(const T& value) PushFront() argument 1950 InsertBefore(Item* pItem, const T& value) InsertBefore() argument 1958 InsertAfter(Item* pItem, const T& value) InsertAfter() argument [all...] |
/drivers/interface/display/composer/v1_0/hdi_impl/ |
H A D | display_composer_hdi_impl.h | 185 virtual int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t& value) override 188 return ToDispErrCode(hdi_->GetDisplayProperty(devId, id, value)); 292 virtual int32_t SetDisplayProperty(uint32_t devId, uint32_t id, uint64_t value) override 295 return ToDispErrCode(hdi_->SetDisplayProperty(devId, id, value));
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_adapter.cpp | 545 const char *condition, const char *value) in AudioAdapterSetExtraParams() 550 (void)value; in AudioAdapterSetExtraParams() 555 const char *condition, char *value, int32_t length) in AudioAdapterGetExtraParams() 560 (void)value; in AudioAdapterGetExtraParams() 544 AudioAdapterSetExtraParams(struct AudioAdapter *adapter, enum AudioExtParamKey key, const char *condition, const char *value) AudioAdapterSetExtraParams() argument 554 AudioAdapterGetExtraParams(struct AudioAdapter *adapter, enum AudioExtParamKey key, const char *condition, char *value, int32_t length) AudioAdapterGetExtraParams() argument
|
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/ |
H A D | hostapd_common_cmd.c | 379 int32_t value, int32_t id) in HostapdInterfaceSetAp80211n() 393 if (hostapdHalDevice->setAp80211n(value, id) != 0) { in HostapdInterfaceSetAp80211n() 401 int32_t value, int32_t id) in HostapdInterfaceSetApWmm() 415 if (hostapdHalDevice->setApWmm(value, id) != 0) { in HostapdInterfaceSetApWmm() 378 HostapdInterfaceSetAp80211n(struct IHostapdInterface *self, const char *ifName, int32_t value, int32_t id) HostapdInterfaceSetAp80211n() argument 400 HostapdInterfaceSetApWmm(struct IHostapdInterface *self, const char *ifName, int32_t value, int32_t id) HostapdInterfaceSetApWmm() argument
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_rdb_data_mgr.cpp | 211 ErrCode FormRdbDataMgr::InsertData(const std::string &tableName, const std::string &key, const std::string &value) in InsertData() argument 226 valuesBucket.PutString(FORM_VALUE, value); in InsertData() 303 std::string &value) in QueryData() 340 ret = absSharedResultSet->GetString(FORM_VALUE_INDEX, value); in QueryData() 402 HILOG_ERROR("GetString value failed"); in QueryData() 467 HILOG_ERROR("GetString value failed"); in QueryAllData() 302 QueryData(const std::string &tableName, const std::string &key, std::string &value) QueryData() argument
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | js_form_extension.cpp | 41 napi_value AttachFormExtensionContext(napi_env env, void* value, void*) in AttachFormExtensionContext() argument 44 if (value == nullptr) { in AttachFormExtensionContext() 45 TAG_LOGW(AAFwkTag::FORM_EXT, "null value "); in AttachFormExtensionContext() 48 auto ptr = reinterpret_cast<std::weak_ptr<FormExtensionContext>*>(value)->lock(); in AttachFormExtensionContext() 62 env, contextObj, DetachCallbackFunc, AttachFormExtensionContext, value, nullptr); in AttachFormExtensionContext()
|