Home
last modified time | relevance | path

Searched refs:value (Results 1951 - 1975 of 26757) sorted by relevance

1...<<71727374757677787980>>...1071

/third_party/skia/src/sksl/ir/
H A DSkSLSwitchCase.h23 // null value implies "default" case
24 SwitchCase(int line, std::unique_ptr<Expression> value, std::unique_ptr<Statement> statement) in SwitchCase() argument
26 , fValue(std::move(value)) in SwitchCase()
29 std::unique_ptr<Expression>& value() { in value() function in SkSL::final
33 const std::unique_ptr<Expression>& value() const { in value() function in SkSL::final
47 this->value() ? this->value()->clone() : nullptr,
52 if (this->value()) {
54 this->value()->description().c_str(),
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-metrics.c38 hb_position_t value; in test_ot_metrics_get_no_var() local
39 g_assert (hb_ot_metrics_get_position (font, HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER, &value)); in test_ot_metrics_get_no_var()
40 g_assert_cmpint (value, ==, 1000); in test_ot_metrics_get_no_var()
54 hb_position_t value; in test_ot_metrics_get_var() local
55 g_assert (hb_ot_metrics_get_position (font, HB_OT_METRICS_TAG_X_HEIGHT, &value)); in test_ot_metrics_get_var()
56 g_assert_cmpint (value, ==, 486); in test_ot_metrics_get_var()
62 g_assert (hb_ot_metrics_get_position (font, HB_OT_METRICS_TAG_X_HEIGHT, &value)); in test_ot_metrics_get_var()
63 g_assert_cmpint (value, ==, 478); in test_ot_metrics_get_var()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DEndianStream.h27 inline void write(raw_ostream &os, value_type value, endianness endian) { in write() argument
28 value = byte_swap<value_type>(value, endian); in write()
29 os.write((const char *)&value, sizeof(value_type)); in write()
33 inline void write<float>(raw_ostream &os, float value, endianness endian) { in write() argument
34 write(os, FloatToBits(value), endian); in write()
38 inline void write<double>(raw_ostream &os, double value, in write() argument
40 write(os, DoubleToBits(value), endian); in write()
/third_party/typescript/tests/baselines/reference/
H A DcontextuallyTypedBooleanLiterals.js6 set: (value: T) => void
9 declare function box<T>(value: T): Box<T>;
22 (value: T): any;
25 declare function observable<T>(value: T): Observable<T>;
43 set: (value: T) => void;
45 declare function box<T>(value: T): Box<T>;
52 (value: T): any;
54 declare function observable<T>(value: T): Observable<T>;
H A DcontrolFlowLoopAnalysis.js36 canTake: (value: a, index: number) => boolean,
37 mapping: (value: a, index: number) => b
41 let value = values[index];
42 if (canTake(value, index)) {
43 result.push(mapping(value, index));
81 var value = values[index];
82 if (canTake(value, index)) {
83 result.push(mapping(value, index));
H A DemptyAnonymousObjectNarrowing(strictnullchecks=false).js66 const foo = (value: unknown): string => {
67 if (!value) {
70 if (value === 'xyz') {
71 return value; // Type '{}' is not assignable to type 'string'.
131 var foo = function (value) {
132 if (!value) {
135 if (value === 'xyz') {
136 return value; // Type '{}' is not assignable to type 'string'.
H A DemptyAnonymousObjectNarrowing(strictnullchecks=true).js66 const foo = (value: unknown): string => {
67 if (!value) {
70 if (value === 'xyz') {
71 return value; // Type '{}' is not assignable to type 'string'.
131 var foo = function (value) {
132 if (!value) {
135 if (value === 'xyz') {
136 return value; // Type '{}' is not assignable to type 'string'.
H A DnanEquality.js32 function t1(value: number, NaN: number) {
33 return value === NaN; // ok
36 function t2(value: number, NaN: number) {
37 return NaN == value; // ok
63 function t1(value, NaN) {
64 return value === NaN; // ok
66 function t2(value, NaN) {
67 return NaN == value; // ok
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dobject_writer.cc45 ow->RenderInt32(name, data.ToInt32().value()); in RenderDataPieceTo()
49 ow->RenderInt64(name, data.ToInt64().value()); in RenderDataPieceTo()
53 ow->RenderUint32(name, data.ToUint32().value()); in RenderDataPieceTo()
57 ow->RenderUint64(name, data.ToUint64().value()); in RenderDataPieceTo()
61 ow->RenderDouble(name, data.ToDouble().value()); in RenderDataPieceTo()
65 ow->RenderFloat(name, data.ToFloat().value()); in RenderDataPieceTo()
69 ow->RenderBool(name, data.ToBool().value()); in RenderDataPieceTo()
73 ow->RenderString(name, data.ToString().value()); in RenderDataPieceTo()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstring_constant_test.cc35 EXPECT_TRUE(std::is_empty<T>::value); in TEST()
36 EXPECT_TRUE(std::is_trivial<T>::value); in TEST()
37 EXPECT_TRUE(absl::is_trivially_default_constructible<T>::value); in TEST()
38 EXPECT_TRUE(absl::is_trivially_copy_constructible<T>::value); in TEST()
39 EXPECT_TRUE(absl::is_trivially_move_constructible<T>::value); in TEST()
40 EXPECT_TRUE(absl::is_trivially_destructible<T>::value); in TEST()
46 EXPECT_EQ(Callable{}(), T::value); in TEST()
56 EXPECT_EQ(Callable{}(), T::value); in TEST()
/third_party/vulkan-loader/tests/framework/
H A Djson_writer.h79 void AddKeyedString(std::string const& key, std::string const& value) { in AddKeyedString()
82 output += "\"" + key + "\": \"" + value + "\""; in AddKeyedString()
84 void AddString(std::string const& value) { in AddString()
87 output += "\"" + value + "\""; in AddString()
90 void AddKeyedBool(std::string const& key, bool value) { in AddKeyedBool()
93 output += "\"" + key + "\": " + (value ? "true" : "false"); in AddKeyedBool()
95 void AddBool(bool value) { in AddBool()
98 output += std::string(value ? "true" : "false"); in AddBool()
/drivers/interface/camera/sequenceable/map_data/
H A Dmap_data_sequenceable.h38 int32_t Get(const std::string &key, int32_t &value) const;
39 int32_t Get(const std::string &key, int64_t &value) const;
40 int32_t Get(const std::string &key, double &value) const;
41 int32_t Get(const std::string &key, std::string &value) const;
42 int32_t Set(const std::string &key, int32_t value);
43 int32_t Set(const std::string &key, int64_t value);
44 int32_t Set(const std::string &key, double value);
45 int32_t Set(const std::string &key, const std::string& value);
59 int32_t Get(const std::string &key, MapDataType type, T &value) const;
/kernel/linux/linux-6.6/arch/microblaze/kernel/
H A Dmodule.c26 unsigned long int value; in apply_relocate_add() local
37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
49 *location = value; in apply_relocate_add()
54 (value >> 16); in apply_relocate_add()
56 (value & 0xFFFF); in apply_relocate_add()
60 value -= (unsigned long int)(location) + 4; in apply_relocate_add()
62 (value >> 16); in apply_relocate_add()
64 (value & 0xFFFF); in apply_relocate_add()
66 value); in apply_relocate_add()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf_multi.c12 long value; member
24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample()
25 333L, s->value); in process_sample()
29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample()
30 777L, s->value); in process_sample()
34 s->seq, s->value); in process_sample()
70 skel->bss->value = 333; in test_ringbuf_multi()
75 skel->bss->value = 555; in test_ringbuf_multi()
79 skel->bss->value = 777; in test_ringbuf_multi()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtracex2_kern.c18 __type(value, long);
30 long *value; in bpf_prog2() local
37 value = bpf_map_lookup_elem(&my_map, &loc); in bpf_prog2()
38 if (value) in bpf_prog2()
39 *value += 1; in bpf_prog2()
86 long *value; in bpf_prog3() local
94 value = bpf_map_lookup_elem(&my_hist_map, &key); in bpf_prog3()
95 if (value) in bpf_prog3()
96 __sync_fetch_and_add(value, 1); in bpf_prog3()
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py36 def add_stats(dict, key, value):
38 dict[key] = (value, value, value, 1)
41 if value < min:
42 min = value
43 if value > max:
44 max = value
45 avg = (avg + value) / 2
/kernel/linux/linux-5.10/fs/jffs2/
H A Dcompr_rtime.c16 * occurrences" for every possible source-value; after sending the
47 unsigned char value; in jffs2_rtime_compress() local
49 value = data_in[pos]; in jffs2_rtime_compress()
53 backpos = positions[value]; in jffs2_rtime_compress()
54 positions[value]=pos; in jffs2_rtime_compress()
87 unsigned char value; in jffs2_rtime_decompress() local
91 value = data_in[pos++]; in jffs2_rtime_decompress()
92 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in jffs2_rtime_decompress()
94 backoffs = positions[value]; in jffs2_rtime_decompress()
96 positions[value] in jffs2_rtime_decompress()
[all...]
/kernel/linux/linux-6.6/fs/jffs2/
H A Dcompr_rtime.c16 * occurrences" for every possible source-value; after sending the
47 unsigned char value; in jffs2_rtime_compress() local
49 value = data_in[pos]; in jffs2_rtime_compress()
53 backpos = positions[value]; in jffs2_rtime_compress()
54 positions[value]=pos; in jffs2_rtime_compress()
87 unsigned char value; in jffs2_rtime_decompress() local
91 value = data_in[pos++]; in jffs2_rtime_decompress()
92 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in jffs2_rtime_decompress()
94 backoffs = positions[value]; in jffs2_rtime_decompress()
96 positions[value] in jffs2_rtime_decompress()
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py36 def add_stats(dict, key, value):
38 dict[key] = (value, value, value, 1)
41 if value < min:
42 min = value
43 if value > max:
44 max = value
45 avg = (avg + value) / 2
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dhtab_reuse.c26 struct htab_val value; in htab_lookup_fn() local
29 /* Use BPF_F_LOCK to use spin-lock in map value. */ in htab_lookup_fn()
31 bpf_map_lookup_elem_flags(ctx->fd, &key, &value, BPF_F_LOCK); in htab_lookup_fn()
43 struct htab_val value; in htab_update_fn() local
47 value.lock = 0; in htab_update_fn()
48 value.data = key; in htab_update_fn()
49 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOCK); in htab_update_fn()
53 value.lock = 0; in htab_update_fn()
54 value.data = key; in htab_update_fn()
55 bpf_map_update_elem(ctx->fd, &key, &value, BPF_F_LOC in htab_update_fn()
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dtracex2.bpf.c16 __type(value, long);
28 long *value; in bpf_prog2() local
35 value = bpf_map_lookup_elem(&my_map, &loc); in bpf_prog2()
36 if (value) in bpf_prog2()
37 *value += 1; in bpf_prog2()
83 long *value; in BPF_KSYSCALL() local
91 value = bpf_map_lookup_elem(&my_hist_map, &key); in BPF_KSYSCALL()
92 if (value) in BPF_KSYSCALL()
93 __sync_fetch_and_add(value, 1); in BPF_KSYSCALL()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleObjectCache.java28 V value = null; in get()
33 value = entry.get(); in get()
35 if (value == null) { in get()
39 // subclass must return non-null key/value object in get()
45 while (value == null) { in get()
49 value = newVal; in get()
52 value = entry.get(); in get()
56 return value; in get()
76 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() argument
77 super(value, queu in CacheEntry()
[all...]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Ddouble-to-string.h70 // This value does not include the trailing '\0' character.
102 // special values. If the string is NULL and the special value is encountered
198 // except when the input value is special and no infinity_symbol or
215 bool ToShortest(double value, StringBuilder* result_builder) const { in ToShortest() argument
216 return ToShortestIeeeNumber(value, result_builder, SHORTEST); in ToShortest()
220 bool ToShortestSingle(float value, StringBuilder* result_builder) const { in ToShortestSingle() argument
221 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE); in ToShortestSingle()
251 // - the input value is special and no infinity_symbol or nan_symbol has
253 // - 'value' > 10^kMaxFixedDigitsBeforePoint, or
260 bool ToFixed(double value,
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleObjectCache.java32 V value = null; in get()
37 value = entry.get(); in get()
39 if (value == null) { in get()
43 // subclass must return non-null key/value object in get()
49 while (value == null) { in get()
53 value = newVal; in get()
56 value = entry.get(); in get()
60 return value; in get()
80 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() argument
81 super(value, queu in CacheEntry()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Ddouble-conversion-double-to-string.h84 // This value does not include the trailing '\0' character.
117 // special values. If the string is NULL and the special value is encountered
213 // except when the input value is special and no infinity_symbol or
230 bool ToShortest(double value, StringBuilder* result_builder) const {
231 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
235 bool ToShortestSingle(float value, StringBuilder* result_builder) const {
236 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE);
266 // - the input value is special and no infinity_symbol or nan_symbol has
268 // - 'value' > 10^kMaxFixedDigitsBeforePoint, or
275 bool ToFixed(double value,
[all...]

Completed in 11 milliseconds

1...<<71727374757677787980>>...1071