/third_party/alsa-lib/include/ |
H A D | mixer_abst.h | 85 int (*ask_vol_dB)(snd_mixer_elem_t *elem, int dir, long value, long *dbValue); 86 int (*ask_dB_vol)(snd_mixer_elem_t *elem, int dir, long dbValue, long *value, int xdir); 87 int (*get_volume)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value); 88 int (*get_dB)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value); 89 int (*set_volume)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value); 90 int (*set_dB)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value, int xdir); 91 int (*get_switch)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int *value); 92 int (*set_switch)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value);
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | FilteredDataTest.java | 38 @Nullable @Override protected CldrValue filter(CldrValue value) { in testSimple() 39 if (value.equals(remove)) { in testSimple() 41 } else if (value.equals(replace)) { in testSimple() 44 return value; in testSimple() 67 @Nullable @Override protected CldrValue filter(CldrValue value) { in testBadReplacementPath() 87 @Nullable @Override protected CldrValue filter(CldrValue value) { in testBadReplacementAttributes() 98 private static CldrValue ldml(String path, String value) { in ldml() argument 99 return CldrValue.parseValue("//ldml/" + path, value); in ldml()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zItem.h | 116 bool GetItem(unsigned index, UInt32 &value) const
in GetItem() 120 value = Vals[index];
in GetItem() 123 value = 0;
in GetItem() 131 void SetItem(unsigned index, bool defined, UInt32 value);
157 bool GetItem(unsigned index, UInt64 &value) const
in GetItem() 161 value = Vals[index];
in GetItem() 164 value = 0;
in GetItem() 170 void SetItem(unsigned index, bool defined, UInt64 value);
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | proxy_define_own_property.js | 44 var desc = { value: 1, writable: true, configurable: true }; 76 set(value) { 77 this._name = value; 96 Object.defineProperty(proxy, "foo", {value: "foo"}); 109 var desc = { value: 1 }; 133 Object.defineProperty(proxy, "foo", {value: 1}); 140 var desc = {value: 1, writable: true, configurable: false, enumerable: true}; 160 Object.defineProperty(target, "foo", {value: 1, writable: false, configurable: false}); 163 Object.defineProperty(proxy, 'foo', {value: 2}); 172 Object.defineProperty(proxy, 'bar', {value [all...] |
/third_party/mesa3d/src/amd/drm-shim/ |
H A D | radeon_noop_drm_shim.c | 25 uint32_t *value = (uint32_t *)(intptr_t)info->value; in radeon_ioctl_info() local 29 *value = device_id; in radeon_ioctl_info() 35 *value = true; in radeon_ioctl_info() 39 *value = 0; in radeon_ioctl_info() 45 *value = 64 << 10; in radeon_ioctl_info() 51 *value = 0; /* dummy */ in radeon_ioctl_info() 67 *value = 1; /* dummy */ in radeon_ioctl_info()
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | maybe.h | 22 PtrMaybe(std::unique_ptr<T> value) : value_(std::move(value)) {} in PtrMaybe() argument 24 void operator=(std::unique_ptr<T> value) { value_ = std::move(value); } in operator =() argument 46 ValueMaybe(T value) : is_just_(true), value_(std::move(value)) {} in ValueMaybe() argument 49 void operator=(T value) { in operator =() argument 50 value_ = value; in operator =()
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | option.js | 17 this.required = flags.includes('<'); // A value must be supplied when the option is specified. 18 this.optional = flags.includes('['); // A value is optional when the option is specified. 19 // variadic test ignores <value,...> et al which might be used to describe custom splitting of single argument 21 this.mandatory = false; // The option must have a value after parsing, which usually means it must be specified on command line. 41 * Set the default value, and optionally supply the description to be displayed in the help. 43 * @param {any} value 48 default(value, description) { 49 this.defaultValue = value; 107 * Set environment variable to check for option value. 109 * An environment variable is only used if when processed the current option value i [all...] |
/third_party/mesa3d/include/android_stub/cutils/ |
H A D | trace.h | 120 * A value of zero indicates setup has failed. 121 * Any other nonzero value indicates setup has succeeded, and tracing is on. 127 * Any other value indicates setup has succeeded, and is a valid fd for tracing. 211 * Traces an integer counter value. name is used to identify the counter. 212 * This can be used to track how a value changes over time. 214 #define ATRACE_INT(name, value) atrace_int(ATRACE_TAG, name, value) 215 static inline void atrace_int(uint64_t tag, const char* name, int32_t value) in atrace_int() argument 219 atrace_int_body(name, value); in atrace_int() 224 * Traces a 64-bit integer counter value 228 atrace_int64(uint64_t tag, const char* name, int64_t value) atrace_int64() argument [all...] |
/third_party/libdrm/tests/ |
H A D | drmsl.c | 50 void *value; in print() local 52 if (drmSLFirst(list, &key, &value)) { in print() 54 printf("key = %5lu, value = %p\n", key, value); in print() 55 } while (drmSLNext(list, &key, &value)); in print() 66 void *value; in do_time() local 80 if (drmSLFirst(list, &key, &value)) { in do_time() 86 } while (drmSLNext(list, &key, &value)); in do_time() 92 if (drmSLLookup(list, keys[i], &value)) in do_time()
|
/third_party/node/deps/v8/src/base/ |
H A D | memory.h | 40 static inline void WriteUnalignedValue(Address p, V value) { in WriteUnalignedValue() argument 42 memcpy(reinterpret_cast<void*>(p), &value, sizeof(V)); in WriteUnalignedValue() local 61 static inline void WriteLittleEndianValue(Address p, V value) { in WriteLittleEndianValue() argument 63 WriteUnalignedValue<V>(p, value); in WriteLittleEndianValue() 65 byte* src = reinterpret_cast<byte*>(&value); in WriteLittleEndianValue() 79 static inline void WriteLittleEndianValue(V* p, V value) { in WriteLittleEndianValue() argument 81 !std::is_array<V>::value, in WriteLittleEndianValue() 83 WriteLittleEndianValue<V>(reinterpret_cast<Address>(p), value); in WriteLittleEndianValue() local
|
/third_party/node/deps/v8/src/objects/ |
H A D | instance-type-inl.h | 30 // Checks if value is in range [lower_limit, higher_limit] using a single 34 static constexpr bool Check(InstanceType value) { in Check() 35 return base::IsInRange(value, lower_limit, upper_limit); in Check() 40 static constexpr bool Check(InstanceType value) { in Check() 41 DCHECK_LE(FIRST_TYPE, value); in Check() 42 return value <= upper_limit; in Check() 47 static constexpr bool Check(InstanceType value) { in Check() 48 DCHECK_GE(LAST_TYPE, value); in Check() 49 return value >= lower_limit; in Check()
|
/third_party/mesa3d/src/util/ |
H A D | blob.h | 197 blob_write_uint8(struct blob *blob, uint8_t value); 202 * Writes a uint8_t value to an existing portion of the blob at an offset of 212 uint8_t value); 225 blob_write_uint16(struct blob *blob, uint16_t value); 238 blob_write_uint32(struct blob *blob, uint32_t value); 243 * Writes a uint32_t value to an existing portion of the blob at an offset of 262 uint32_t value); 275 blob_write_uint64(struct blob *blob, uint64_t value); 288 blob_write_intptr(struct blob *blob, intptr_t value); 293 * Writes a intptr_t value t [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_stat.c | 228 const char *SSL_alert_type_string_long(int value) in SSL_alert_type_string_long() argument 230 switch (value >> 8) { in SSL_alert_type_string_long() 240 const char *SSL_alert_type_string(int value) in SSL_alert_type_string() argument 242 switch (value >> 8) { in SSL_alert_type_string() 252 const char *SSL_alert_desc_string(int value) in SSL_alert_desc_string() argument 254 switch (value & 0xff) { in SSL_alert_desc_string() 320 const char *SSL_alert_desc_string_long(int value) in SSL_alert_desc_string_long() argument 322 switch (value & 0xff) { in SSL_alert_desc_string_long() 380 return "bad certificate hash value"; in SSL_alert_desc_string_long()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | serial_utils.h | 25 explicit constexpr ResourceSerial(uintptr_t value) : mValue(value) {} in ResourceSerial() argument 55 constexpr bool operator==(uint32_t value) const in operator ==() 57 return mValue != kInvalid && mValue == static_cast<uint64_t>(value); in operator ==() 68 constexpr bool operator<(uint32_t value) const { return mValue < static_cast<uint64_t>(value); } in operator <() 77 constexpr explicit Serial(uint64_t value) : mValue(value) {} in Serial() argument
|
/third_party/openssl/ssl/ |
H A D | ssl_stat.c | 228 const char *SSL_alert_type_string_long(int value) in SSL_alert_type_string_long() argument 230 switch (value >> 8) { in SSL_alert_type_string_long() 240 const char *SSL_alert_type_string(int value) in SSL_alert_type_string() argument 242 switch (value >> 8) { in SSL_alert_type_string() 252 const char *SSL_alert_desc_string(int value) in SSL_alert_desc_string() argument 254 switch (value & 0xff) { in SSL_alert_desc_string() 320 const char *SSL_alert_desc_string_long(int value) in SSL_alert_desc_string_long() argument 322 switch (value & 0xff) { in SSL_alert_desc_string_long() 380 return "bad certificate hash value"; in SSL_alert_desc_string_long()
|
/third_party/skia/src/xml/ |
H A D | SkXMLWriter.h | 23 void addS32Attribute(const char name[], int32_t value); 24 void addAttribute(const char name[], const char value[]); 25 void addAttributeLen(const char name[], const char value[], size_t length); 26 void addHexAttribute(const char name[], uint32_t value, int minDigits = 0); 27 void addScalarAttribute(const char name[], SkScalar value); 38 virtual void onAddAttributeLen(const char name[], const char value[], size_t length) = 0; 77 void onAddAttributeLen(const char name[], const char value[], size_t length) override; 95 void onAddAttributeLen(const char name[], const char value[], size_t length) override;
|
/third_party/python/Lib/ |
H A D | _py_abc.py | 39 for name, value in namespace.items() 40 if getattr(value, "__isabstractmethod__", False)} 43 value = getattr(cls, name, None) 44 if getattr(value, "__isabstractmethod__", False): 78 value = getattr(cls, name) 79 if isinstance(value, WeakSet): 80 value = set(value) 81 print(f"{name}: {value!r}", file=file)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | CheckedArithmetic.h | 28 typename std::enable_if<std::is_integral<T>::value && sizeof(T) * 8 <= 64, 47 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type 56 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type 65 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type 74 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type 85 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type 94 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type 103 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
|
H A D | PointerLikeTypeTraits.h | 31 : std::integral_constant<size_t, ConstantLog2<N / 2>::value + 1> {}; 36 static const bool value = false; member 42 static const bool value = true; member 46 static const bool value = HasPointerLikeTypeTraits<T>::value; member 50 static const bool value = true; member 59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value }; 124 enum { NumLowBitsAvailable = detail::ConstantLog2<Alignment>::value };
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_switch_stmt_test.cc | 31 ASSERT_NE(e.value, nullptr); in TEST_F() 44 ASSERT_NE(e.value, nullptr); in TEST_F() 59 ASSERT_NE(e.value, nullptr); in TEST_F() 73 EXPECT_EQ(e.value, nullptr); in TEST_F() 83 EXPECT_EQ(e.value, nullptr); in TEST_F() 93 EXPECT_EQ(e.value, nullptr); in TEST_F() 103 EXPECT_EQ(e.value, nullptr); in TEST_F() 115 EXPECT_EQ(e.value, nullptr); in TEST_F()
|
H A D | parser_impl_type_alias_test.cc | 29 ASSERT_NE(t.value, nullptr); in TEST_F() 34 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 13u}})); in TEST_F() 44 ASSERT_NE(t.value, nullptr); in TEST_F() 45 ASSERT_TRUE(t.value->Is<ast::Alias>()); in TEST_F() 46 auto* alias = t.value->As<ast::Alias>(); in TEST_F() 58 EXPECT_EQ(t.value, nullptr); in TEST_F() 68 EXPECT_EQ(t.value, nullptr); in TEST_F() 78 EXPECT_EQ(t.value, nullptr); in TEST_F()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | UnknownFieldSetLiteSchema.java | 52 void addVarint(UnknownFieldSetLite fields, int number, long value) { in addVarint() argument 53 fields.storeField(WireFormat.makeTag(number, WireFormat.WIRETYPE_VARINT), value); in addVarint() 57 void addFixed32(UnknownFieldSetLite fields, int number, int value) { in addFixed32() argument 58 fields.storeField(WireFormat.makeTag(number, WireFormat.WIRETYPE_FIXED32), value); in addFixed32() 62 void addFixed64(UnknownFieldSetLite fields, int number, long value) { in addFixed64() argument 63 fields.storeField(WireFormat.makeTag(number, WireFormat.WIRETYPE_FIXED64), value); in addFixed64() 67 void addLengthDelimited(UnknownFieldSetLite fields, int number, ByteString value) { in addLengthDelimited() argument 68 fields.storeField(WireFormat.makeTag(number, WireFormat.WIRETYPE_LENGTH_DELIMITED), value); in addLengthDelimited()
|
H A D | UnknownFieldSetSchema.java | 54 void addVarint(UnknownFieldSet.Builder fields, int number, long value) { in addVarint() argument 55 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addVarint(value).build()); in addVarint() 59 void addFixed32(UnknownFieldSet.Builder fields, int number, int value) { in addFixed32() argument 60 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addFixed32(value).build()); in addFixed32() 64 void addFixed64(UnknownFieldSet.Builder fields, int number, long value) { in addFixed64() argument 65 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addFixed64(value).build()); in addFixed64() 69 void addLengthDelimited(UnknownFieldSet.Builder fields, int number, ByteString value) { in addLengthDelimited() argument 70 fields.mergeField(number, UnknownFieldSet.Field.newBuilder().addLengthDelimited(value).build()); in addLengthDelimited()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | wire_format.py | 43 # These numbers identify the wire type of a protocol buffer value. 100 def ZigZagEncode(value): 105 if value >= 0: 106 return value << 1 107 return (value << 1) ^ (~0) 110 def ZigZagDecode(value): 112 if not value & 0x1: 113 return value >> 1 114 return (value >> 1) ^ (~0) 119 # serialize "field number + type" information and then serialize the value [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | atomic-test.c | 20 /* This test spawns two threads on distinct cpu-cores that pass a value 22 * Thread "left" continuously increments a value and writes its contents to memory. 23 * Thread "right" continuously reads the value and checks whether it was incremented. 71 size_t value = 0; in read_func() local 75 memcpy(&value, io->memory, sizeof(value)); in read_func() 77 ck_assert_uint_eq(value, expect); in read_func() 85 size_t value = 0; in write_func() local 89 memcpy(io->memory, &value, sizeof(value)); in write_func() [all...] |