Home
last modified time | relevance | path

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

123

/commonlibrary/c_utils/base/src/
Dparcel.cpp394 bool Parcel::Write(T value) in Write()
408 bool Parcel::WriteBool(bool value) in WriteBool()
413 bool Parcel::WriteBoolUnaligned(bool value) in WriteBoolUnaligned()
418 bool Parcel::WriteInt8(int8_t value) in WriteInt8()
423 bool Parcel::WriteInt8Unaligned(int8_t value) in WriteInt8Unaligned()
428 bool Parcel::WriteInt16(int16_t value) in WriteInt16()
433 bool Parcel::WriteInt16Unaligned(int16_t value) in WriteInt16Unaligned()
438 bool Parcel::WriteInt32(int32_t value) in WriteInt32()
443 bool Parcel::WriteInt64(int64_t value) in WriteInt64()
448 bool Parcel::WriteUint8(uint8_t value) in WriteUint8()
[all …]
Dstring_ex.cpp77 string DexToHexString(int value, bool upper /*= true*/) in DexToHexString()
114 bool StrToInt(const string& str, int& value) in StrToInt()
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
Dnapi_helper.cpp23 bool NapiHelper::IsString(napi_value value) in IsString()
29 bool NapiHelper::IsNotUndefined(napi_value value) in IsNotUndefined()
35 bool NapiHelper::IsArray(napi_value value) in IsArray()
47 bool NapiHelper::IsArrayBuffer(napi_value value) in IsArrayBuffer()
53 bool NapiHelper::IsNumber(napi_value value) in IsNumber()
71 napi_value value = nullptr; in GetNamePropertyInParentPort() local
84 bool NapiHelper::IsCallable(napi_env env, napi_value value) in IsCallable()
91 bool NapiHelper::IsCallable(napi_env env, napi_ref value) in IsCallable()
101 void NapiHelper::SetNamePropertyInGlobal(napi_env env, const char* name, napi_value value) in SetNamePropertyInGlobal()
108 bool NapiHelper::IsObject(napi_value value) in IsObject()
[all …]
Dobject_helper.h37 static void DeletePointer(const T* value, bool isArray) in DeletePointer()
45 delete value; in DeletePointer() local
/commonlibrary/ets_utils/js_api_module/buffer/
Djs_buffer.cpp155 void Buffer::WriteBE(int32_t value, uint32_t bytes) in WriteBE()
166 void Buffer::WriteLE(int32_t value, uint32_t bytes) in WriteLE()
199 void Buffer::WriteInt32BE(int32_t value, uint32_t offset) in WriteInt32BE()
215 void Buffer::WriteInt32LE(int32_t value, uint32_t offset) in WriteInt32LE()
231 void Buffer::WriteUInt32BE(int32_t value, uint32_t offset) in WriteUInt32BE()
247 void Buffer::WriteUInt32LE(int32_t value, uint32_t offset) in WriteUInt32LE()
265 uint8_t value; in Get() local
273 void Buffer::Set(uint32_t index, uint8_t value) in Set()
293 unsigned int Buffer::WriteString(std::string value, unsigned int size) in WriteString()
300 unsigned int Buffer::WriteString(string value, unsigned int offset, unsigned int size) in WriteString()
[all …]
Dnative_module_buffer.cpp387 int32_t value = 0; in WriteInt32BE() local
473 string value = GetString(env, encodingType, args[0]); in WriteString() local
504 string value = GetString(env, encodingType, args[0]); in FillString() local
605 napi_value value = nullptr; in GetBufferData() local
628 int32_t value = buf->Get(index); in Get() local
647 int32_t value = 0; in Set() local
658 int32_t value = 0; in WriteInt32LE() local
684 int32_t value = 0; in WriteUInt32BE() local
710 int32_t value = 0; in WriteUInt32LE() local
935 napi_value value = nullptr; in Utf8StringToNumbers() local
[all …]
/commonlibrary/ets_utils/js_concurrent_module/test/
Dtest_concurrent.cpp27 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
40 napi_value value = nullptr; variable
51 napi_value value = nullptr; variable
99 napi_value value = nullptr; variable
159 napi_value value = nullptr; variable
168 napi_value value = nullptr; variable
285 napi_value value = nullptr; variable
296 napi_value value = nullptr; variable
312 napi_value value = nullptr; variable
321 napi_value value = nullptr; variable
/commonlibrary/ets_utils/js_util_module/container/hashmap/
Djs_hashmap.ts109 let value: K = undefined; variable
127 let value: V = undefined; variable
159 let value: [K, V] = undefined; variable
/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/ets_utils/js_util_module/container/lightweightmap/
Djs_lightweightmap.ts98 let value: [K, V] = undefined; variable
140 let value: K = undefined; variable
240 let value: V = undefined; variable
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs80 value: HeaderValue, field
134 pub fn value(&self) -> &HeaderValue { in value() method
727 let value = HeaderValue::try_from(value).map_err(Into::into)?; in insert() localVariable
764 let value = HeaderValue::try_from(value).map_err(Into::into)?; in append() localVariable
1021 let value = HeaderValue::from_bytes(b"teXt/hTml, APPLICATION/xhtml+xml, application/xml"); in ut_header_value_from_bytes() localVariable
1040 let value = HeaderValue::from_bytes(b"Foo").unwrap(); in ut_header_methods() localVariable
1054 let value = header.value(); in ut_header_methods() localVariable
1075 let mut value = HeaderValue::from_bytes(b"text/html").unwrap(); in ut_header_value_iter() localVariable
1096 let mut value = HeaderValue { in ut_header_value_is_sensitive() localVariable
1117 let value = headers.get_mut("accept").unwrap(); in ut_headers_get_mut() localVariable
[all …]
/commonlibrary/c_utils/base/include/
Dsafe_map.h98 bool Insert(const K& key, const V& value) in Insert()
113 void EnsureInsert(const K& key, const V& value) in EnsureInsert()
134 bool Find(const K& key, V& value) in Find()
Dsemaphore_ex.h63 explicit Semaphore(int value = 1) : count_(value) {} in count_() argument
Dunique_fd.h105 explicit UniqueFdAddDeletor(const int& value) in UniqueFdAddDeletor()
/commonlibrary/ets_utils/js_api_module/buffer/test/
Dtest_napi.cpp32 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
224 int32_t value = buf->Get(0); variable
241 int32_t value = buf->Get(2); variable
510 uint8_t value = 49; variable
531 uint8_t value = 49; variable
552 uint8_t value = 49; variable
573 uint8_t value = 49; variable
596 uint8_t value = 49; variable
965 std::string value = "abcd"; variable
985 std::string value = "扡摣"; 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 __anon75443dd30202()
280 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anon75443dd30402()
327 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anon75443dd30602()
387 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anon75443dd30802()
/commonlibrary/ets_utils/js_util_module/container/hashset/
Djs_hashset.ts107 let value: T = undefined; variable
125 let value: [T, T] = undefined; variable
/commonlibrary/ets_utils/js_util_module/container/lightweightset/
Djs_lightweightset.ts173 let value: T = undefined; variable
208 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_runtime/src/util/
Dslab.rs76 value: *const Value<T>, field
203 let value = slot as *const Value<T>; in for_each() localVariable
230 let value = slot as *const Value<T>; in get() localVariable
434 pub value: UnsafeCell<Value<T>>, field
442 let value = slot as *const Value<T>; in gen_ref() localVariable
451 pub value: T, field
/commonlibrary/ets_utils/js_api_module/url/test/
Dtest_napi.cpp33 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
346 bool value = false; variable
356 bool value = false; variable
366 bool value = false; variable
376 bool value = false; variable
386 bool value = false; variable
396 bool value = false; variable
407 bool value = false; variable
661 bool value = false; variable
750 bool value = false; variable
[all …]
/commonlibrary/ets_utils/js_sys_module/dfx/
Dnative_module_dfx.cpp151 auto value = static_cast<uint32_t>(engine->GetArrayBufferSize()); in GetArrayBufferSize() local
160 auto value = static_cast<uint32_t>(engine->GetHeapTotalSize()); in GetHeapTotalSize() local
169 auto value = static_cast<uint32_t>(engine->GetHeapUsedSize()); in GetHeapUsedSize() local
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
Ddecoder.rs522 value: Vec<u8>, field
786 let value = vec![0u8, 1u8, 2u8]; in ut_finish_decode() localVariable
798 let value = vec![0u8, 1u8, 2u8]; in ut_finish_decode() localVariable
810 let value = vec![0u8, 1u8, 2u8]; in ut_finish_decode() localVariable
822 let value = vec![0u8, 1u8, 2u8]; in ut_finish_decode() localVariable
834 let value = vec![0u8, 1u8, 2u8]; in ut_finish_decode() localVariable
/commonlibrary/ets_utils/js_util_module/container/plainarray/
Djs_plainarray.ts178 let value: [number, T] = undefined; variable

123