Home
last modified time | relevance | path

Searched refs:value (Results 776 - 800 of 33818) sorted by relevance

1...<<31323334353637383940>>...1353

/third_party/backends/backend/
H A Depsonds-cmd.c156 /* pointer to the token's value */ in esci2_cmd()
345 char *value; in info_cb() local
348 /* pointer to the token's value */ in info_cb()
349 value = token + 3; in info_cb()
354 if (strncmp("BUSY", value, 4) == 0) { in info_cb()
361 s->hw->model = decode_string(value, len); in info_cb()
367 char *v = decode_string(value, len); in info_cb()
373 char *v = decode_string(value, len); in info_cb()
384 if (strncmp("TYPEPAGE", value, len) == 0) { in info_cb()
388 if (strncmp("TYPEFEED", value, le in info_cb()
640 char *value = token + 3; capa_cb() local
785 char *value = token + 3; stat_cb() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-objects-inl.h64 Object value = TaggedField<Object, offset>::load(cage_base, *this); \
65 return !value.IsUndefined(GetReadOnlyRoots(cage_base)); \
68 !value.IsUndefined(GetReadOnlyRoots(cage_base)), true)
74 void holder::set_##name(type value) { \
75 WriteMaybeUnalignedValue<type>(FIELD_ADDR(*this, offset), value); \
81 Address value = ReadSandboxedPointerField(offset, sandbox_base); \
82 return reinterpret_cast<type>(value); \
84 void holder::set_##name(type value) { \
86 Address addr = reinterpret_cast<Address>(value); \
119 void WasmGlobalObject::set_type(wasm::ValueType value) { in set_type() argument
153 SetI32(int32_t value) SetI32() argument
154 base::WriteUnalignedValue(address(), value); SetI32() local
157 SetI64(int64_t value) SetI64() argument
158 base::WriteUnalignedValue(address(), value); SetI64() local
161 SetF32(float value) SetF32() argument
162 base::WriteUnalignedValue(address(), value); SetF32() local
165 SetF64(double value) SetF64() argument
166 base::WriteUnalignedValue(address(), value); SetF64() local
169 SetExternRef(Handle<Object> value) SetExternRef() argument
171 tagged_buffer().set(offset(), *value); SetExternRef() local
174 SetFuncRef(Isolate* isolate, Handle<Object> value) SetFuncRef() argument
178 tagged_buffer().set(offset(), *value); SetFuncRef() local
337 int8_t value = base::Memory<int8_t>(field_address); ReadValueAt() local
341 int16_t value = base::Memory<int16_t>(field_address); ReadValueAt() local
345 int32_t value = base::Memory<int32_t>(field_address); ReadValueAt() local
349 int64_t value = base::ReadUnalignedValue<int64_t>(field_address); ReadValueAt() local
353 float value = base::Memory<float>(field_address); ReadValueAt() local
357 double value = base::ReadUnalignedValue<double>(field_address); ReadValueAt() local
381 ToWasmValue(Isolate* isolate, wasm::ValueType type, Handle<Object> value) ToWasmValue() argument
418 FromNumber(Object value) FromNumber() argument
438 WriteValueAt(Isolate* isolate, Handle<HeapObject> obj, wasm::ValueType type, uint32_t offset, Handle<Object> value) WriteValueAt() argument
558 SetField(Isolate* isolate, Handle<WasmStruct> obj, uint32_t field_index, Handle<Object> value) SetField() argument
[all...]
/third_party/node/deps/v8/src/diagnostics/s390/
H A Ddisasm-s390.cc258 int32_t value = instr->Bits(15, 0); in FormatOption() local
260 base::SNPrintF(out_buffer_ + out_buffer_pos_, "%d", value); in FormatOption()
298 case 'd': { // ds value for offset in FormatOption()
311 int32_t value = 0; in FormatMask() local
313 value = reinterpret_cast<RRInstruction*>(instr)->R1Value(); in FormatMask()
315 base::SNPrintF(out_buffer_ + out_buffer_pos_, "0x%x", value); in FormatMask()
318 value = reinterpret_cast<RXInstruction*>(instr)->B2Value(); in FormatMask()
320 base::SNPrintF(out_buffer_ + out_buffer_pos_, "0x%x", value); in FormatMask()
323 value = reinterpret_cast<RRFInstruction*>(instr)->M4Value(); in FormatMask()
325 base::SNPrintF(out_buffer_ + out_buffer_pos_, "0x%x", value); in FormatMask()
352 uint16_t value = rsinstr->D2Value(); FormatDisplacement() local
359 int32_t value = rxyinstr->D2Value(); FormatDisplacement() local
365 uint16_t value = ssInstr->D2Value(); FormatDisplacement() local
371 uint16_t value = ssInstr->D1Value(); FormatDisplacement() local
376 int32_t value = SIGN_EXT_IMM16(instr->Bits(15, 0) & ~3); FormatDisplacement() local
388 int16_t value = riinstr->I2Value(); FormatImmediate() local
394 int32_t value = rilinstr->I2Value(); FormatImmediate() local
400 int8_t value = iinstr->IValue(); FormatImmediate() local
406 int16_t value = riinstr->I2Value() * 2; FormatImmediate() local
418 int32_t value = rilinstr->I2Value() * 2; FormatImmediate() local
430 uint16_t value = riinstr->I2UnsignedValue(); FormatImmediate() local
436 uint32_t value = rilinstr->I2UnsignedValue(); FormatImmediate() local
442 uint8_t value = ssinstr->Length(); FormatImmediate() local
448 uint8_t value = rie_instr->I3Value(); FormatImmediate() local
454 uint8_t value = rie_instr->I4Value(); FormatImmediate() local
460 uint8_t value = rie_instr->I5Value(); FormatImmediate() local
466 int8_t value = ssinstr->Length(); FormatImmediate() local
472 int16_t value = silinstr->I2Value(); FormatImmediate() local
478 int32_t value = rilinstr->I2Value() * 2; FormatImmediate() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A Demitter.asyncGenerators.classMethods.es2015.js71 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
72 function fulfill(value) { resume("next", value); }
73 function reject(value) { resume("throw", value); }
90 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
91 function fulfill(value) { resume("next", value); }
[all...]
H A DassertionTypePredicates1.js2 declare function isString(value: unknown): value is string;
3 declare function isArrayOfStrings(value: unknown): value is string[];
5 const assert: (value: unknown) => asserts value = value => {}
7 declare function assertIsString(value: unknown): asserts value is string;
8 declare function assertIsArrayOfStrings(value
[all...]
H A Demitter.asyncGenerators.functionDeclarations.es2015.js40 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
41 function fulfill(value) { resume("next", value); }
42 function reject(value) { resume("throw", value); }
57 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
58 function fulfill(value) { resume("next", value); }
[all...]
H A Demitter.asyncGenerators.functionExpressions.es2015.js40 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
41 function fulfill(value) { resume("next", value); }
42 function reject(value) { resume("throw", value); }
57 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
58 function fulfill(value) { resume("next", value); }
[all...]
H A Demitter.asyncGenerators.objectLiteralMethods.es2015.js54 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
55 function fulfill(value) { resume("next", value); }
56 function reject(value) { resume("throw", value); }
73 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
74 function fulfill(value) { resume("next", value); }
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dnetsys.c291 app_uid_stats_value *value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid); in bpf_cgroup_skb_uid_ingress() local
292 if (value == NULL) { in bpf_cgroup_skb_uid_ingress()
295 value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid); in bpf_cgroup_skb_uid_ingress()
297 if (value != NULL) { in bpf_cgroup_skb_uid_ingress()
298 __sync_fetch_and_add(&value->rxPackets, 1); in bpf_cgroup_skb_uid_ingress()
299 __sync_fetch_and_add(&value->rxBytes, skb->len); in bpf_cgroup_skb_uid_ingress()
381 app_uid_stats_value *value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid); in bpf_cgroup_skb_uid_egress() local
382 if (value == NULL) { in bpf_cgroup_skb_uid_egress()
385 value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid); in bpf_cgroup_skb_uid_egress()
387 if (value ! in bpf_cgroup_skb_uid_egress()
467 sock_permission_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_create_socket() local
497 socket_check_network_policy(net_bear_type_map_value net_bear_mark_type, net_bear_type_map_value *net_bear_type, uid_access_policy_value *value) socket_check_network_policy() argument
531 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_bind4() local
577 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_bind6() local
623 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_connect4() local
670 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_connect6() local
716 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_sendmsg4() local
762 uid_access_policy_value *value = bpf_map_lookup_elem(map_ptr, &uid); inet_check_sendmsg6() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_transaction_record_test.cpp34 "CREATE TABLE IF NOT EXISTS version_data(key BLOB, value BLOB, oper_flag INTEGER, version INTEGER, " \
97 Value value; in HWTEST_F() local
99 DistributedDBToolsUnitTest::GetRandomKeyValue(value); in HWTEST_F()
106 EXPECT_EQ(g_transaction->Put(key, value), E_OK); in HWTEST_F()
109 * @tc.steps: step3. Get the new data and check the value. in HWTEST_F()
110 * @tc.expected: step3. Get returns E_OK and the read value is equal to the put value. in HWTEST_F()
115 EXPECT_EQ(DistributedDBToolsUnitTest::IsValueEqual(valueRead, value), true); in HWTEST_F()
142 Value value; in HWTEST_F() local
143 DistributedDBToolsUnitTest::GetRandomKeyValue(value); in HWTEST_F()
176 Value value; HWTEST_F() local
217 Value value; HWTEST_F() local
271 Value value; HWTEST_F() local
321 Value value; HWTEST_F() local
373 Value value; HWTEST_F() local
429 Value value; HWTEST_F() local
521 Value value; HWTEST_F() local
544 Value value, valueRead; HWTEST_F() local
576 Value value; HWTEST_F() local
609 Value value; HWTEST_F() local
642 Value value; HWTEST_F() local
678 Value value; HWTEST_F() local
754 Value value; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dproperty.h192 void Update##name(const type& value) \
195 if (groupProperty->Check##name(value)) { \
198 groupProperty->Update##name(value); \
204 void Update##name(const type& value) \
207 if (groupProperty->Check##groupItem(value)) { \
210 groupProperty->Update##groupItem(value); \
216 void Update##name(const type& value) \
219 if (groupProperty->Check##name(value)) { \
222 groupProperty->Update##name(value); \
224 On##name##Update(value); \
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DAlignment.h14 // power of two, its minimum value is 1 which means no alignment requirements.
86 uint64_t value() const { return uint64_t(1) << ShiftValue; }
103 return Constant<std::alignment_of<T>::value>();
110 /// Treats the value 0 as a 1, so Align is always at least 1.
147 return SizeInBytes % Lhs.value() == 0;
154 return SizeInBytes % (*Lhs).value() == 0;
164 const uint64_t value = A.value();
165 // The following line is equivalent to `(Size + value - 1) / value * valu
[all...]
/third_party/vixl/src/
H A Dutils-vixl.cc52 bool IsZero(Float16 value) { in IsZero() argument
53 uint16_t bits = Float16ToRawbits(value); in IsZero()
58 uint16_t Float16ToRawbits(Float16 value) { return value.rawbits_; } in Float16ToRawbits() argument
60 uint32_t FloatToRawbits(float value) { in FloatToRawbits() argument
62 memcpy(&bits, &value, 4); in FloatToRawbits()
67 uint64_t DoubleToRawbits(double value) { in DoubleToRawbits() argument
69 memcpy(&bits, &value, 8); in DoubleToRawbits()
82 float value = 0.0; in RawbitsToFloat() local
83 memcpy(&value, in RawbitsToFloat()
89 double value = 0.0; RawbitsToDouble() local
168 Float16Classify(Float16 value) Float16Classify() argument
204 BitCount(uint64_t value) BitCount() argument
264 BitCount(Uint32 value) BitCount() argument
268 FPToFloat(Float16 value, UseDefaultNaN DN, bool* exception) FPToFloat() argument
335 FPToFloat(double value, FPRounding round_mode, UseDefaultNaN DN, bool* exception) FPToFloat() argument
399 FPToDouble(Float16 value, UseDefaultNaN DN, bool* exception) FPToDouble() argument
405 FPToDouble(float value, UseDefaultNaN DN, bool* exception) FPToDouble() argument
447 FPToFloat16(float value, FPRounding round_mode, UseDefaultNaN DN, bool* exception) FPToFloat16() argument
502 FPToFloat16(double value, FPRounding round_mode, UseDefaultNaN DN, bool* exception) FPToFloat16() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/
H A Dendian_converter.h23 static inline uint16_t HostToNet(uint16_t value) in HostToNet() argument
25 return htole16(value); in HostToNet()
28 static inline uint16_t NetToHost(uint16_t value) in NetToHost() argument
30 return le16toh(value); in NetToHost()
33 static inline uint32_t HostToNet(uint32_t value) in HostToNet() argument
35 return htole32(value); in HostToNet()
38 static inline uint32_t NetToHost(uint32_t value) in NetToHost() argument
40 return le32toh(value); in NetToHost()
43 static inline uint64_t HostToNet(uint64_t value) in HostToNet() argument
45 return htole64(value); in HostToNet()
48 NetToHost(uint64_t value) NetToHost() argument
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/
H A Dgeneral_endian.cpp20 uint16_t Endian::LeToH(uint16_t value) in LeToH() argument
22 return le16toh(value); in LeToH()
25 uint16_t Endian::HToLe(uint16_t value) in HToLe() argument
27 return htole16(value); in HToLe()
30 uint32_t Endian::LeToH(uint32_t value) in LeToH() argument
32 return le32toh(value); in LeToH()
35 uint32_t Endian::HToLe(uint32_t value) in HToLe() argument
37 return htole32(value); in HToLe()
40 uint64_t Endian::LeToH(uint64_t value) in LeToH() argument
42 return le64toh(value); in LeToH()
45 HToLe(uint64_t value) HToLe() argument
[all...]
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_napi.h73 EXPORT double ARKTS_GetValueNumber(ARKTS_Value value);
74 EXPORT bool ARKTS_IsNumber(ARKTS_Value value);
75 EXPORT ARKTS_Value ARKTS_CreateF64(double value);
77 EXPORT int32_t ARKTS_GetValueUtf8(ARKTS_Env env, ARKTS_Value value, int32_t capacity, char* buffer);
78 EXPORT int32_t ARKTS_GetValueUtf8Size(ARKTS_Env env, ARKTS_Value value);
79 EXPORT ARKTS_Value ARKTS_CreateUtf8(ARKTS_Env env, const char* value, int32_t size);
83 EXPORT const char* ARKTS_GetValueCString(ARKTS_Env env, ARKTS_Value value);
85 EXPORT bool ARKTS_IsString(ARKTS_Env env, ARKTS_Value value);
89 * logically equals to typeof(value) == "function"
91 EXPORT bool ARKTS_IsCallable(ARKTS_Env env, ARKTS_Value value);
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/test/fuzztest/socperfplugin_fuzzer/
H A Dsocperfplugin_fuzzer.cpp37 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestWindowFocus() local
38 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WINDOW_FOCUS, value, in TestWindowFocus()
46 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestClickRecognize() local
47 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_CLICK_RECOGNIZE, value, in TestClickRecognize()
55 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestLoadPage() local
56 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_LOAD_PAGE, value, in TestLoadPage()
64 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestSlideRecognize() local
65 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_SLIDE_RECOGNIZE, value, in TestSlideRecognize()
73 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestWebGesture() local
74 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WEB_GESTURE, value, in TestWebGesture()
82 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestPopPage() local
91 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestAppAbilityStart() local
100 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestResizeWindow() local
109 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestMoveWindow() local
118 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestShowRemoteAnimation() local
127 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestDragStatusBar() local
136 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestWebGestureMove() local
145 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestWebSlideNormal() local
154 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestLoadUrl() local
163 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestMouseWheel() local
172 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestAppStateChange() local
191 int64_t value = *(reinterpret_cast<const int64_t *>(data + sizeof(int64_t))); TestUseBySo() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dtraits_test.cpp128 std::variant<std::monostate, int64_t, bool, double, std::string, std::vector<uint8_t>> value; in HWTEST_F() local
129 auto size = Traits::variant_size_of_v<decltype(value)>; in HWTEST_F()
145 std::variant<std::monostate, int64_t, bool, double, std::string, std::vector<uint8_t>> value; in HWTEST_F() local
146 auto index = Traits::variant_index_of_v<std::monostate, decltype(value)>; in HWTEST_F()
148 index = Traits::variant_index_of_v<int64_t, decltype(value)>; in HWTEST_F()
150 index = Traits::variant_index_of_v<bool, decltype(value)>; in HWTEST_F()
152 index = Traits::variant_index_of_v<double, decltype(value)>; in HWTEST_F()
154 index = Traits::variant_index_of_v<std::string, decltype(value)>; in HWTEST_F()
156 index = Traits::variant_index_of_v<std::vector<uint8_t>, decltype(value)>; in HWTEST_F()
158 index = Traits::variant_index_of_v<char *, decltype(value)>; in HWTEST_F()
172 std::variant<std::monostate, int64_t, double, const char *> value; HWTEST_F() local
201 std::variant<std::monostate, int64_t, double, const char *, From> value; HWTEST_F() local
231 std::variant<std::monostate, int64_t, double, const char *> value; HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_top.c104 u32 value; in dpu_hw_get_danger_status() local
111 value = DPU_REG_READ(c, DANGER_STATUS); in dpu_hw_get_danger_status()
112 status->mdp = (value >> 0) & 0x3; in dpu_hw_get_danger_status()
113 status->sspp[SSPP_VIG0] = (value >> 4) & 0x3; in dpu_hw_get_danger_status()
114 status->sspp[SSPP_VIG1] = (value >> 6) & 0x3; in dpu_hw_get_danger_status()
115 status->sspp[SSPP_VIG2] = (value >> 8) & 0x3; in dpu_hw_get_danger_status()
116 status->sspp[SSPP_VIG3] = (value >> 10) & 0x3; in dpu_hw_get_danger_status()
117 status->sspp[SSPP_RGB0] = (value >> 12) & 0x3; in dpu_hw_get_danger_status()
118 status->sspp[SSPP_RGB1] = (value >> 14) & 0x3; in dpu_hw_get_danger_status()
119 status->sspp[SSPP_RGB2] = (value >> 1 in dpu_hw_get_danger_status()
216 u32 value; dpu_hw_get_safe_status() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/codec/
H A Dbyte_buffer_operator.h35 bool ReadData(uint8_t& value) const in ReadData()
37 return ReadValue(value); in ReadData()
39 bool ReadData(int32_t& value) const in ReadData()
41 return ReadValue(value); in ReadData()
43 bool ReadData(int64_t& value) const in ReadData()
45 return ReadValue(value); in ReadData()
47 bool ReadData(double& value) const in ReadData()
49 return ReadValue(value); in ReadData()
51 bool ReadData(std::string& value) const in ReadData()
53 return ReadArray(value); in ReadData()
111 WriteData(uint8_t value) WriteData() argument
115 WriteData(int32_t value) WriteData() argument
119 WriteData(int64_t value) WriteData() argument
123 WriteData(double value) WriteData() argument
150 WriteValue(T value) WriteValue() argument
[all...]
/third_party/node/src/tracing/
H A Dtraced_value.cc29 std::string EscapeString(const char* value) { in EscapeString() argument
34 int32_t len = strlen(value); in EscapeString()
39 U8_NEXT_OR_FFFD(value, i, len, c); in EscapeString()
55 result.append(value + p, i - p); in EscapeString()
63 while (*value) { in EscapeString()
64 char c = *value++; in EscapeString()
116 void TracedValue::SetInteger(const char* name, int value) { in SetInteger() argument
118 data_ += std::to_string(value); in SetInteger()
121 void TracedValue::SetDouble(const char* name, double value) { in SetDouble() argument
123 data_ += DoubleToCString(value); in SetDouble()
126 SetBoolean(const char* name, bool value) SetBoolean() argument
136 SetString(const char* name, const char* value) SetString() argument
153 AppendInteger(int value) AppendInteger() argument
158 AppendDouble(double value) AppendDouble() argument
163 AppendBoolean(bool value) AppendBoolean() argument
173 AppendString(const char* value) AppendString() argument
[all...]
/third_party/python/Tools/scripts/
H A Dgenerate_token.py27 value = len(tok_names)
29 ERRORTOKEN = value
33 string_to_tok[string] = value
94 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]):
95 defines.append("#define %-15s %d\n" % (name, value))
149 value = mapping[c]
150 if isinstance(value, dict):
152 write(generate_chars_to_token(value, n + 1))
156 write("case '%s': return %s;\n" % (c, value))
165 for string, value i
[all...]
/third_party/skia/tests/
H A DImageCacheTest.cpp17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey()
22 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {} in TestingRec()
48 intptr_t value = -1; in test_cache() local
50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value)); in test_cache()
51 REPORTER_ASSERT(reporter, -1 == value); in test_cache()
55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); in test_cache()
56 REPORTER_ASSERT(reporter, i == value); in test_cache()
69 intptr_t value; in test_cache() local
70 (void)cache.find(TestingKey(i), TestingRec::Visitor, &value); test_cache() local
85 intptr_t value = -1; test_cache_purge_shared_id() local
97 intptr_t value = -1; test_cache_purge_shared_id() local
149 intptr_t value = -1; DEF_TEST() local
[all...]
/foundation/communication/netstack/utils/napi_utils/src/
H A Dnapi_utils.cpp69 napi_valuetype GetValueType(napi_env env, napi_value value) in GetValueType() argument
71 if (value == nullptr) { in GetValueType()
76 NAPI_CALL_BASE(env, napi_typeof(env, value, &valueType), napi_undefined); in GetValueType()
115 napi_value value = nullptr; in GetNamedProperty() local
116 NAPI_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty()
117 return value; in GetNamedProperty()
120 void SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value value) in SetNamedProperty() argument
126 napi_set_named_property(env, object, name.c_str(), value); in SetNamedProperty()
156 napi_value value = nullptr; in CreateUint32() local
157 if (napi_create_uint32(env, code, &value) ! in CreateUint32()
166 napi_value value = nullptr; CreateUint64() local
173 GetInt64FromValue(napi_env env, napi_value value) GetInt64FromValue() argument
188 napi_value value = GetNamedProperty(env, object, propertyName); GetInt64Property() local
192 GetUint32FromValue(napi_env env, napi_value value) GetUint32FromValue() argument
208 napi_value value = GetNamedProperty(env, object, propertyName); GetUint32Property() local
212 SetUint32Property(napi_env env, napi_value object, const std::string &name, uint32_t value) SetUint32Property() argument
222 SetUint64Property(napi_env env, napi_value object, const std::string &name, uint64_t value) SetUint64Property() argument
235 napi_value value = nullptr; CreateInt32() local
242 GetInt32FromValue(napi_env env, napi_value value) GetInt32FromValue() argument
258 napi_value value = GetNamedProperty(env, object, propertyName); GetInt32Property() local
262 SetInt32Property(napi_env env, napi_value object, const std::string &name, int32_t value) SetInt32Property() argument
272 SetDoubleProperty(napi_env env, napi_value object, const std::string &name, double value) SetDoubleProperty() argument
287 napi_value value = nullptr; CreateStringUtf8() local
294 GetStringFromValueUtf8(napi_env env, napi_value value) GetStringFromValueUtf8() argument
325 napi_value value = GetNamedProperty(env, object, propertyName); GetStringPropertyUtf8() local
329 NapiValueToString(napi_env env, napi_value value) NapiValueToString() argument
366 SetStringPropertyUtf8(napi_env env, napi_value object, const std::string &name, const std::string &value) SetStringPropertyUtf8() argument
376 ValueIsArrayBuffer(napi_env env, napi_value value) ValueIsArrayBuffer() argument
386 GetInfoFromArrayBufferValue(napi_env env, napi_value value, size_t *length) GetInfoFromArrayBufferValue() argument
464 napi_value value = GetNamedProperty(env, object, propertyName); GetBooleanProperty() local
470 SetBooleanProperty(napi_env env, napi_value object, const std::string &name, bool value) SetBooleanProperty() argument
481 GetBoolean(napi_env env, bool value) GetBoolean() argument
488 GetBooleanFromValue(napi_env env, napi_value value) GetBooleanFromValue() argument
522 SetArrayElement(napi_env env, napi_value array, uint32_t index, napi_value value) SetArrayElement() argument
527 IsArray(napi_env env, napi_value value) IsArray() argument
534 SetArrayProperty(napi_env env, napi_value object, const std::string &name, napi_value value) SetArrayProperty() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-ops.c55 * Callback to get the value of a double enumerated mixer.
70 ucontrol->value.enumerated.item[0] = item; in snd_soc_get_enum_double()
74 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double()
86 * Callback to set the value of a double enumerated mixer.
95 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double()
115 * snd_soc_read_signed - Read a codec register and interpret as signed value
118 * @mask: Mask to use after shifting the register value
119 * @shift: Right shift of register value
121 * @signed_val: Pointer to where the read value should be stored
123 * This functions reads a codec register. The register value i
[all...]

Completed in 24 milliseconds

1...<<31323334353637383940>>...1353