/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_interrupt_info.h | 144 bool operator==(const AudioFocusType &value) const in operator ==() 146 return streamType == value.streamType && sourceType == value.sourceType && isPlay == value.isPlay; in operator ==() 149 bool operator<(const AudioFocusType &value) const in operator <() 151 return streamType < value.streamType || (streamType == value.streamType && sourceType < value.sourceType); in operator <() 154 bool operator>(const AudioFocusType &value) const in operator >() 156 return streamType > value in operator >() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceframeohosvulkan_fuzzer/ |
H A D | rssurfaceframeohosvulkan_fuzzer.cpp | 67 auto value = std::make_shared<Drawing::Surface>();
in DoGetCanvas() local 68 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge);
in DoGetCanvas() 86 auto value = std::make_shared<Drawing::Surface>();
in DoGetSurface() local 87 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge);
in DoGetSurface() 105 auto value = std::make_shared<Drawing::Surface>();
in DoSetDamageRegion() local 106 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge);
in DoSetDamageRegion() 131 auto value = std::make_shared<Drawing::Surface>();
in DoGetReleaseFence() local 132 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge);
in DoGetReleaseFence() 151 auto value = std::make_shared<Drawing::Surface>();
in DoSetReleaseFence() local 152 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, widt in DoSetReleaseFence() 171 auto value = std::make_shared<Drawing::Surface>(); DoGetBufferAge() local [all...] |
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/ |
H A D | test_audio_ability_proxy.cpp | 77 int32_t TestAudioAbilityProxy::TestRpcInt32(int32_t value) in TestRpcInt32() argument 86 data.WriteInt32(value); in TestRpcInt32() 96 uint32_t TestAudioAbilityProxy::TestRpcUInt32(uint32_t value) in TestRpcUInt32() argument 105 data.WriteUint32(value); in TestRpcUInt32() 115 int64_t TestAudioAbilityProxy::TestRpcInt64(int64_t value) in TestRpcInt64() argument 124 data.WriteInt64(value); in TestRpcInt64() 134 uint64_t TestAudioAbilityProxy::TestRpcUInt64(uint64_t value) in TestRpcUInt64() argument 143 data.WriteUint64(value); in TestRpcUInt64() 153 float TestAudioAbilityProxy::TestRpcFloat(float value) in TestRpcFloat() argument 162 data.WriteFloat(value); in TestRpcFloat() 172 TestRpcDouble(double value) TestRpcDouble() argument [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | config_reader.cpp | 42 xmlChar *value;
in ParseProperties() local 49 value = xmlGetProp(&currNode, name);
in ParseProperties() 50 if (!value) {
in ParseProperties() 51 RESSCHED_LOGW("%{public}s, name(%{public}s) value null!", __func__, name);
in ParseProperties() 54 properties[reinterpret_cast<const char*>(name)] = reinterpret_cast<const char*>(value);
in ParseProperties() 55 xmlFree(value);
in ParseProperties() 62 xmlChar *value;
in ParseSubItem() local 71 value = xmlNodeGetContent(currNodePtr);
in ParseSubItem() 72 if (value) {
in ParseSubItem() 73 string itemValue(reinterpret_cast<const char*>(value));
in ParseSubItem() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | distributed_device_profile_client_rdb_test.cpp | 190 ValuesBucket value; in HWTEST_F() local 191 ProfileUtils::AccessControlProfileToEntries(profile, value); in HWTEST_F() 192 ProfileUtils::EntriesToAccessControlProfile(value, profile); in HWTEST_F() 193 value.Clear(); in HWTEST_F() 194 ProfileUtils::AccesserToEntries(profile, value); in HWTEST_F() 195 ProfileUtils::EntriesToAccesser(value, accesser); in HWTEST_F() 196 value.Clear(); in HWTEST_F() 197 ProfileUtils::AccesseeToEntries(profile, value); in HWTEST_F() 198 ProfileUtils::EntriesToAccessee(value, accessee); in HWTEST_F() 278 ValuesBucket value; in HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/ |
H A D | rd_sqlite_utils.cpp | 152 int RDSQLiteUtils::BindBlobToStatement(sqlite3_stmt *statement, int index, const std::vector<uint8_t> &value) in BindBlobToStatement() argument 159 if (value.empty()) { in BindBlobToStatement() 162 errCode = sqlite3_bind_blob(statement, index, static_cast<const void *>(value.data()), value.size(), in BindBlobToStatement() 168 int RDSQLiteUtils::GetColumnBlobValue(sqlite3_stmt *statement, int index, std::vector<uint8_t> &value) in GetColumnBlobValue() argument 177 value.resize(MAX_BLOB_READ_SIZE + 1); // Reset value size to invalid in GetColumnBlobValue() 178 return E_OK; // Return OK for continue get data, but value is invalid in GetColumnBlobValue() 183 value.resize(0); in GetColumnBlobValue() 185 value in GetColumnBlobValue() 192 BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &value) BindTextToStatement() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | user_delegate.cpp | 55 deviceUser_.Compute(deviceId, [&users](const auto &key, auto &value) { in GetLocalUsers() 56 if (value.empty()) { in GetLocalUsers() 60 value[user.id] = user.isActive; in GetLocalUsers() 63 for (const auto [user, active] : value) { in GetLocalUsers() 66 return !value.empty(); in GetLocalUsers() 91 for (const auto [key, value] : users) { in GetUsers() 92 userStatus.emplace_back(key, value); in GetUsers() 136 for (const auto &[key, value] : users) { in InitLocalUserMeta() 137 userMetaData.users.emplace_back(key, value); in InitLocalUserMeta() 155 UserMetaRow::KEY_PREFIX, [this](const std::string &key, const std::string &value, int32_ in Init() [all...] |
/foundation/distributedhardware/distributed_audio/audiohandler/src/ |
H A D | daudio_handler.cpp | 60 for (const auto &value : micInfos_.sampleRates) { in AddItemsToObject() 61 cJSON_AddItemToArray(sampleArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject() 67 for (const auto &value : micInfos_.channels) { in AddItemsToObject() 68 cJSON_AddItemToArray(channelArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject() 74 for (const auto &value : micInfos_.formats) { in AddItemsToObject() 75 cJSON_AddItemToArray(formatsArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject() 82 for (const auto &value : spkInfos_.sampleRates) { in AddItemsToObject() 83 cJSON_AddItemToArray(sampleArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject() 89 for (const auto &value : spkInfos_.channels) { in AddItemsToObject() 90 cJSON_AddItemToArray(channelArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject() [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | clouddisk_rdbstore_mock.cpp | 104 const std::string &cloudId, const std::string &value) in LocationSetXattr() 123 const std::string &cloudId, const std::string &value) in RecycleSetXattr() 128 int32_t CloudDiskRdbStore::FavoriteSetXattr(const std::string &cloudId, const std::string &value) in FavoriteSetXattr() argument 133 int32_t CloudDiskRdbStore::LocationGetXattr(const std::string &name, const std::string &key, std::string &value, in LocationGetXattr() argument 139 int32_t CloudDiskRdbStore::FavoriteGetXattr(const std::string &cloudId, const std::string &key, std::string &value) in FavoriteGetXattr() argument 144 int32_t CloudDiskRdbStore::FileStatusGetXattr(const std::string &cloudId, const std::string &key, std::string &value) in FileStatusGetXattr() argument 149 int32_t CloudDiskRdbStore::GetExtAttrValue(const std::string &cloudId, const std::string &key, std::string &value) in GetExtAttrValue() argument 154 int32_t CloudDiskRdbStore::GetExtAttr(const std::string &cloudId, std::string &value, int32_t &position) in GetExtAttr() argument 159 int32_t CloudDiskRdbStore::GetXAttr(const std::string &cloudId, const std::string &key, std::string &value, in GetXAttr() argument 168 int32_t CloudDiskRdbStore::ExtAttributeSetXattr(const std::string &cloudId, const std::string &value, in ExtAttributeSetXattr() argument 103 LocationSetXattr(const std::string &name, const std::string &parentCloudId, const std::string &cloudId, const std::string &value) LocationSetXattr() argument 122 RecycleSetXattr(const std::string &name, const std::string &parentCloudId, const std::string &cloudId, const std::string &value) RecycleSetXattr() argument 174 SetXAttr(const std::string &cloudId, const std::string &key, const std::string &value, const std::string &name, const std::string &parentCloudId) SetXAttr() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | ttaenc.c | 113 int32_t value, temp; in tta_encode_frame() local 115 value = get_sample(frame, samples++, avctx->sample_fmt); in tta_encode_frame() 119 value = res = get_sample(frame, samples, avctx->sample_fmt) - value; in tta_encode_frame() 121 value -= res / 2; in tta_encode_frame() 124 temp = value; in tta_encode_frame() 127 case 1: value -= PRED(c->predictor, 4); break; in tta_encode_frame() 129 case 3: value -= PRED(c->predictor, 5); break; in tta_encode_frame() 133 s->dsp.filter_process(filter->qm, filter->dx, filter->dl, &filter->error, &value, in tta_encode_frame() 135 outval = (value > in tta_encode_frame() [all...] |
/third_party/mesa3d/src/freedreno/drm-shim/ |
H A D | freedreno_noop.c | 87 args->value = drm_shim_bo_get_mmap_offset(shim_fd, bo); in msm_ioctl_gem_info() 90 args->value = bo->mem_addr; in msm_ioctl_gem_info() 113 gp->value = device_info->gpu_id; in msm_ioctl_get_param() 116 gp->value = device_info->gmem_size; in msm_ioctl_get_param() 119 gp->value = 0x100000; in msm_ioctl_get_param() 122 gp->value = device_info->chip_id; in msm_ioctl_get_param() 125 gp->value = 1; in msm_ioctl_get_param() 128 gp->value = 1000000; in msm_ioctl_get_param() 131 gp->value = 0; in msm_ioctl_get_param() 134 gp->value in msm_ioctl_get_param() [all...] |
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_optimizer.c | 101 agx_instr *def = defs[src.value]; in agx_optimizer_fmov() 118 agx_instr *def = defs[src.value]; in agx_optimizer_inline_imm() 121 uint8_t value = def->imm; in agx_optimizer_inline_imm() local 134 value = agx_minifloat_encode(f); in agx_optimizer_inline_imm() 135 } else if (value != def->imm) { in agx_optimizer_inline_imm() 140 I->src[s].value = value; in agx_optimizer_inline_imm() 163 agx_instr *def = defs[src.value]; in agx_optimizer_copyprop() 190 defs[I->dest[d].value] = I; in agx_optimizer_forward() 219 unsigned v = I->src[s].value; in agx_optimizer_backward() [all...] |
/third_party/node/test/parallel/ |
H A D | test-util-promisify.js | 15 promise.then(common.mustCall((value) => { 16 assert.deepStrictEqual(value, fs.statSync(__filename)); 85 promisify(fn)().then(common.mustCall((value) => { 86 assert.strictEqual(value, 'foo'); 94 promisify(fn)().then(common.mustCall((value) => { 95 assert.strictEqual(value, undefined); 103 promisify(fn)().then(common.mustCall((value) => { 104 assert.strictEqual(value, undefined); 112 promisify(fn)(null, 42).then(common.mustCall((value) => { 113 assert.strictEqual(value, 4 [all...] |
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-array-buffer.h | 327 V8_INLINE static ArrayBuffer* Cast(Value* value) { in Cast() argument 329 CheckCast(value); in Cast() 331 return static_cast<ArrayBuffer*>(value); in Cast() 383 V8_INLINE static ArrayBufferView* Cast(Value* value) { in Cast() argument 385 CheckCast(value); in Cast() 387 return static_cast<ArrayBufferView*>(value); in Cast() 409 V8_INLINE static DataView* Cast(Value* value) { in Cast() argument 411 CheckCast(value); in Cast() 413 return static_cast<DataView*>(value); in Cast() 496 V8_INLINE static SharedArrayBuffer* Cast(Value* value) { in Cast() argument [all...] |
/third_party/node/deps/v8/src/diagnostics/ |
H A D | eh-frame.h | 138 void WriteSLeb128(int32_t value); 139 void WriteULeb128(uint32_t value); 141 void WriteByte(byte value) { eh_frame_buffer_.push_back(value); } in WriteByte() argument 148 void WriteInt16(uint16_t value) { in WriteInt16() argument 149 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt16() 151 void WriteInt32(uint32_t value) { in WriteInt32() argument 152 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt32() 154 PatchInt32(int base_offset, uint32_t value) PatchInt32() argument [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | trace-event.h | 25 // value with zero or more of the following bits. Used in this class only. 26 // The TRACE_EVENT macros should only use the value as a bool. 75 #define TRACE_EVENT_API_ATOMIC_STORE(var, value) \ 76 v8::base::Relaxed_Store(&(var), (value)) 160 // Define SetTraceValue for each allowed type. It stores the type and value 166 std::is_integral<T>::value || std::is_enum<T>::value, void>::type 167 SetTraceValue(T arg, unsigned char* type, uint64_t* value) { 168 *type = std::is_same<T, bool>::value 170 : std::is_signed<T>::value [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | ostreams.h | 104 explicit AsUC16(uint16_t v) : value(v) {} in AsUC16() 105 uint16_t value; member 109 explicit AsUC32(int32_t v) : value(v) {} in AsUC32() 110 int32_t value; member 114 explicit AsReversiblyEscapedUC16(uint16_t v) : value(v) {} in AsReversiblyEscapedUC16() 115 uint16_t value; member 119 explicit AsEscapedUC16ForJSON(uint16_t v) : value(v) {} in AsEscapedUC16ForJSON() 120 uint16_t value; member 123 // Output the given value as hex, with a minimum width and optional prefix (0x). 125 // {min_width} and the value ar 129 uint64_t value; global() member 147 uint64_t value; global() member [all...] |
/third_party/node/deps/openssl/openssl/crypto/conf/ |
H A D | conf_api.c | 42 return ((STACK_OF(CONF_VALUE) *)v->value); in STACK_OF() 45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument 50 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string() 52 value->section = section->section; in _CONF_add_string() 53 if (!sk_CONF_VALUE_push(ts, value)) in _CONF_add_string() 56 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string() 60 OPENSSL_free(v->value); in _CONF_add_string() 83 return v->value; in _CONF_get_string() 95 return v->value; in _CONF_get_string() 173 sk = (STACK_OF(CONF_VALUE) *)a->value; in value_free_stack_doall() [all...] |
/third_party/python/Lib/test/ |
H A D | _test_embed_set_config.py | 33 for key, value in kwargs.items(): 34 self.assertEqual(getattr(sys, key), value, 35 (key, value)) 145 for key, value in tests: 146 config = self.old_config | {key: value} 147 with self.subTest(key=key, value=value, exc_type=exc_type): 152 for sys_attr, key, value in ( 162 with self.subTest(sys=sys_attr, key=key, value=value) [all...] |
/third_party/openssl/crypto/conf/ |
H A D | conf_api.c | 42 return ((STACK_OF(CONF_VALUE) *)v->value); in STACK_OF() 45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument 50 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string() 52 value->section = section->section; in _CONF_add_string() 53 if (!sk_CONF_VALUE_push(ts, value)) in _CONF_add_string() 56 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string() 60 OPENSSL_free(v->value); in _CONF_add_string() 83 return v->value; in _CONF_get_string() 95 return v->value; in _CONF_get_string() 173 sk = (STACK_OF(CONF_VALUE) *)a->value; in value_free_stack_doall() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | thisAndSuperInStaticMembers2(target=es2015).js | 79 C.z8 = [({ set value(_a) { Reflect.set(_c, "a", _a, _b); } }).value] = [0];
80 C.z9 = [({ set value(_a) { Reflect.set(_c, "a", _a, _b); } }).value = 0] = [0];
81 C.z10 = [...({ set value(_a) { Reflect.set(_c, "a", _a, _b); } }).value] = [0];
82 C.z11 = { x: ({ set value(_a) { Reflect.set(_c, "a", _a, _b); } }).value } = { x: 0 };
83 C.z12 = { x: ({ set value(_a) { Reflect.set(_c, "a", _a, _b); } }).value [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | uniform_helper.h | 80 is_widening_convertible<B, A>>::value, 82 is_widening_convertible<A, B>::value, B, A>::type>; 105 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 116 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 125 std::is_same<Tag, IntervalClosedOpenTag>>::value, 136 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 147 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 158 std::is_same<Tag, IntervalOpenClosedTag>>>::value, 169 std::is_same<Tag, IntervalOpenClosedTag>>>::value, 198 absl::enable_if_t<std::is_floating_point<FloatType>::value, boo [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | invoke.h | 75 : std::integral_constant<bool, std::is_base_of<C, Obj>::value && 76 absl::is_function<MemFunType>::value> { 96 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && 97 absl::is_function<MemFunType>::value> { 118 : std::integral_constant<bool, std::is_base_of<C, Obj>::value && 119 !absl::is_function<R>::value> {}; 136 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && 137 !absl::is_function<R>::value> {}; 161 MemFunAndRef::Accept<Args...>::value, MemFunAndRef, 163 MemFunAndPtr::Accept<Args...>::value, MemFunAndPt [all...] |
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_utils.cpp | 673 std::string value; in GetValue() local 674 status = GetValue(env, item, value); in GetValue() 676 out.push_back(value); in GetValue() 730 CHECK_RETURN((status == napi_ok), "napi_value <- std::vector<uint8_t> invalid value", status); in SetValue() 1128 bool NapiUtils::Equals(napi_env env, napi_value value, napi_ref copy) in Equals() argument 1131 return (value == nullptr); in Equals() 1137 "get ref value failed", napi_generic_failure); in Equals() 1139 CHECK_RETURN(napi_strict_equals(env, value, copyValue, &isEquals) == napi_ok, in Equals() 1144 bool NapiUtils::TypeCheck(napi_env env, napi_value value, napi_valuetype expectType) in TypeCheck() argument 1147 napi_status status = napi_typeof(env, value, in TypeCheck() 1183 GetDateValue(napi_env env, napi_value value, double& result) GetDateValue() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_batch_crud_test.cpp | 158 * @tc.expected: step2. PutBatch successfully and the value of k1 is v2, the value of k2 is v3. in HWTEST_F() 206 * @tc.desc: Verify that single-ver db can putbatch <keys,values> value of which is null, but can't putBatch 207 * <keys,values> value of which is bigger than 4M. 220 entry.value.assign(FOUR_M_LONG_STRING + 1, 'v'); // the size of value is 4M + 1 in HWTEST_F() 225 * @tc.expected: step1. PutBatch successfully and the value of k1 is v1, and the value of k2 is null. in HWTEST_F() 235 * @tc.steps: step2. call PutBatch interface to Put (k3, v3), entry value of which is supper bigger than 4M in HWTEST_F() 257 entry1.value in HWTEST_F() 1032 Value value; HWTEST_F() local 1070 Value value; HWTEST_F() local 1116 Value value; HWTEST_F() local 1283 Value value; HWTEST_F() local 1327 Value value; HWTEST_F() local 1798 Value value; HWTEST_F() local 1972 Value value; TransactionSubThread2() local 2015 Value value; HWTEST_F() local 2206 DistributedDB::Value value; HWTEST_F() local [all...] |