/third_party/node/deps/npm/node_modules/safer-buffer/ |
H A D | safer.js | 28 Safer.from = function (value, encodingOrOffset, length) { 29 if (typeof value === 'number') { 30 throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value) 32 if (value && typeof value.length === 'undefined') { 33 throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value) 35 return Buffer(value, encodingOrOffset, length) 45 throw new RangeError('The value "' + size + '" is invalid for option "size"')
|
/third_party/libinput/src/ |
H A D | util-time.h | 102 unsigned int value; member 125 uint64_t value = us; in to_human_time() local 128 value = value/c->change_from_previous; in to_human_time() 129 if (value < c->limit) { in to_human_time() 131 t.value = value; in to_human_time()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
H A D | 6-1.c | 86 int ret, value; in main() local 134 ret = sem_getvalue(sem1, &value); in main() 137 UNRESOLVED(errno, "Failed to read sem1 value"); in main() 140 if (value != 1) { in main() 141 output("Read: %d\n", value); in main() 142 FAILED("Semaphore value is not as expected"); in main() 145 ret = sem_getvalue(sem2, &value); in main() 148 UNRESOLVED(errno, "Failed to read sem1 value"); in main() 151 if (value != 3) { in main() 152 output("Read: %d\n", value); in main() [all...] |
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn_moid.c | 21 static int do_create(const char *value, const char *name); 37 if (!do_create(oval->value, oval->name)) { in oid_module_init() 55 * Create an OID based on a name value pair. Accept two formats. 60 static int do_create(const char *value, const char *name) in do_create() argument 66 p = strrchr(value, ','); in do_create() 69 ostr = value; in do_create() 70 } else if (p == value) { in do_create() 75 ln = value; in do_create()
|
/third_party/libabigail/include/ |
H A D | abg-cxx-compat.h | 45 optional(const T& value) : has_value_(true), value_(value) {} 54 value() const 86 operator=(const T& value) 89 value_ = value; 104 return lhs.value() == rhs.value();
|
/third_party/openssl/crypto/asn1/ |
H A D | asn_moid.c | 21 static int do_create(const char *value, const char *name); 37 if (!do_create(oval->value, oval->name)) { in oid_module_init() 55 * Create an OID based on a name value pair. Accept two formats. 60 static int do_create(const char *value, const char *name) in do_create() argument 66 p = strrchr(value, ','); in do_create() 69 ostr = value; in do_create() 70 } else if (p == value) { in do_create() 75 ln = value; in do_create()
|
/third_party/vk-gl-cts/executor/ |
H A D | xeXMLWriter.hpp | 63 std::string value; member 64 Attribute (const char* name_, const char* value_) : name(name_), value(value_) {} in Attribute() 65 Attribute (const char* name_, const std::string& value_) : name(name_), value(value_) {} in Attribute() 66 Attribute (const std::string& name_, const std::string& value_) : name(name_), value(value_) {} in Attribute() 79 Writer& operator<< (const T& value); //!< Write data. 102 Writer& Writer::operator<< (const T& value) in operator <<() argument 107 m_dataStr << value; in operator <<() local
|
/third_party/skia/third_party/externals/icu/source/tools/gencmn/ |
H A D | gencmn.c | 108 createCommonDataFile(options[4].doesOccur ? options[4].value : NULL, in main() 109 options[6].doesOccur ? options[6].value : NULL, in main() 110 options[9].doesOccur ? options[9].value : options[6].doesOccur ? options[6].value : NULL, in main() 111 options[7].doesOccur ? options[7].value : NULL, in main() 112 options[10].doesOccur ? options[10].value : NULL, in main() 113 options[3].doesOccur ? U_COPYRIGHT_STRING : options[5].doesOccur ? options[5].value : NULL, in main()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/util/ |
H A D | WaveFileWriter.cpp | 19 void WaveFileWriter::WaveFileWriter::write(float value) { in write() argument 24 writePCM24(value); in write() 26 writePCM16(value); in write() 89 void WaveFileWriter::writePCM24(float value) { in writePCM24() argument 92 float temp = (PCM24_MAX * value) + 0.5 - PCM24_MIN; in writePCM24() 106 void WaveFileWriter::writePCM16(float value) { in writePCM16() argument 109 float temp = (INT16_MAX * value) + 0.5 - INT16_MIN; in writePCM16()
|
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | huffman.h | 40 uint16_t value; /* symbol value or table offset */ member 44 const uint16_t value) { in ConstructHuffmanCode() 47 h.value = value; in ConstructHuffmanCode() 59 * *value = BROTLI_HC_GET_VALUE(table); 71 #define BROTLI_HC_FAST_LOAD_VALUE(H) (H->value) 78 const uint16_t value) { in ConstructHuffmanCode() 79 return (HuffmanCode) ((value & 0xFFFF) << 16) | (bits & 0xFF); in ConstructHuffmanCode() 43 ConstructHuffmanCode(const uint8_t bits, const uint16_t value) ConstructHuffmanCode() argument 77 ConstructHuffmanCode(const uint8_t bits, const uint16_t value) ConstructHuffmanCode() argument
|
/third_party/skia/tools/debugger/ |
H A D | JsonWriteBuffer.h | 24 void writeBool(bool value) override; 25 void writeScalar(SkScalar value) override; 26 void writeScalarArray(const SkScalar* value, uint32_t count) override; 27 void writeInt(int32_t value) override; 28 void writeIntArray(const int32_t* value, uint32_t count) override; 29 void writeUInt(uint32_t value) override; 30 void writeString(const char* value) override;
|
/third_party/typescript/tests/baselines/reference/ |
H A D | classStaticBlock16.js | 28 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
32 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
37 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNameAccessors.js | 19 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
23 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
28 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNameComputedPropertyName3(target=es2015).js | 28 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
32 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
37 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNameInLhsReceiverExpression.js | 13 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
17 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
22 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNameStaticAccessors.js | 19 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
23 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
28 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNamesAndGenericClasses-2.js | 35 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
37 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
41 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
H A D | commandlineflag.h | 80 // Attempts to retrieve the flag value. Returns value on success, 90 // We are wrapping a union around the value of `T` to serve three purposes: in TryGet() 92 // 1. `U.value` has correct size and alignment for a value of type `T` in TryGet() 93 // 2. The `U.value` constructor is not invoked since U's constructor does in TryGet() 95 // 3. The `U.value` destructor is invoked since U's destructor does it in TryGet() 97 // constructible value of T, which is destructed when we leave the in TryGet() 98 // scope. We do need to destroy U.value, which is constructed by in TryGet() 104 T value; in TryGet() member [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGRadialGradient.cpp | 15 bool SkSVGRadialGradient::parseAndSetAttribute(const char* name, const char* value) { in parseAndSetAttribute() argument 16 return INHERITED::parseAndSetAttribute(name, value) || in parseAndSetAttribute() 17 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>("cx", name, value)) || in parseAndSetAttribute() 18 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>("cy", name, value)) || in parseAndSetAttribute() 19 this->setR(SkSVGAttributeParser::parse<SkSVGLength>("r", name, value)) || in parseAndSetAttribute() 20 this->setFx(SkSVGAttributeParser::parse<SkSVGLength>("fx", name, value)) || in parseAndSetAttribute() 21 this->setFy(SkSVGAttributeParser::parse<SkSVGLength>("fy", name, value)); in parseAndSetAttribute()
|
/third_party/spirv-tools/tools/as/ |
H A D | as.cpp | 64 if (flags::h.value() || flags::help.value()) { in main() 70 if (flags::version.value()) { in main() 85 std::string outFile = flags::o.value(); in main() 91 if (flags::preserve_numeric_ids.value()) { in main() 96 if (!spvParseTargetEnv(flags::target_env.value().c_str(), &target_env)) { in main() 98 flags::target_env.value().c_str()); in main()
|
/kernel/linux/linux-5.10/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 97 * @ret_payload: Returned value array 125 * @ret_payload: Returned value array 202 * @ret_payload: Returned value array 246 * @version: Returned version value 296 * @version: Returned version value 353 * @out: Returned output value 429 * @divider: divider value 446 * @divider: divider value 469 * @rate: rate value in hz 487 * @rate: rate value i 626 zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value) zynqmp_pm_set_sd_tapdelay() argument 659 zynqmp_pm_write_ggs(u32 index, u32 value) zynqmp_pm_write_ggs() argument 675 zynqmp_pm_read_ggs(u32 index, u32 *value) zynqmp_pm_read_ggs() argument 692 zynqmp_pm_write_pggs(u32 index, u32 value) zynqmp_pm_write_pggs() argument 709 zynqmp_pm_read_pggs(u32 index, u32 *value) zynqmp_pm_read_pggs() argument 725 zynqmp_pm_set_boot_health_status(u32 value) zynqmp_pm_set_boot_health_status() argument 799 zynqmp_pm_fpga_get_status(u32 *value) zynqmp_pm_fpga_get_status() argument 1039 unsigned int value; health_status_store() local 1077 long value; ggs_store() local 1145 long value; pggs_store() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_misc.c | 65 obj_args[0].integer.value = link; in hns_dsaf_acpi_ledctrl_by_port() 67 obj_args[1].integer.value = port; in hns_dsaf_acpi_ledctrl_by_port() 69 obj_args[2].integer.value = act; in hns_dsaf_acpi_ledctrl_by_port() 94 obj_args[0].integer.value = locate; in hns_dsaf_acpi_locate_ledctrl_by_port() 96 obj_args[1].integer.value = port; in hns_dsaf_acpi_locate_ledctrl_by_port() 117 u8 value; in hns_cpld_set_led() local 132 value = mac_cb->cpld_led_value; in hns_cpld_set_led() 135 dsaf_set_bit(value, DSAF_LED_LINK_B, link_status); in hns_cpld_set_led() 136 dsaf_set_field(value, DSAF_LED_SPEED_M, in hns_cpld_set_led() 138 dsaf_set_bit(value, DSAF_LED_DATA_ in hns_cpld_set_led() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | script_asm.pl | 147 # expand out each alternative for $value. 149 $value = "$identifier|$identifier\\s*[+\-]\\s*$decnum|". 152 print STDERR "value regex = $value\n" if ($debug); 198 # &patch ($address, $offset, $length, $value) patches $code[$address] 199 # so that the $length bytes at $offset have $value added to 206 local ($address, $offset, $length, $value) = @_; 208 print STDERR "Patching $address at offset $offset, length $length to $value\n"; 215 (($code[$address] & $mask) + ($value << ($offset * 8)) & 221 # &parse_value($value, [all...] |
/kernel/linux/linux-5.10/sound/i2c/other/ |
H A D | ak4114.c | 173 uinfo->value.integer.min = 0; in snd_ak4114_in_error_info() 174 uinfo->value.integer.max = LONG_MAX; in snd_ak4114_in_error_info() 184 ucontrol->value.integer.value[0] = in snd_ak4114_in_error_get() 201 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4114_in_bit_get() 210 uinfo->value.integer.min = 0; in snd_ak4114_rate_info() 211 uinfo->value.integer.max = 192000; in snd_ak4114_rate_info() 220 ucontrol->value.integer.value[ in snd_ak4114_rate_get() [all...] |
/kernel/linux/linux-5.10/sound/pci/pcxhr/ |
H A D | pcxhr_mix22.c | 496 int hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value) in hr222_read_gpio() argument 500 *value = (int)(reg & PCXHR_STAT_GPI_MASK) >> in hr222_read_gpio() 503 *value = (int)(mgr->dsp_reset & PCXHR_DSP_RESET_GPO_MASK) >> in hr222_read_gpio() 510 int hr222_write_gpo(struct pcxhr_mgr *mgr, int value) in hr222_write_gpo() argument 514 reg |= (unsigned char)(value << PCXHR_DSP_RESET_GPO_OFFSET) & in hr222_write_gpo() 703 uinfo->value.integer.min = HR222_MICRO_CAPTURE_LEVEL_MIN; /* -98 dB */ in hr222_mic_vol_info() 705 uinfo->value.integer.max = HR222_MICRO_CAPTURE_LEVEL_MAX; /* +7 dB */ in hr222_mic_vol_info() 714 ucontrol->value.integer.value[0] = chip->mic_volume; in hr222_mic_vol_get() 725 if (chip->mic_volume != ucontrol->value in hr222_mic_vol_put() [all...] |