| /commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
| D | napi_helper.cpp | 23 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() 60 napi_value value = nullptr; in GetNamePropertyInParentPort() local 73 bool NapiHelper::IsCallable(napi_env env, napi_value value) in IsCallable() 80 bool NapiHelper::IsCallable(napi_env env, napi_ref value) in IsCallable() 90 void NapiHelper::SetNamePropertyInGlobal(napi_env env, const char* name, napi_value value) in SetNamePropertyInGlobal() 97 bool NapiHelper::IsObject(napi_value value) in IsObject() 103 char* NapiHelper::GetString(napi_env env, napi_value value) in GetString() 116 napi_value NapiHelper::CreateBooleanValue(napi_env env, bool value) in CreateBooleanValue() [all …]
|
| D | object_helper.h | 37 static void DeletePointer(const T* value, bool isArray) in DeletePointer() 45 delete value; in DeletePointer() local
|
| /commonlibrary/c_utils/base/src/ |
| D | parcel.cpp | 394 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 …]
|
| D | string_ex.cpp | 65 string DexToHexString(int value, bool upper /*= true*/) in DexToHexString() 102 bool StrToInt(const string& str, int& value) in StrToInt()
|
| /commonlibrary/ets_utils/js_api_module/buffer/ |
| D | js_buffer.cpp | 155 void Buffer::WriteBE(int32_t value, uint32_t bytes) in WriteBE() 166 void Buffer::WriteLE(int32_t value, uint32_t bytes) in WriteLE() 205 void Buffer::WriteInt32BE(int32_t value, uint32_t offset) in WriteInt32BE() 221 void Buffer::WriteInt32LE(int32_t value, uint32_t offset) in WriteInt32LE() 237 void Buffer::WriteUInt32BE(int32_t value, uint32_t offset) in WriteUInt32BE() 253 void Buffer::WriteUInt32LE(int32_t value, uint32_t offset) in WriteUInt32LE() 271 uint8_t value; in Get() local 279 void Buffer::Set(uint32_t index, uint8_t value) in Set() 299 unsigned int Buffer::WriteString(std::string value, unsigned int size) in WriteString() 306 unsigned int Buffer::WriteString(string value, unsigned int offset, unsigned int size) in WriteString() [all …]
|
| D | native_module_buffer.cpp | 387 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 601 napi_value value = nullptr; in GetBufferData() local 622 int32_t value = buf->Get(index); in Get() local 641 int32_t value = 0; in Set() local 652 int32_t value = 0; in WriteInt32LE() local 678 int32_t value = 0; in WriteUInt32BE() local 704 int32_t value = 0; in WriteUInt32LE() local 919 napi_value value = nullptr; in Utf8StringToNumbers() local [all …]
|
| /commonlibrary/ets_utils/js_util_module/container/hashmap/ |
| D | js_hashmap.ts | 109 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/ |
| D | nativeapi_kv_impl.c | 33 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()
|
| D | nativeapi_kv.cpp | 73 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/ |
| D | js_lightweightmap.ts | 98 let value: [K, V] = undefined; variable 140 let value: K = undefined; variable 240 let value: V = undefined; variable
|
| /commonlibrary/c_utils/base/include/ |
| D | safe_map.h | 64 bool Insert(const K& key, const V& value) in Insert() 71 void EnsureInsert(const K& key, const V& value) in EnsureInsert() 84 bool Find(const K& key, V& value) in Find()
|
| D | semaphore_ex.h | 59 Semaphore(int value = 1) : count_(value) {} in count_() argument
|
| D | unique_fd.h | 63 explicit UniqueFdAddDeletor(const int& value) in UniqueFdAddDeletor()
|
| /commonlibrary/ets_utils/js_api_module/test_buffer/unittest/ |
| D | test_napi.cpp | 32 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument 190 int32_t value = buf->Get(0); variable 207 int32_t value = buf->Get(2); variable 476 uint8_t value = 49; variable 497 uint8_t value = 49; variable 518 uint8_t value = 49; variable 539 uint8_t value = 49; variable 562 uint8_t value = 49; variable 929 std::string value = "abcd"; variable 949 std::string value = "扡摣"; variable [all …]
|
| /commonlibrary/c_utils/base/test/unittest/common/ |
| D | utils_safe_map_test.cpp | 202 void callback(const std::string str, int& value) in callback() 242 auto callback_it = [cnt](const string data, int& value) { in __anoncbfb97d40202() 280 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anoncbfb97d40402() 327 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anoncbfb97d40602() 387 const int& value, const std::chrono::system_clock::time_point& absTime) { in __anoncbfb97d40802()
|
| /commonlibrary/ets_utils/js_util_module/container/hashset/ |
| D | js_hashset.ts | 107 let value: T = undefined; variable 125 let value: [T, T] = undefined; variable
|
| /commonlibrary/ets_utils/js_util_module/container/lightweightset/ |
| D | js_lightweightset.ts | 173 let value: T = undefined; variable 208 let value: [T, T] = undefined; variable
|
| /commonlibrary/ets_utils/js_sys_module/dfx/ |
| D | native_module_dfx.cpp | 151 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/ets_utils/js_util_module/container/plainarray/ |
| D | js_plainarray.ts | 178 let value: [number, T] = undefined; variable
|
| /commonlibrary/ets_utils/js_util_module/container/struct/ |
| D | js_struct.ts | 97 value: V; property in Pair
|
| /commonlibrary/ets_utils/js_api_module/test_uri/unittest/ |
| D | test_napi.cpp | 27 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument
|
| /commonlibrary/ets_utils/js_api_module/test_url/unittest/ |
| D | test_napi.cpp | 32 #define ASSERT_CHECK_VALUE_TYPE(env, value, type) \ argument 826 bool value = false; variable 836 bool value = false; variable 846 bool value = false; variable 856 bool value = false; variable 866 std::string value = "host"; variable 877 std::string value = ""; variable
|
| /commonlibrary/ets_utils/js_util_module/util/ |
| D | js_uuid.cpp | 159 unsigned char value = uuid.elements[i]; in GetFormatUUID() local
|
| /commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
| D | worker.cpp | 272 void Worker::TaskResultCallback(NativeEngine* engine, NativeValue* value, NativeValue* data) in TaskResultCallback()
|
| /commonlibrary/ets_utils/js_api_module/xml/ |
| D | js_xml.cpp | 159 void XmlSerializer::SetAttributes(const std::string &name, const std::string &value) in SetAttributes() 527 napi_value value = nullptr; in ParseAttri() local 554 napi_value value = nullptr; in Parse() local 1407 … std::string value = ParseTagValue(static_cast<char>(c), true, true, TextEnum::ATTRI); in ParseInnerAttriDecl() local
|