Home
last modified time | relevance | path

Searched refs:value (Results 10276 - 10300 of 22474) sorted by relevance

1...<<411412413414415416417418419420>>...899

/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animator_bridge.cpp56 inline int32_t GetCurrentBridgeId(shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& value) in GetCurrentBridgeId() argument
58 if (!value) { in GetCurrentBridgeId()
59 LOGE("Get current bridge id failed. value is null."); in GetCurrentBridgeId()
62 shared_ptr<JsValue> jsBridgeId = value->GetProperty(runtime, "__bridgeId"); in GetCurrentBridgeId()
71 inline int32_t GetCurrentPageId(shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& value) in GetCurrentPageId() argument
73 if (!value) { in GetCurrentPageId()
74 LOGE("Get current page id failed. value is null."); in GetCurrentPageId()
77 shared_ptr<JsValue> jsPageId = value->GetProperty(runtime, "__pageId"); in GetCurrentPageId()
211 void CallAnimationFrameJs(const WeakPtr<JsiAnimatorBridge>& bridgeWeak, shared_ptr<JsRuntime>&& runtime, double value) in CallAnimationFrameJs() argument
233 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(value) }; in CallAnimationFrameJs()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_tdd_test.cpp22 void InputTddTest::AddBoolProperty(jerry_value_t object, const char *name, bool value) const in AddBoolProperty()
25 jerry_value_t valueProp = jerry_create_boolean(value); in AddBoolProperty()
61 * @tc.expected:step2. the value of checked is selected in HWTEST_F()
71 * @tc.expect: the value of checked attribute is unselected in HWTEST_F()
92 * @tc.desc: test the attribute value
104 * @tc.steps: step2.set the attribute value aaaa in HWTEST_F()
105 * @tc.expected:step2.the value of button is aaaa in HWTEST_F()
107 JerrySetStringProperty(attrsObj_, "value", "aaa"); in HWTEST_F()
118 * @tc.steps:step3.set the attribute value nullptr in HWTEST_F()
119 * @tc.expected:step3.the value o in HWTEST_F()
579 const int value = 20; HWTEST_F() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp92 const std::string &value) override;
401 std::stringstream value; in PrintRemoteAttr() local
402 value << "adapterName[" << attr.adapterName << "] openMicSpeaker[" << attr.openMicSpeaker << "] "; in PrintRemoteAttr()
403 value << "format[" << static_cast<int32_t>(attr.format) << "]"; in PrintRemoteAttr()
404 value << "sampleRate[" << attr.sampleRate << "] channel[" << attr.channel << "] "; in PrintRemoteAttr()
405 value << "volume[" << attr.volume << "] filePath[" << attr.filePath << "] "; in PrintRemoteAttr()
406 value << "deviceNetworkId[" << attr.deviceNetworkId << "] device_type[" << attr.deviceType << "]"; in PrintRemoteAttr()
407 return value.str(); in PrintRemoteAttr()
797 const std::string &condition, const std::string &value) in OnAudioParamChange()
799 AUDIO_INFO_LOG("Audio param change event, key:%{public}d, condition:%{public}s, value in OnAudioParamChange()
796 OnAudioParamChange(const std::string &adapterName, const AudioParamKey key, const std::string &condition, const std::string &value) OnAudioParamChange() argument
[all...]
/foundation/multimedia/media_foundation/engine/plugin/plugins/hdi_adapter/sink/
H A Dhos_au_sink.cpp202 MEDIA_LOG_W("tag:" PUBLIC_LOG_S " value type mismatch", tagName); in AssignIfCastSuccess()
291 Status HdiSink::ProcessInputSampleFormat(const ValueType& value) in ProcessInputSampleFormat() argument
294 auto ret = AssignIfCastSuccess<AudioSampleFormat>(format, value, "audioSampleFormat"); in ProcessInputSampleFormat()
316 Status HdiSink::SetParameter(Tag tag, const ValueType& value) in SetParameter() argument
320 auto ret = AssignIfCastSuccess<uint32_t>(sampleAttributes_.channelCount, value, "channel"); in SetParameter()
328 return AssignIfCastSuccess<uint32_t>(sampleAttributes_.sampleRate, value, "sampleRate"); in SetParameter()
330 return ProcessInputSampleFormat(value); in SetParameter()
332 return AssignIfCastSuccess<uint32_t>(sampleAttributes_.period, value, "samples per frame"); in SetParameter()
335 auto ret = AssignIfCastSuccess<AudioChannelLayout>(layout, value, "audioChannelLayout"); in SetParameter()
352 Status HdiSink::GetParameter(Tag tag, ValueType& value) in GetParameter() argument
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_mdk_kits.cpp99 static ImageSourceNapi* UnwrapNativeObject(napi_env env, napi_value value) in UnwrapNativeObject() argument
102 napi_typeof(env, value, &valueType); in UnwrapNativeObject()
104 IMAGE_LOGE("UnwrapNativeObject value not a object"); in UnwrapNativeObject()
108 napi_status status = napi_unwrap(env, value, reinterpret_cast<void**>(&napi)); in UnwrapNativeObject()
609 if (propertyKey == nullptr || propertyKey->value == nullptr || propertyKey->size == SIZE_ZERO) { in ImageSourceNapiGetImageProperty()
617 std::string key(propertyKey->value, propertyKey->size); in ImageSourceNapiGetImageProperty()
624 if (propertyVal->value == nullptr) { in ImageSourceNapiGetImageProperty()
629 if (EOK != memcpy_s(propertyVal->value, propertyVal->size, val.c_str(), val.size())) { in ImageSourceNapiGetImageProperty()
680 if (propertyKey == nullptr || propertyKey->value == nullptr || propertyKey->size == SIZE_ZERO) { in ImageSourceNapiModifyImageProperty()
684 if (propertyVal == nullptr || propertyVal->value in ImageSourceNapiModifyImageProperty()
[all...]
/foundation/resourceschedule/soc_perf/test/unittest/
H A Dsocperf_server_test.cpp148 int key, value; in HWTEST_F() local
152 while (ssfirst >> key >> colon >> value >> comma) { in HWTEST_F()
153 myMap[key] = value; in HWTEST_F()
155 ssfirst >> key >> colon >> value; in HWTEST_F() local
156 myMap[key] = value; in HWTEST_F()
165 while (sssecond >> key >> colon >> value >> comma) { in HWTEST_F()
166 myMap[key] = value; in HWTEST_F()
168 sssecond >> key >> colon >> value; in HWTEST_F() local
169 myMap[key] = value; in HWTEST_F()
426 int64_t value in HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c104 uint8_t *value = SoftBusCalloc(sizeof(uint8_t) * valueLen); in ConnGattTransRecv() local
105 CONN_CHECK_AND_RETURN_RET_LOGE(value != NULL, NULL, CONN_BLE, in ConnGattTransRecv()
106 "calloc value failed, discard this packet. connId=%{public}u, packetDataLen=%{public}u, " in ConnGattTransRecv()
109 if (memcpy_s(value, valueLen, data + BLE_TRANS_HEADER_SIZE, header.size) != EOK) { in ConnGattTransRecv()
111 "memcpy_s value failed, discard this packet. connId=%{public}u, dataLen=%{public}u, " in ConnGattTransRecv()
114 SoftBusFree(value); in ConnGattTransRecv()
123 return value; in ConnGattTransRecv()
214 uint8_t *value = SoftBusCalloc(sizeof(uint8_t) * valueLen); in ConnGattTransRecv() local
215 if (value == NULL) { in ConnGattTransRecv()
217 "calloc out value faile in ConnGattTransRecv()
[all...]
/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/
H A Dvpn_config_utils.cpp397 bool GetStringFromJsMandatoryItem(napi_env env, napi_value object, const std::string &key, std::string &value) in GetStringFromJsMandatoryItem() argument
403 value = NapiUtils::GetStringPropertyUtf8(env, object, key); in GetStringFromJsMandatoryItem()
404 return (value.empty()) ? false : true; in GetStringFromJsMandatoryItem()
407 void GetStringFromJsOptionItem(napi_env env, napi_value object, const std::string &key, std::string &value) in GetStringFromJsOptionItem() argument
411 value = NapiUtils::GetStringPropertyUtf8(env, object, key); in GetStringFromJsOptionItem()
418 void GetUint8FromJsOptionItem(napi_env env, napi_value object, const std::string &key, uint8_t &value) in GetUint8FromJsOptionItem() argument
422 value = static_cast<uint8_t>(NapiUtils::GetUint32Property(env, object, key)); in GetUint8FromJsOptionItem()
429 void GetBoolFromJsOptionItem(napi_env env, napi_value object, const std::string &key, bool &value) in GetBoolFromJsOptionItem() argument
433 value = NapiUtils::GetBooleanProperty(env, object, key); in GetBoolFromJsOptionItem()
440 void GetInt32FromJsOptionItem(napi_env env, napi_value object, const std::string &key, int32_t &value) in GetInt32FromJsOptionItem() argument
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_store_helper.cpp278 napi_value value = nullptr; in ParseDatabaseName() local
279 napi_get_named_property(env, object, "name", &value); in ParseDatabaseName()
281 RDB_CHECK_RETURN_CALL_RESULT(value != nullptr, context->SetError(paramError)); in ParseDatabaseName()
283 std::string name = JSUtils::Convert2String(env, value); in ParseDatabaseName()
296 napi_value value = nullptr; in ParseIsEncrypt() local
297 napi_status status = napi_get_named_property(env, object, "encrypt", &value); in ParseIsEncrypt()
298 if (status == napi_ok && value != nullptr) { in ParseIsEncrypt()
300 JSUtils::Convert2Value(env, value, isEncrypt); in ParseIsEncrypt()
335 napi_value value = nullptr; in ParseSecurityLevel() local
343 status = napi_get_named_property(env, object, "securityLevel", &value); in ParseSecurityLevel()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dscpr.c169 uint32_t value; in decode_value() local
173 if ((ret = s->get_freq(rc, totfr, &value)) < 0) in decode_value()
178 if (value >= cumfr + cnt_c) in decode_value()
213 uint32_t value, x = 0, cumfr = 0, cnt_x = 0; in decode_unit() local
216 if ((ret = s->get_freq(rc, totfr, &value)) < 0) in decode_unit()
221 if (value >= cumfr + cnt_x) in decode_unit()
232 if (value >= cumfr + cnt_c) in decode_unit()
546 uint16_t value = bytestream2_get_le16(gb); in decode_frame() local
549 r = (value ) & 31; in decode_frame()
550 g = (value >> in decode_frame()
[all...]
/third_party/alsa-utils/seq/aplaymidi/
H A Darecordmidi.c504 add_byte(track, ev->data.control.value & 0x7f); in record_event()
509 add_byte(track, ev->data.control.value & 0x7f); in record_event()
514 add_byte(track, ev->data.control.value & 0x7f); in record_event()
519 add_byte(track, (ev->data.control.value + 8192) & 0x7f); in record_event()
520 add_byte(track, ((ev->data.control.value + 8192) >> 7) & 0x7f); in record_event()
527 add_byte(track, (ev->data.control.value >> 7) & 0x7f); in record_event()
532 add_byte(track, ev->data.control.value & 0x7f); in record_event()
545 add_byte(track, (ev->data.control.value >> 7) & 0x7f); in record_event()
548 add_byte(track, ev->data.control.value & 0x7f); in record_event()
560 add_byte(track, (ev->data.control.value >> in record_event()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DDecimalFormatProperties.java365 private int _hashCodeHelper(boolean value) { in _hashCodeHelper() argument
366 return value ? 1 : 0; in _hashCodeHelper()
369 private int _hashCodeHelper(int value) { in _hashCodeHelper() argument
370 return value * 13; in _hashCodeHelper()
373 private int _hashCodeHelper(Object value) { in _hashCodeHelper() argument
374 if (value == null) in _hashCodeHelper()
376 return value.hashCode(); in _hashCodeHelper()
614 // 2) Read each field by its name and value in readObjectImpl()
617 Object value = ois.readObject(); in readObjectImpl()
632 // If the variable `value` i in readObjectImpl()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DDecimalFormatProperties.java365 private int _hashCodeHelper(boolean value) { in _hashCodeHelper() argument
366 return value ? 1 : 0; in _hashCodeHelper()
369 private int _hashCodeHelper(int value) { in _hashCodeHelper() argument
370 return value * 13; in _hashCodeHelper()
373 private int _hashCodeHelper(Object value) { in _hashCodeHelper() argument
374 if (value == null) in _hashCodeHelper()
376 return value.hashCode(); in _hashCodeHelper()
610 // 2) Read each field by its name and value in readObjectImpl()
613 Object value = ois.readObject(); in readObjectImpl()
628 // If the variable `value` i in readObjectImpl()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_scheduler.cpp533 * or also for instructions that read from the LDS return value queue */ in schedule_alu()
867 static constexpr const char value = 'A'; member
872 static constexpr const char value = 'G'; member
877 static constexpr const char value = 'E'; member
882 static constexpr const char value = 'T'; member
887 static constexpr const char value = 'F'; member
892 static constexpr const char value = 'M'; member
897 static constexpr const char value = 'R'; member
902 static constexpr const char value = 'X'; member
907 static constexpr const char value member
912 static constexpr const char value = 'I'; global() member
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Denvironment.py381 for key, value in iteritems(attributes):
383 setattr(self, key, value)
426 for key, value in iteritems(args):
427 if value is not missing:
428 setattr(rv, key, value)
436 for key, value in iteritems(self.extensions):
437 rv.extensions[key] = value.bind(rv)
480 self, name, value, args=None, kwargs=None, context=None, eval_ctx=None
482 """Invokes a filter on a value the same way the compiler does it.
494 args = [value]
[all...]
/third_party/node/src/
H A Dnode_options.cc79 // Any value less than 2 disables use of the secure heap. in CheckOptions()
97 errors->push_back("invalid value for --use-largepages"); in CheckOptions()
134 "invalid value for --experimental-specifier-resolution"); in CheckOptions()
148 errors->push_back("invalid value for --unhandled-rejections"); in CheckOptions()
208 // We can't catch the case where the value passed is the default value, in CheckOptions()
226 // We can't catch the case where the value passed is the default value, in CheckOptions()
365 "set default value of verbatim in dns.lookup. Options are " in EnvironmentOptionsParser()
979 "'off' (the default value, meanin in PerProcessOptionsParser()
1117 Local<Value> value; GetCLIOptions() local
[all...]
H A Dutil-inl.h446 v8::Local<v8::Value> value; in ToV8Value() local
447 if (!ToV8Value(context, entry, isolate).ToLocal(&value)) in ToV8Value()
449 if (set_js->Add(context, value).IsEmpty()) in ToV8Value()
531 v8::Local<v8::Value> value) { in ArrayBufferViewContents()
532 DCHECK(value->IsArrayBufferView() || value->IsSharedArrayBuffer() || in ArrayBufferViewContents()
533 value->IsArrayBuffer()); in ArrayBufferViewContents()
534 ReadValue(value); in ArrayBufferViewContents()
539 v8::Local<v8::Object> value) { in ArrayBufferViewContents()
540 CHECK(value in ArrayBufferViewContents()
530 ArrayBufferViewContents( v8::Local<v8::Value> value) ArrayBufferViewContents() argument
538 ArrayBufferViewContents( v8::Local<v8::Object> value) ArrayBufferViewContents() argument
[all...]
/third_party/node/src/tracing/
H A Dtrace_event.h19 // value with zero or more of the following bits. Used in this class only.
20 // The TRACE_EVENT macros should only use the value as a bool.
123 // on the convertable value will be called at flush time.
135 #define TRACE_EVENT_API_ATOMIC_STORE(var, value) (var).store(value)
526 // value in the return arguments. This allows this API to avoid declaring any
531 uint64_t* value) { \
535 *value = type_value.as_uint; \
540 uint64_t* value) { \
542 *value
565 SetTraceValue(v8::ConvertableToTraceFormat* convertable_value, unsigned char* type, uint64_t* value) SetTraceValue() argument
574 SetTraceValue(std::unique_ptr<T> ptr, unsigned char* type, uint64_t* value) SetTraceValue() argument
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Denvironment.py352 for key, value in iteritems(attributes):
354 setattr(self, key, value)
384 for key, value in iteritems(args):
385 if value is not missing:
386 setattr(rv, key, value)
394 for key, value in iteritems(self.extensions):
395 rv.extensions[key] = value.bind(rv)
438 def call_filter(self, name, value, args=None, kwargs=None,
440 """Invokes a filter on a value the same way the compiler does it.
452 args = [value]
[all...]
/third_party/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h258 * Used as a return value from :type:`nghttp2_send_callback`,
277 * Used as a return value from
284 * Stream ID has reached the maximum value. Therefore no stream ID
328 * is zero-length string; or the header value contains multiple
512 * The flags for header field name/value pair.
520 * Indicates that this name/value pair must not be indexed ("Literal
533 * library does not make a copy of header field value. This could
542 * The name/value pair, which mainly used to represent header fields.
559 * The |value| byte string. If this struct is presented from
560 * library (e.g., :type:`nghttp2_on_frame_recv_callback`), |value|
570 uint8_t *value; global() member
1112 uint32_t value; global() member
[all...]
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h258 * Used as a return value from :type:`nghttp2_send_callback`,
277 * Used as a return value from
284 * Stream ID has reached the maximum value. Therefore no stream ID
328 * is zero-length string; or the header value contains multiple
507 * The flags for header field name/value pair.
515 * Indicates that this name/value pair must not be indexed ("Literal
528 * library does not make a copy of header field value. This could
537 * The name/value pair, which mainly used to represent header fields.
554 * The |value| byte string. If this struct is presented from
555 * library (e.g., :type:`nghttp2_on_frame_recv_callback`), |value|
565 uint8_t *value; global() member
1107 uint32_t value; global() member
[all...]
/third_party/node/deps/npm/node_modules/socks/build/client/
H A Dsocksclient.js3 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
5 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7 function step(result) { result.done ? resolve(result.value) : adopt(result.value)
[all...]
/third_party/libdrm/
H A Dxf86drm.h157 unsigned long value; /**< Value from kernel */ member
159 const char *long_name; /**< Long name for value */
161 const char *rate_name; /**< Short name for value per second */
162 int isvalue; /**< True if value (vs. counter) */
164 int mult; /**< Multiplier value (e.g., 1024) */
611 extern int drmGetCap(int fd, uint64_t capability, uint64_t *value);
672 uint64_t value);
738 extern int drmHashLookup(void *t, unsigned long key, void **value);
739 extern int drmHashInsert(void *t, unsigned long key, void *value);
741 extern int drmHashFirst(void *t, unsigned long *key, void **value);
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dbuiltin.c166 if (!arg->value) in expand_warning()
171 expr->value = 1; in expand_warning()
180 expr->value = !cost; in expand_constant_p()
189 expr->value = (cost < SIDE_EFFECTS); in expand_safe_p()
231 case 16: expr->value = bswap16(val); break; in expand_bswap()
232 case 32: expr->value = bswap32(val); break; in expand_bswap()
233 case 64: expr->value = bswap64(val); break; in expand_bswap()
269 expr->value = val; \
316 expr->value = (val >= '0') && (val <= '9'); in expand_isdigit()
542 off += arg->right->value; in expand_object_size()
[all...]
/third_party/node/deps/v8/src/objects/
H A Dcode.h63 inline void set_can_have_weak_objects(bool value);
76 // This field contains code cage base value which is used for decompressing
80 // the full value is not guaranteed.
86 // Cached value of code().InstructionStart().
93 // Updates the value of the code entry point. The code must be equal to
94 // the code() value.
207 inline void set_code_entry_point(Isolate* isolate, Address value);
301 // ensure that the instruction start correspond to the given |pc| value.
319 inline void set_raw_instruction_size(int value);
325 inline void set_raw_metadata_size(int value);
[all...]

Completed in 35 milliseconds

1...<<411412413414415416417418419420>>...899