/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_pcs.h | 86 u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); in dwmac_rane() local 89 value |= GMAC_AN_CTRL_RAN; in dwmac_rane() 91 writel(value, ioaddr + GMAC_AN_CTRL(reg)); in dwmac_rane() 108 u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); in dwmac_ctrl_ane() local 112 value |= GMAC_AN_CTRL_ANE | GMAC_AN_CTRL_RAN; in dwmac_ctrl_ane() 118 value |= GMAC_AN_CTRL_SGMRAL; in dwmac_ctrl_ane() 121 value |= GMAC_AN_CTRL_ELE; in dwmac_ctrl_ane() 123 writel(value, ioaddr + GMAC_AN_CTRL(reg)); in dwmac_ctrl_ane() 137 u32 value = readl(ioaddr + GMAC_ANE_ADV(reg)); in dwmac_get_adv_lp() local 139 if (value in dwmac_get_adv_lp() [all...] |
/kernel/linux/linux-5.10/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 25 uinfo->value.integer.min = 0; in vx_mic_level_info() 26 uinfo->value.integer.max = MIC_LEVEL_MAX; in vx_mic_level_info() 34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get() 42 unsigned int val = ucontrol->value.integer.value[0]; in vx_mic_level_put() 47 if (chip->mic_level != ucontrol->value.integer.value[0]) { in vx_mic_level_put() 48 vx_set_mic_level(_chip, ucontrol->value.integer.value[ in vx_mic_level_put() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_pcs.h | 86 u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); in dwmac_rane() local 89 value |= GMAC_AN_CTRL_RAN; in dwmac_rane() 91 writel(value, ioaddr + GMAC_AN_CTRL(reg)); in dwmac_rane() 108 u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); in dwmac_ctrl_ane() local 112 value |= GMAC_AN_CTRL_ANE | GMAC_AN_CTRL_RAN; in dwmac_ctrl_ane() 118 value |= GMAC_AN_CTRL_SGMRAL; in dwmac_ctrl_ane() 121 value |= GMAC_AN_CTRL_ELE; in dwmac_ctrl_ane() 123 writel(value, ioaddr + GMAC_AN_CTRL(reg)); in dwmac_ctrl_ane() 137 u32 value = readl(ioaddr + GMAC_ANE_ADV(reg)); in dwmac_get_adv_lp() local 139 if (value in dwmac_get_adv_lp() [all...] |
/kernel/liteos_a/kernel/include/ |
H A D | los_base.h | 94 * Read a UINT8 value from addr and stored in value. 96 #define READ_UINT8(value, addr) ({ (value) = *((volatile UINT8 *)((UINTPTR)(addr))); DSB; }) 100 * Read a UINT16 value from addr and stored in addr. 102 #define READ_UINT16(value, addr) ({ (value) = *((volatile UINT16 *)((UINTPTR)(addr))); DSB; }) 106 * Read a UINT32 value from addr and stored in value. 108 #define READ_UINT32(value, add [all...] |
/kernel/linux/linux-6.6/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 25 uinfo->value.integer.min = 0; in vx_mic_level_info() 26 uinfo->value.integer.max = MIC_LEVEL_MAX; in vx_mic_level_info() 34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get() 42 unsigned int val = ucontrol->value.integer.value[0]; in vx_mic_level_put() 47 if (chip->mic_level != ucontrol->value.integer.value[0]) { in vx_mic_level_put() 48 vx_set_mic_level(_chip, ucontrol->value.integer.value[ in vx_mic_level_put() [all...] |
/third_party/PyYAML/tests/lib/ |
H A D | test_schema.py | 6 def check_bool(value, expected): 7 if expected == 'false()' and value is False: 9 if expected == 'true()' and value is True: 11 print(value) 15 def check_int(value, expected): 16 if (int(expected) == value): 18 print(value) 22 def check_float(value, expected): 24 if value == math.inf: 27 if value [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | LanguageData.java | 154 public String getTag(int value) in getTag() argument 156 if (value < minLanguage || value > maxLanguage) { in getTag() 160 return languages[value - minLanguage].tag(); in getTag() 163 public String getTagLabel(int value) in getTagLabel() argument 165 if (value < minLanguage || value > maxLanguage) { in getTagLabel() 169 return languages[value - minLanguage].label(); in getTagLabel() 172 public String makeTag(int value) in makeTag() argument 174 if (value < minLanguag in makeTag() 181 getName(int value) getName() argument [all...] |
/third_party/node/deps/v8/tools/wasm-compilation-hints/ |
H A D | wasm.py | 22 value, bs = peek_uint8(fin) 24 return value, bs 33 value, bs = peek_uint32(fin) 35 return value, bs 38 value = 0 46 value |= (b & 0x7F) << shift; 48 return value, bs 53 value, bs = peek_varuintN(fin) 55 return value, bs 57 def to_varuintN(value) [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/asn1/ |
H A D | obj.js | 2 Object.defineProperty(exports, "__esModule", { value: true }); 25 constructor(tag, value, subs) { 27 this.value = value; 42 valueStream.appendView(this.value); 44 const value = valueStream.buffer; 45 // Concat tag/length/value 48 obj.appendView((0, length_1.encodeLength)(value.length)); 49 obj.appendView(value); 54 // Returns the ASN.1 object's value a [all...] |
/third_party/libinput/test/ |
H A D | litest-device-wacom-calibrated-tablet.c | 55 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 56 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 57 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 58 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 59 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 64 { .type = EV_ABS, .code = ABS_X, .value = 0 }, 65 { .type = EV_ABS, .code = ABS_Y, .value = 0 }, 66 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 }, 67 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 72 { .type = EV_ABS, .code = ABS_X, .value 80 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | heap-write-barrier.h | 32 void WriteBarrierForCode(Code host, RelocInfo* rinfo, Object value); 33 void WriteBarrierForCode(Code host, RelocInfo* rinfo, HeapObject value); 37 void GenerationalBarrier(HeapObject object, ObjectSlot slot, Object value); 38 void GenerationalBarrier(HeapObject object, ObjectSlot slot, Code value); 39 void GenerationalBarrier(HeapObject object, ObjectSlot slot, HeapObject value); 41 MaybeObject value); 43 Object value); 50 static inline void Marking(HeapObject host, ObjectSlot, Object value); 51 static inline void Marking(HeapObject host, HeapObjectSlot, HeapObject value); 53 MaybeObject value); [all...] |
/third_party/python/Python/ |
H A D | thread.c | 124 -1 if stack size value is invalid, 194 PyObject *threadinfo, *value; in PyThread_GetInfo() local 211 value = PyUnicode_FromString(PYTHREAD_NAME); in PyThread_GetInfo() 212 if (value == NULL) { in PyThread_GetInfo() 216 PyStructSequence_SET_ITEM(threadinfo, pos++, value); in PyThread_GetInfo() 219 value = Py_NewRef(Py_None); in PyThread_GetInfo() 222 value = PyUnicode_FromString("semaphore"); in PyThread_GetInfo() 224 value = PyUnicode_FromString("mutex+cond"); in PyThread_GetInfo() 226 if (value == NULL) { in PyThread_GetInfo() 231 value in PyThread_GetInfo() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | BlobCache_unittest.cpp | 46 // Test a cache with a value that takes up maximum size. 74 for (size_t value = 0; value < kSize; ++value) in TEST() 76 blobCache.populate(MakeKey(value), MakeBlob(1, value)); in TEST() 80 EXPECT_TRUE(blobCache.get(nullptr, MakeKey(value), &qvalue, &blobSize)); in TEST() 83 EXPECT_EQ(value, qvalue[0]); in TEST() 102 for (size_t value = 0; value < in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | SwapByteOrder.h | 30 inline uint16_t SwapByteOrder_16(uint16_t value) { in SwapByteOrder_16() argument 34 return _byteswap_ushort(value); in SwapByteOrder_16() 36 uint16_t Hi = value << 8; in SwapByteOrder_16() 37 uint16_t Lo = value >> 8; in SwapByteOrder_16() 44 inline uint32_t SwapByteOrder_32(uint32_t value) { in SwapByteOrder_32() argument 46 return __builtin_bswap32(value); in SwapByteOrder_32() 48 return _byteswap_ulong(value); in SwapByteOrder_32() 50 uint32_t Byte0 = value & 0x000000FF; in SwapByteOrder_32() 51 uint32_t Byte1 = value & 0x0000FF00; in SwapByteOrder_32() 52 uint32_t Byte2 = value in SwapByteOrder_32() 60 SwapByteOrder_64(uint64_t value) SwapByteOrder_64() argument [all...] |
/third_party/skia/tools/ |
H A D | SkMetaData.h | 21 bool findS32(const char name[], int32_t* value = nullptr) const; 22 bool findScalar(const char name[], SkScalar* value = nullptr) const; 25 bool findPtr(const char name[], void** value = nullptr) const; 26 bool findBool(const char name[], bool* value = nullptr) const; 28 bool hasS32(const char name[], int32_t value) const { in hasS32() 30 return this->findS32(name, &v) && v == value; in hasS32() 32 bool hasScalar(const char name[], SkScalar value) const { in hasScalar() 34 return this->findScalar(name, &v) && v == value; in hasScalar() 36 bool hasPtr(const char name[], void* value) const { in hasPtr() 38 return this->findPtr(name, &v) && v == value; in hasPtr() [all...] |
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | gen_str_util.py | 26 def isValueDefined (definitions, value): 27 return value in definitions 30 for value in values: 31 if isValueDefined(definitions, value): 48 yield "const char*\tget%sName\t(int value);" % groupName 50 print("Warning: Empty value set for %s, skipping" % groupName) 55 yield "tcu::Format::Bitfield<16>\tget%sStr\t(int value);" % groupName 57 print("Warning: Empty value set for %s, skipping" % groupName) 62 yield "inline tcu::Format::Enum<int, 2>\tget%(name)sStr\t(int value)\t{ return tcu::Format::Enum<int, 2>(get%(name)sName, value); }" [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluCallLogWrapper.cpp | 72 inline StringFmt getStringStr (const char* value) { return StringFmt(value); } in getStringStr() argument 73 inline StringFmt getStringStr (const glw::GLubyte* value) { return StringFmt((const char*)value); } in getStringStr() argument 81 const int* value; member in glu::FboParamPtrFmt 83 FboParamPtrFmt (deUint32 param_, const int* value_) : param(param_), value(value_) {} in FboParamPtrFmt() 88 if (fmt.value) in operator <<() 93 return str << tcu::Format::Enum<int, 2>(getFramebufferAttachmentTypeName, *fmt.value); in operator <<() 96 return str << tcu::Format::Enum<int, 2>(getCubeMapFaceName, *fmt.value); in operator <<() 99 return str << tcu::Format::Enum<int, 2>(getTypeName, *fmt.value); in operator <<() 126 getFramebufferAttachmentParameterValueStr(deUint32 param, const int* value) getFramebufferAttachmentParameterValueStr() argument [all...] |
/kernel/linux/linux-5.10/arch/csky/abiv1/inc/abi/ |
H A D | ckmmu.h | 13 static inline void write_mmu_index(int value) in write_mmu_index() argument 15 cpwcr("cpcr0", value); in write_mmu_index() 28 static inline void write_mmu_pagemask(int value) in write_mmu_pagemask() argument 30 cpwcr("cpcr6", value); in write_mmu_pagemask() 38 static inline void write_mmu_entryhi(int value) in write_mmu_entryhi() argument 40 cpwcr("cpcr4", value); in write_mmu_entryhi() 48 static inline void write_mmu_msa0(unsigned long value) in write_mmu_msa0() argument 50 cpwcr("cpcr30", value); in write_mmu_msa0() 58 static inline void write_mmu_msa1(unsigned long value) in write_mmu_msa1() argument 60 cpwcr("cpcr31", value); in write_mmu_msa1() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
H A D | altera_utils.c | 11 u32 value = csrrd32(ioaddr, offs); in tse_set_bit() local 12 value |= bit_mask; in tse_set_bit() 13 csrwr32(value, ioaddr, offs); in tse_set_bit() 18 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit() local 19 value &= ~bit_mask; in tse_clear_bit() 20 csrwr32(value, ioaddr, offs); in tse_clear_bit() 25 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set() local 26 return (value & bit_mask) ? 1 : 0; in tse_bit_is_set() 31 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear() local 32 return (value in tse_bit_is_clear() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/ |
H A D | altera_utils.c | 11 u32 value = csrrd32(ioaddr, offs); in tse_set_bit() local 12 value |= bit_mask; in tse_set_bit() 13 csrwr32(value, ioaddr, offs); in tse_set_bit() 18 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit() local 19 value &= ~bit_mask; in tse_clear_bit() 20 csrwr32(value, ioaddr, offs); in tse_clear_bit() 25 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set() local 26 return (value & bit_mask) ? 1 : 0; in tse_bit_is_set() 31 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear() local 32 return (value in tse_bit_is_clear() [all...] |
/third_party/gn/src/base/json/ |
H A D | json_value_converter.cc | 10 bool BasicValueConverter<int>::Convert(const base::Value& value, in Convert() argument 12 return value.GetAsInteger(field); in Convert() 15 bool BasicValueConverter<std::string>::Convert(const base::Value& value, in Convert() argument 17 return value.GetAsString(field); in Convert() 20 bool BasicValueConverter<std::u16string>::Convert(const base::Value& value, in Convert() argument 22 return value.GetAsString(field); in Convert() 25 bool BasicValueConverter<double>::Convert(const base::Value& value, in Convert() argument 27 return value.GetAsDouble(field); in Convert() 30 bool BasicValueConverter<bool>::Convert(const base::Value& value, in Convert() argument 32 return value in Convert() [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | check.c | 15 * cupsCheckValue() - Check to see if all bytes match the given value. 66 * 'cupsCheckValue()' - Check to see if all bytes match the given value. 72 const unsigned char value) /* I - Value to check */ in cupsCheckValue() 76 if (*bytes++ != value) in cupsCheckValue() 78 if (*bytes++ != value) in cupsCheckValue() 80 if (*bytes++ != value) in cupsCheckValue() 82 if (*bytes++ != value) in cupsCheckValue() 84 if (*bytes++ != value) in cupsCheckValue() 86 if (*bytes++ != value) in cupsCheckValue() 88 if (*bytes++ != value) in cupsCheckValue() 70 cupsCheckValue(const unsigned char *bytes, int length, const unsigned char value) cupsCheckValue() argument [all...] |
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | math.h | 25 /// @param alignment the next multiple to round `value` to 26 /// @param value the value to round to the next multiple of `alignment` 27 /// @return `value` rounded to the next multiple of `alignment` 30 inline T RoundUp(T alignment, T value) { in RoundUp() argument 31 return ((value + alignment - 1) / alignment) * alignment; in RoundUp() 34 /// @param value the value to check whether it is a power-of-two 35 /// @returns true if `value` is a power-of-two 36 /// @note `value` mus 38 IsPowerOfTwo(T value) IsPowerOfTwo() argument 45 MaxAlignOf(T value) MaxAlignOf() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | asyncMultiFile_es6.js | 10 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
12 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
13 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
14 function step(result) { result.done ? resolve(result.value) : adopt(result.value) [all...] |
H A D | autoAccessor5(target=es2022).js | 19 set ["w"](value) { this.#_a_accessor_storage = value; }
22 set ["x"](value) { this.#_b_accessor_storage = value; }
25 static set ["y"](value) { this.#_c_accessor_storage = value; }
28 static set ["z"](value) { this.#_d_accessor_storage = value; }
33 set [_a](value) { this.#_e_accessor_storage = value; }
[all...] |