/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | variant.h | 20 // value of some prescribed set of types (noted as alternative types), and 24 // should always hold a value of one of its alternative types (except in the 26 // `absl::variant` will hold the value of its first alternative type, provided 30 // value (known as a "valueless by exception" state), though this is not the 33 // As with `absl::optional`, an `absl::variant` -- when it holds a value -- 34 // allocates a value of that type directly within the `variant` itself; it 89 // except in exceptional cases -- always holds a value of one of its alternative 98 // // A default-constructed variant will hold a value-initialized value of 100 // auto a = absl::variant<int, std::string>(); // Holds an int of value ' [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_single_ver_p2p_sync_check_test.cpp | 190 Value value = {'1'}; in HWTEST_F() local 191 status = g_kvDelegatePtr->Put(key, value); in HWTEST_F() 215 EXPECT_TRUE(item.value.empty()); in HWTEST_F() 217 EXPECT_TRUE(item.value.empty()); in HWTEST_F() 238 Value value = {'1'}; in HWTEST_F() local 239 status = g_kvDelegatePtr->Put(key, value); in HWTEST_F() 268 EXPECT_TRUE(item.value.empty()); in HWTEST_F() 270 EXPECT_TRUE(item.value == value); in HWTEST_F() 540 g_deviceB->PutData(entries[i].key, entries[i].value, in HWTEST_F() 563 Value value; HWTEST_F() local 805 Value value; HWTEST_F() local 863 Value value; HWTEST_F() local 909 Value value; CancelTestEnd() local 1128 Value value = {'1'}; PrepareEnv() local 1170 Value value = {'2'}; SyncWithDeviceOffline() local 1202 Value value = {'2'}; PrepareWaterMarkError() local 1273 Value value = {'1'}; HWTEST_F() local 1411 Value value = {'1'}; TestDifferentSyncMode() local 1483 Value value = {'1'}; PrepareForSyncMergeTest() local 1532 Value value = {'2'}; HWTEST_F() local 1632 Value value = {'1'}; HWTEST_F() local 1684 PrePareForQuerySyncMergeTest(bool isQuerySync, std::vector<std::string> &devices, Key &key, Value &value, int &sendRequestCount) PrePareForQuerySyncMergeTest() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | value-serializer.cc | 5 #include "src/objects/value-serializer.h" 10 #include "include/v8-value-serializer-version.h" 11 #include "include/v8-value-serializer.h" 56 // WARNING: Increasing this value is a change which cannot safely be rolled 79 static size_t BytesNeededForVarint(T value) { in BytesNeededForVarint() argument 80 static_assert(std::is_integral<T>::value && std::is_unsigned<T>::value, in BytesNeededForVarint() 85 value >>= 7; in BytesNeededForVarint() 86 } while (value); in BytesNeededForVarint() 125 // Elements and properties are written as key/value pair 294 WriteVarint(T value) WriteVarint() argument 313 WriteZigZag(T value) WriteZigZag() argument 328 WriteDouble(double value) WriteDouble() argument 398 WriteUint32(uint32_t value) WriteUint32() argument 402 WriteUint64(uint64_t value) WriteUint64() argument 644 Handle<Object> value; WriteJSObject() local 807 WriteJSPrimitiveWrapper( Handle<JSPrimitiveWrapper> value) WriteJSPrimitiveWrapper() argument 1126 Handle<Object> value; WriteJSObjectPropertiesSlow() local 1266 T value = 0; ReadVarint() local 1297 T value = 0; ReadVarintLoop() local 1337 double value; ReadDouble() local 1354 ReadUint32(uint32_t* value) ReadUint32() argument 1358 ReadUint64(uint64_t* value) ReadUint64() argument 1362 ReadDouble(double* value) ReadDouble() argument 1774 double value; ReadJSDate() local 1789 Handle<JSPrimitiveWrapper> value; ReadJSPrimitiveWrapper() local 2264 IsValidObjectKey(Object value, Isolate* isolate) IsValidObjectKey() argument 2328 Handle<Object> value; ReadJSObjectProperties() local 2399 Handle<Object> value; ReadJSObjectProperties() local 2422 Object value = id_map_->get(id); GetObjectWithID() local [all...] |
/third_party/json/include/nlohmann/ |
H A D | json.hpp | 311 // JSON value data types // 314 /// @name JSON value data types 315 /// The data types to store a JSON value. These types are derived from 394 // JSON value storage // 399 @brief a JSON value 401 The actual storage for a JSON value of the @ref basic_json class. This 402 union combines the different storage types for the JSON value types 415 null | null | *no value is stored* 419 value types are used. 525 json_value(const string_t& value) argument 528 json_value(string_t&& value) json_value() argument 531 json_value(const object_t& value) json_value() argument 534 json_value(object_t&& value) json_value() argument 537 json_value(const array_t& value) json_value() argument 540 json_value(array_t&& value) json_value() argument 543 json_value(const typename binary_t::container_type& value) json_value() argument 546 json_value(typename binary_t::container_type&& value) json_value() argument 549 json_value(const binary_t& value) json_value() argument 552 json_value(binary_t&& value) json_value() argument 2214 ValueType value(const typename object_t::key_type& key, const ValueType& default_value) const value() function in basic_json 2239 ReturnType value(const typename object_t::key_type& key, ValueType && default_value) const value() function in basic_json 2265 ValueType value(KeyType && key, const ValueType& default_value) const value() function in basic_json 2292 ReturnType value(KeyType && key, ValueType && default_value) const value() function in basic_json 2315 ValueType value(const json_pointer& ptr, const ValueType& default_value) const value() function in basic_json 2340 ReturnType value(const json_pointer& ptr, ValueType && default_value) const value() function in basic_json 2364 ValueType value(const ::nlohmann::json_pointer<BasicJsonType>& ptr, const ValueType& default_value) const value() function in basic_json 2375 ReturnType value(const ::nlohmann::json_pointer<BasicJsonType>& ptr, ValueType && default_value) const value() function in basic_json [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | extension_util.cpp | 29 auto value = Convert(bucket); in Convert() local 30 if (value.first == nullptr) { in Convert() 33 auto status = OhCloudExtVectorPush(datas, value.first, value.second); in Convert() 50 void *value = nullptr; in Convert() local 57 value = asset; in Convert() 64 value = assets; in Convert() 68 value = data.first; in Convert() 71 if (value == nullptr) { in Convert() 75 const_cast<void *>(reinterpret_cast<const void *>(col.c_str())), col.size(), value, valueLe in Convert() 86 OhCloudExtValue *value = nullptr; Convert() local 187 void *value = nullptr; ConvertBuckets() local 202 ConvertBucket(OhCloudExtHashMap *value) ConvertBucket() argument 243 ConvertValue(OhCloudExtValue *value) ConvertValue() argument 325 void *value = nullptr; ConvertAssets() local [all...] |
/third_party/curl/lib/ |
H A D | formdata.c | 70 char *value, curl_off_t contentslength, in AddHttpPost() 90 post->contents = value; in AddHttpPost() 132 static struct FormInfo *AddFormInfo(char *value, in AddFormInfo() argument 140 if(value) in AddFormInfo() 141 form_info->value = value; in AddFormInfo() 174 * Simple name/value pair with copied contents: 176 * CURLFORM_COPYCONTENTS, "value", CURLFORM_END); 178 * name/value pair where only the content pointer is remembered: 217 char *array_value = NULL; /* value rea in FormAdd() 69 AddHttpPost(char *name, size_t namelength, char *value, curl_off_t contentslength, char *buffer, size_t bufferlength, char *contenttype, long flags, struct curl_slist *contentHeader, char *showfilename, char *userp, struct curl_httppost *parent_post, struct curl_httppost **httppost, struct curl_httppost **last_post) AddHttpPost() argument 311 char *value = FormAdd() local [all...] |
/third_party/node/deps/v8/src/execution/mips64/ |
H A D | simulator-mips64.h | 28 // Returns the negative absolute value of its argument. 30 typename = typename std::enable_if<std::is_signed<T>::value>::type> 240 // Accessors for register state. Reading the pc value adheres to the MIPS 243 void set_register(int reg, int64_t value); 244 void set_register_word(int reg, int32_t value); 249 void set_fpu_register(int fpureg, int64_t value); 250 void set_fpu_register_word(int fpureg, int32_t value); 251 void set_fpu_register_hi_word(int fpureg, int32_t value); 252 void set_fpu_register_float(int fpureg, float value); 253 void set_fpu_register_double(int fpureg, double value); [all...] |
/third_party/node/deps/v8/src/execution/mips/ |
H A D | simulator-mips.h | 28 // Returns the negative absolute value of its argument. 30 typename = typename std::enable_if<std::is_signed<T>::value>::type> 240 // Accessors for register state. Reading the pc value adheres to the MIPS 243 void set_register(int reg, int32_t value); 248 void set_fpu_register(int fpureg, int64_t value); 249 void set_fpu_register_word(int fpureg, int32_t value); 250 void set_fpu_register_hi_word(int fpureg, int32_t value); 251 void set_fpu_register_float(int fpureg, float value); 252 void set_fpu_register_double(int fpureg, double value); 266 void get_msa_register(int wreg, T* value); [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | verifier.cc | 72 // relative value i.e., |tolerance| / 100 * fabs(expected). 73 // Otherwise, this method uses the absolute value i.e., |tolerance|. 97 const Value& value) { in CheckActualValue() 100 const T val = value.IsInteger() ? static_cast<T>(value.AsUint64()) in CheckActualValue() 101 : static_cast<T>(value.AsDouble()); in CheckActualValue() 104 if (value.IsInteger()) { in CheckActualValue() 118 if (value.IsInteger()) { in CheckActualValue() 135 command->HasTolerances() ? tolerance[0].value : kEpsilon, in CheckActualValue() 168 const Value& value) { in CheckValue() 95 CheckActualValue(const ProbeSSBOCommand* command, const T actual_value, const Value& value) CheckActualValue() argument 166 CheckValue(const ProbeSSBOCommand* command, const uint8_t* memory, const Value& value) CheckValue() argument 555 const auto& value = values[i]; ProbeSSBO() local [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 371 void setUniformValue (int location, rsg::ConstValueAccess value) in setUniformValue() argument 376 switch (value.getType().getBaseType()) in setUniformValue() 379 switch (value.getType().getNumElements()) in setUniformValue() 381 case 1: glUniform1fv(location, 1, (float*)value.value().getValuePtr()); break; in setUniformValue() 382 case 2: glUniform2fv(location, 1, (float*)value.value().getValuePtr()); break; in setUniformValue() 383 case 3: glUniform3fv(location, 1, (float*)value.value().getValuePtr()); break; in setUniformValue() 384 case 4: glUniform4fv(location, 1, (float*)value in setUniformValue() 408 operator <<(tcu::MessageBuilder& message, rsg::ConstValueAccess value) operator <<() argument [all...] |
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/include/util/ |
H A D | napi_util.h | 25 static void JsValueToString(const napi_env &env, const napi_value &value, const int32_t bufLen, 28 static napi_value SetNapiCallBool(const napi_env env, bool value); 29 static int StringToInt(std::string value); 30 static int StringToLong(std::string value); 31 static float StringToFloat(std::string value); 32 static bool StringToBool(std::string value);
|
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/include/util/ |
H A D | napi_util.h | 25 static void JsValueToString(const napi_env &env, const napi_value &value, const int32_t bufLen, 28 static napi_value SetNapiCallBool(const napi_env env, bool value); 29 static int StringToInt(std::string value); 30 static int StringToLong(std::string value); 31 static float StringToFloat(std::string value); 32 static bool StringToBool(std::string value);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/ |
H A D | linear_indicator_model.h | 32 virtual void SetSpace(const Dimension& value) = 0; 33 virtual void SetStrokeWidth(const Dimension& value) = 0; 34 virtual void SetStrokeRadius(const Dimension& value) = 0; 35 virtual void SetTrackBackgroundColor(const Color& value) = 0; 36 virtual void SetTrackColor(const Color& value) = 0; 37 virtual void Loop(bool value) = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_slider_ffi.h | 24 double value; member 32 CJ_EXPORT void FfiOHOSAceFrameworkSliderCreate(CJSliderCreate value); 38 CJ_EXPORT void FfiOHOSAceFrameworkSliderTrackThickness(double value, int32_t unit); 39 CJ_EXPORT void FfiOHOSAceFrameworkSliderMaxLabel(double value); 40 CJ_EXPORT void FfiOHOSAceFrameworkSliderMinLabel(double value); 41 CJ_EXPORT void FfiOHOSAceFrameworkSliderOnChange(void (*callback)(double value, int32_t mode));
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | grid_item_model_impl.h | 28 void SetRowStart(int32_t value) override; 29 void SetRowEnd(int32_t value) override; 30 void SetColumnStart(int32_t value) override; 31 void SetColumnEnd(int32_t value) override; 32 void SetForceRebuild(bool value) override; 33 void SetSelectable(bool value) override;
|
/foundation/graphic/graphic_surface/utils/trace/ |
H A D | surface_trace.h | 30 #define SURFACE_ASYNC_TRACE_BEGIN(name, value) \ 31 StartAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value) 32 #define SURFACE_ASYNC_TRACE_END(name, value) \ 33 FinishAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value) 34 #define SURFACE_TRACE_INT(name, value) \ 35 CountTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value)
|
/foundation/multimedia/av_session/utils/src/ |
H A D | hash_calculator.cpp | 41 int HashCalculator::Update(const std::vector<uint8_t> &value) in Update() argument 46 if (SHA256_Update(context_, value.data(), value.size()) == 0) { in Update() 53 int HashCalculator::GetResult(std::vector<uint8_t> &value) in GetResult() argument 59 value.resize(SHA256_DIGEST_LENGTH); in GetResult() 60 if (SHA256_Final(value.data(), context_) == 0) { in GetResult()
|
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/include/ |
H A D | i_test_audio_ability.h | 32 virtual int32_t TestRpcInt32(int32_t value) = 0; 33 virtual uint32_t TestRpcUInt32(uint32_t value) = 0; 34 virtual int64_t TestRpcInt64(int64_t value) = 0; 35 virtual uint64_t TestRpcUInt64(uint64_t value) = 0; 36 virtual float TestRpcFloat(float value) = 0; 37 virtual double TestRpcDouble(double value) = 0;
|
H A D | test_audio_ability_proxy.h | 36 int32_t TestRpcInt32(int32_t value); 37 uint32_t TestRpcUInt32(uint32_t value); 38 int64_t TestRpcInt64(int64_t value); 39 uint64_t TestRpcUInt64(uint64_t value); 40 float TestRpcFloat(float value); 41 double TestRpcDouble(double value);
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/ |
H A D | oh_values_bucket.h | 35 * @brief Define the type of stored key value pairs. 63 * @brief Put the const char * value to this {@link OH_VBucket} object for the given column name. 67 * @param value Indicates the const char * value. 72 int (*putText)(OH_VBucket *bucket, const char *field, const char *value); 75 * @brief Put the int64 value to this {@link OH_VBucket} object for the given column name. 79 * @param value Indicates the int64 value. 84 int (*putInt64)(OH_VBucket *bucket, const char *field, int64_t value); 87 * @brief Put the double value t [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dcaenc.h | 149 static inline int32_t quantize_value(int32_t value, softfloat quant) in quantize_value() argument 153 value = mul32(value, quant.m) + offset; in quantize_value() 154 value = value >> quant.e; in quantize_value() 155 return value; in quantize_value()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DisplayContext.java | 41 * The capitalization context to be used is unknown (this is the default value). 98 * Returns a fallback value (e.g., the input code) when no data is available. 105 * Returns a null value when no data is available. 139 private final int value; field in DisplayContext 140 private DisplayContext(Type type, int value) { in DisplayContext() argument 142 this.value = value; in DisplayContext() 153 * Get the value part of the enum item 157 public int value() { in value() method in DisplayContext 158 return value; in value() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | LongHashtable.java | 27 public void put(long key, int value) { in put() argument 28 if (value == defaultValue) { in put() 31 table.put(new Long(key), new Integer(value)); in put() 36 Integer value = table.get(new Long(key)); in get() 37 if (value == null) return defaultValue; in get() 38 return value.intValue(); in get()
|
H A D | IntStringHashtable.java | 28 public void put(int key, String value) { in put() argument 29 if (value == defaultValue) { in put() 32 table.put(new Integer(key), value); in put() 37 String value = table.get(new Integer(key)); in get() 38 if (value == null) return defaultValue; in get() 39 return value; in get()
|
H A D | IntHashtable.java | 28 public void put(int key, int value) { in put() argument 29 if (value == defaultValue) { in put() 32 table.put(new Integer(key), new Integer(value)); in put() 37 Integer value = table.get(new Integer(key)); in get() 38 if (value == null) return defaultValue; in get() 39 return value.intValue(); in get()
|