Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 87) sorted by relevance

1234

/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
Dnativeapi_ohos_deviceinfo.cpp29 const char *value = GetDeviceType(); in JSGetDeviceType() local
40 const char *value = GetManufacture(); in JSGetManufacture() local
51 const char *value = GetBrand(); in JSGetBrand() local
62 const char *value = GetMarketName(); in JSGetMarketName() local
73 const char *value = GetProductSeries(); in JSGetProductSeries() local
84 const char *value = GetProductModel(); in JSGetProductModel() local
95 const char *value = GetSoftwareModel(); in JSGetSoftwareModel() local
106 const char *value = GetHardwareModel(); in JSGetHardwareModel() local
117 const char *value = GetHardwareProfile(); in JSGetHardwareProfile() local
128 const char *value = GetSerial(); in JSGetSerial() local
[all …]
/commonlibrary/rust/ylong_json/benches/
Dserialize_json_cmp.rs32 let value = JsonValue::from_str(NULL_EXAMPLE).unwrap(); in null_serialize_perf_ylong_json() localVariable
42 let value = JsonValue::from_str(BOOLEAN_EXAMPLE).unwrap(); in boolean_serialize_perf_ylong_json() localVariable
52 let value = JsonValue::from_str(NUMBER_EXAMPLE).unwrap(); in number_serialize_perf_ylong_json() localVariable
62 let value = JsonValue::from_str(STRING_EXAMPLE).unwrap(); in string_serialize_perf_ylong_json() localVariable
72 let value = JsonValue::from_str(ARRAY_EXAMPLE).unwrap(); in array_serialize_perf_ylong_json() localVariable
82 let value = JsonValue::from_str(OBJECT_EXAMPLE).unwrap(); in object_serialize_perf_ylong_json() localVariable
92 let value = JsonValue::from_str(RFC7159_EXAMPLE1).unwrap(); in exp1_serialize_perf_ylong_json() localVariable
102 let value = JsonValue::from_str(RFC7159_EXAMPLE2).unwrap(); in exp2_serialize_perf_ylong_json() localVariable
112 let value = JsonValue::from_str(JSON_PARSE_TEST).unwrap(); in exp3_serialize_perf_ylong_json() localVariable
122 let value = JsonValue::from_str(LONG_KEY_VALUE).unwrap(); in exp4_serialize_perf_ylong_json() localVariable
[all …]
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
Dnapi_helper.cpp37 bool NapiHelper::IsString(napi_env env, napi_value value) in IsString()
42 bool NapiHelper::IsNotUndefined(napi_env env, napi_value value) in IsNotUndefined()
55 bool NapiHelper::IsArray(napi_env env, napi_value value) in IsArray()
73 bool NapiHelper::IsArrayBuffer(napi_env env, napi_value value) in IsArrayBuffer()
86 bool NapiHelper::IsBitVector(napi_env env, napi_value value) in IsBitVector()
99 bool NapiHelper::IsNumber(napi_env env, napi_value value) in IsNumber()
116 napi_value value = nullptr; in GetNamePropertyInParentPort() local
129 bool NapiHelper::IsCallable(napi_env env, napi_value value) in IsCallable()
136 bool NapiHelper::IsCallable(napi_env env, napi_ref value) in IsCallable()
146 bool NapiHelper::IsAsyncFunction(napi_env env, napi_value value) in IsAsyncFunction()
[all …]
Dobject_helper.h37 static void DeletePointer(const T* value, bool isArray) in DeletePointer()
46 delete value; in DeletePointer() local
/commonlibrary/rust/ylong_json/src/value/
Dindex.rs331 let value = JsonValue::new_boolean(true); in ut_usize_index_into() localVariable
346 let mut value = JsonValue::new_array(array!(1)); in ut_usize_index_into_mut() localVariable
350 let mut value = JsonValue::new_null(); in ut_usize_index_into_mut() localVariable
366 let mut value = JsonValue::new_array(array!(1)); in ut_usize_index_remove() localVariable
385 let value = JsonValue::new_boolean(true); in ut_str_index_into() localVariable
400 let mut value = JsonValue::new_object(object!("key1" => "value1")); in ut_str_index_into_mut() localVariable
404 let mut value = JsonValue::new_null(); in ut_str_index_into_mut() localVariable
420 let mut value = JsonValue::new_object(object!("key1" => "value1")); in ut_str_index_remove() localVariable
426 let mut value = JsonValue::new_null(); in ut_str_index_remove() localVariable
441 let value = JsonValue::new_boolean(true); in ut_string_index_into() localVariable
[all …]
/commonlibrary/rust/ylong_json/examples/
Dylong_json_perf.rs46 let value = JsonValue::from_str(JSON_TEXT).unwrap(); in main() localVariable
51 let value = JsonValue::from_str(JSON_TEXT).unwrap(); in main() localVariable
60 let value: Value = serde_json::from_str(JSON_TEXT).unwrap(); in main() localVariable
65 let value: Value = serde_json::from_str(JSON_TEXT).unwrap(); in main() localVariable
Dylong_json_example.rs37 let value = JsonValue::from_text(JSON_TEXT).unwrap(); in main() localVariable
/commonlibrary/c_utils/base/src/
Dparcel.cpp442 bool Parcel::Write(T value) in Write()
456 bool Parcel::WriteBool(bool value) in WriteBool()
461 bool Parcel::WriteBoolUnaligned(bool value) in WriteBoolUnaligned()
466 bool Parcel::WriteInt8(int8_t value) in WriteInt8()
471 bool Parcel::WriteInt8Unaligned(int8_t value) in WriteInt8Unaligned()
476 bool Parcel::WriteInt16(int16_t value) in WriteInt16()
481 bool Parcel::WriteInt16Unaligned(int16_t value) in WriteInt16Unaligned()
486 bool Parcel::WriteInt32(int32_t value) in WriteInt32()
491 bool Parcel::WriteInt64(int64_t value) in WriteInt64()
496 bool Parcel::WriteUint8(uint8_t value) in WriteUint8()
[all …]
/commonlibrary/rust/ylong_http/ylong_http/tests/
Dsdv_http_headers.rs28 let value = HeaderValue::from_bytes(b"Foo").unwrap(); in sdv_client_send_request_repeatedly() localVariable
38 let mut value = HeaderValue::from_bytes(b"Foo").unwrap(); in sdv_client_send_request_repeatedly() localVariable
48 let mut value = HeaderValue::from_bytes(b"value").unwrap(); in sdv_client_send_request_repeatedly() localVariable
/commonlibrary/ets_utils/js_api_module/buffer/
Djs_buffer.cpp168 void Buffer::WriteBE(int32_t value, uint32_t bytes) in WriteBE()
179 void Buffer::WriteLE(int32_t value, uint32_t bytes) in WriteLE()
212 void Buffer::WriteInt32BE(int32_t value, uint32_t offset) in WriteInt32BE()
228 void Buffer::WriteInt32LE(int32_t value, uint32_t offset) in WriteInt32LE()
244 void Buffer::WriteUInt32BE(int32_t value, uint32_t offset) in WriteUInt32BE()
260 void Buffer::WriteUInt32LE(int32_t value, uint32_t offset) in WriteUInt32LE()
278 uint8_t value; in Get() local
286 void Buffer::Set(uint32_t index, uint8_t value) in Set()
323 unsigned int Buffer::WriteString(std::string value, unsigned int size) in WriteString()
330 unsigned int Buffer::WriteString(string value, unsigned int offset, unsigned int length) in WriteString()
[all …]
/commonlibrary/ets_utils/js_util_module/container/lightweightmap/
Djs_lightweightmap.ts97 let value: [K, V] = undefined; variable
138 let value: K = undefined; variable
236 let value: V = undefined; variable
/commonlibrary/ets_utils/js_util_module/container/hashmap/
Djs_hashmap.ts108 let value: K = undefined; variable
125 let value: V = undefined; variable
156 let value: [K, V] = undefined; variable
/commonlibrary/ets_utils/js_concurrent_module/test/
Dtest_concurrent.cpp28 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
41 napi_value value = nullptr; variable
52 napi_value value = nullptr; variable
137 napi_value value = nullptr; variable
197 napi_value value = nullptr; variable
206 napi_value value = nullptr; variable
342 napi_value value = nullptr; variable
353 napi_value value = nullptr; variable
368 napi_value value = nullptr; variable
385 napi_value value = nullptr; variable
[all …]
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs80 value: HeaderValue, field
134 pub fn value(&self) -> &HeaderValue { in value() method
737 let value = HeaderValue::try_from(value).map_err(Into::into)?; in insert() localVariable
774 let value = HeaderValue::try_from(value).map_err(Into::into)?; in append() localVariable
1031 let value = HeaderValue::from_bytes(b"teXt/hTml, APPLICATION/xhtml+xml, application/xml"); in ut_header_value_from_bytes() localVariable
1050 let value = HeaderValue::from_bytes(b"Foo").unwrap(); in ut_header_methods() localVariable
1064 let value = header.value(); in ut_header_methods() localVariable
1085 let mut value = HeaderValue::from_bytes(b"text/html").unwrap(); in ut_header_value_iter() localVariable
1106 let mut value = HeaderValue { in ut_header_value_is_sensitive() localVariable
1127 let value = headers.get_mut("accept").unwrap(); in ut_headers_get_mut() localVariable
[all …]
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
Dnativeapi_kv_impl.c33 static bool IsValidValue(const char* value) in IsValidValue()
100 int GetValue(const char* key, char* value) in GetValue()
129 int SetValue(const char* key, const char* value) in SetValue()
Dnativeapi_kv.cpp73 int GetValueInner(const char* dataPath, const char* key, char* value) in GetValueInner()
82 int SetValueInner(const char* dataPath, const char* key, const char* value) in SetValueInner()
130 char* value = reinterpret_cast<char *>(malloc(VALUE_MAX_LEN + 1)); in ExecuteGet() local
167 char* value = JSI::GetStringProperty(args, KV_VALUE); in ExecuteSet() local
/commonlibrary/rust/ylong_json/src/
Dserializer_compact.rs523 let value: Option<u32> = None; in ut_serialize_simple() localVariable
527 let value: Option<u32> = Some(123); in ut_serialize_simple() localVariable
531 let value = true; in ut_serialize_simple() localVariable
535 let value: i8 = 123; in ut_serialize_simple() localVariable
539 let value: i16 = 123; in ut_serialize_simple() localVariable
543 let value: i32 = 123; in ut_serialize_simple() localVariable
547 let value: i64 = 123; in ut_serialize_simple() localVariable
551 let value: u8 = 123; in ut_serialize_simple() localVariable
555 let value: u16 = 123; in ut_serialize_simple() localVariable
559 let value: u32 = 123; in ut_serialize_simple() localVariable
[all …]
/commonlibrary/c_utils/base/include/
Dsafe_map.h101 bool Insert(const K& key, const V& value) in Insert()
116 void EnsureInsert(const K& key, const V& value) in EnsureInsert()
137 bool Find(const K& key, V& value) in Find()
Dsemaphore_ex.h63 explicit Semaphore(int value = 1) : count_(value) {} in count_() argument
/commonlibrary/ets_utils/js_api_module/buffer/test/
Dtest_napi.cpp33 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
228 int32_t value = buf->Get(0); variable
245 int32_t value = buf->Get(2); variable
533 uint8_t value = 49; variable
554 uint8_t value = 49; variable
575 uint8_t value = 49; variable
596 uint8_t value = 49; variable
619 uint8_t value = 49; variable
717 std::string value = "YWJjZA"; variable
1081 std::string value = "abcd"; variable
[all …]
/commonlibrary/c_utils/base/test/unittest/common/
Dutils_safe_map_test.cpp202 void callback(const std::string str, int& value) in callback()
242 auto callback_it = [cnt](const string data, int& value) { in __anone164c0540202()
280 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anone164c0540402()
327 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anone164c0540602()
415 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anone164c0540802()
/commonlibrary/ets_utils/js_util_module/container/hashset/
Djs_hashset.ts106 let value: T = undefined; variable
123 let value: [T, T] = undefined; variable
/commonlibrary/ets_utils/js_util_module/container/lightweightset/
Djs_lightweightset.ts171 let value: T = undefined; variable
205 let value: [T, T] = undefined; variable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Dtimeout.rs56 value: T, field
75 let value = unsafe { Pin::new_unchecked(&mut timeout.value) }; in poll() localVariable
/commonlibrary/rust/ylong_runtime/ylong_signal/tests/
Dsignal.rs48 let value = Arc::new(AtomicUsize::new(0)); in sdv_signal_register_succeed() localVariable
189 value: AtomicUsize, field

1234