/third_party/python/Lib/test/test_importlib/ |
H A D | test_zip.py | 30 self.assertEqual(entry_point.value, 'example:main') 32 self.assertEqual(entry_point.value, 'example:main')
|
/third_party/skia/third_party/externals/abseil-cpp/absl/cleanup/internal/ |
H A D | cleanup.h | 36 return (std::is_same<cleanup_internal::Tag, Arg>::value) && in WasDeduced() 42 return (std::is_same<base_internal::invoke_result_t<Callback>, void>::value); in ReturnsVoid()
|
/third_party/skia/docs/examples/ |
H A D | pong2.cpp | 7 double value = ::fmod(t + phase, period); in REG_FIDDLE_ANIMATED() local 9 double diff = ::fabs(value - half); in REG_FIDDLE_ANIMATED()
|
/third_party/rust/crates/rustix/tests/ |
H A D | backends.rs | 111 for (key, value) in envs { in has_dependency() 112 command.env(key, value); in has_dependency()
|
/third_party/selinux/libselinux/utils/ |
H A D | selabel_partial_match.c | 58 selabel_option[0].value = file; in main() 59 selabel_option[1].value = validate; in main()
|
/third_party/rust/crates/syn/src/ |
H A D | drops.rs | 11 pub(crate) fn new(value: T) -> Self 15 NoDrop(ManuallyDrop::new(value))
|
/third_party/spirv-tools/source/ |
H A D | spirv_endian.cpp | 24 // This constant value allows the detection of the host machine's endianness. 25 // Accessing it through the "value" member is valid due to C++11 section 3.10 29 uint32_t value; member 32 #define I32_ENDIAN_HOST (o32_host_order.value)
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deThreadLocalUnix.c | 70 void deThreadLocal_set (deThreadLocal threadLocal, void* value) in deThreadLocal_set() argument 73 ret = pthread_setspecific(threadLocalToKey(threadLocal), value); in deThreadLocal_set()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgFunctionGenerator.cpp | 65 // Create assignments if variables have bound value range in generate() 72 valueRange.getMin() = entry->getValueRange().getMin().value(); in generate() 73 valueRange.getMax() = entry->getValueRange().getMax().value(); in generate() 75 // Remove value entry from this scope. After this entry ptr is invalid. in generate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
H A D | CLProgramCL.h | 38 void *value, 44 void *value,
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_manager_stub.cpp | 131 const std::string value = GetAudioParameter(key); in HandleGetAudioParameter() local 132 reply.WriteString(value); in HandleGetAudioParameter() 139 const std::string value = data.ReadString(); in HandleSetAudioParameter() local 140 SetAudioParameter(key, value); in HandleSetAudioParameter() 234 const std::string value = data.ReadString(); in HandleIsWhispering() local 277 std::string value = data.ReadString(); in HandleSetExtraAudioParameters() local 278 audioParametersSubKVPairs.push_back(std::make_pair(subKey, value)); in HandleSetExtraAudioParameters() 372 const std::string value = GetAudioParameter(networkId, key, condition); in HandleGetRemoteAudioParameter() local 373 reply.WriteString(value); in HandleGetRemoteAudioParameter() 382 const std::string value in HandleSetRemoteAudioParameter() local 492 string value = data.ReadString(); UnmarshallEffectChainMgrParam() local 501 string value = data.ReadString(); UnmarshallEffectChainMgrParam() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/ |
H A D | remote_audio_renderer_sink.cpp | 112 void SetAudioParameter(const AudioParamKey key, const std::string &condition, const std::string &value) override; 123 const std::string &value) override; 277 std::stringstream value; in PrintRemoteAttr() local 278 value << "adapterName[" << attr.adapterName << "] openMicSpeaker[" << attr.openMicSpeaker << "] "; in PrintRemoteAttr() 279 value << "format[" << static_cast<int32_t>(attr.format) << "] "; in PrintRemoteAttr() 280 value << "sampleRate[" << attr.sampleRate << "] channel[" << attr.channel << "] "; in PrintRemoteAttr() 281 value << "volume[" << attr.volume << "] filePath[" << attr.filePath << "] "; in PrintRemoteAttr() 282 value << "deviceNetworkId[" << attr.deviceNetworkId << "] device_type[" << attr.deviceType << "]"; in PrintRemoteAttr() 283 return value.str(); in PrintRemoteAttr() 817 const std::string &value) in SetAudioParameter() 816 SetAudioParameter(const AudioParamKey key, const std::string &condition, const std::string &value) SetAudioParameter() argument 871 OnAudioParamChange(const std::string &adapterName, const AudioParamKey key, const std::string &condition, const std::string &value) OnAudioParamChange() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | egl_state.cpp | 120 return "An unrecognized attribute or attribute value was passed in the attribute list."; in EglErrorStr() 189 const char* const value = eglQueryString(dpy, strings[attr].attribute); in DumpEGLStrings() local 190 if (value) { in DumpEGLStrings() 191 PLUGIN_LOG_D("\t%-32s: %s", strings[attr].Name, value); in DumpEGLStrings() 215 bool stringToUInt(string_view string, EGLint& value) in stringToUInt() argument 217 value = 0; in stringToUInt() 219 value *= 10; in stringToUInt() 221 value += digit - '0'; in stringToUInt() 239 // Returns the horizontal dot pitch of the display on which a window surface is visible.The value returned is in DumpEGLSurface() 240 // equal to the actual dot pitch, in pixels meter, multiplied by the constant value EGL_DISPLAY_SCALIN in DumpEGLSurface() 276 EGLint value; DumpEGLSurface() local 338 EGLint value; DumpEGLConfig() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | profession_session.cpp | 232 MEDIA_DEBUG_LOG("ProfessionSession::SetISO iso value: %{public}d", iso); in SetISO() 529 uint8_t value = OHOS_CAMERA_FOCUS_ASSIST_FLASH_MODE_DEFAULT; in SetFocusAssistFlashMode() local 534 value = itr->second; in SetFocusAssistFlashMode() 540 MEDIA_DEBUG_LOG("ProfessionSession::SetFocusAssistFlashMode FocusAssistFlash mode: %{public}d", value); in SetFocusAssistFlashMode() 544 status = changedMetadata_->addEntry(OHOS_CONTROL_FOCUS_ASSIST_FLASH_SUPPORTED_MODE, &value, count); in SetFocusAssistFlashMode() 546 status = changedMetadata_->updateEntry(OHOS_CONTROL_FOCUS_ASSIST_FLASH_SUPPORTED_MODE, &value, count); in SetFocusAssistFlashMode() 805 uint32_t value = static_cast<uint32_t>(numerator / (denominator / timeUnit)); in ProcessSensorExposureTimeChange() local 806 MEDIA_DEBUG_LOG("SensorExposureTime: %{public}d", value); in ProcessSensorExposureTimeChange() 808 .exposureDurationValue = value, in ProcessSensorExposureTimeChange() 811 if (exposureInfoCallback_ != nullptr && (value ! in ProcessSensorExposureTimeChange() 864 float value = item.data.ui32[0] / normalizedMeanValue; ProcessLuminationChange() local [all...] |
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_ffrt_io.cpp | 81 uint64_t value = 0; in HWTEST_F() 82 ssize_t n = read(testFd, &value, sizeof(uint64_t)); in HWTEST_F() 83 EXPECT_EQ(n, sizeof(value)); in HWTEST_F() 84 EXPECT_EQ(value, expected); in HWTEST_F() 108 uint64_t value = 0; in HWTEST_F() 109 ssize_t n = read(testFd, &value, sizeof(uint64_t)); in HWTEST_F() 110 EXPECT_EQ(n, sizeof(value)); in HWTEST_F() 111 EXPECT_EQ(value, expected); in HWTEST_F() 137 uint64_t value = 0; in HWTEST_F() 138 ssize_t n = read(fd, &value, sizeo in HWTEST_F() 163 uint64_t value = 0; testCallBack() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | wtvenc.c | 85 int64_t value; member 112 static void add_serial_pair(WtvSyncEntry ** list, int * count, int64_t serial, int64_t value) in add_serial_pair() argument 118 new_list[*count] = (WtvSyncEntry){serial, value}; in add_serial_pair() 480 if (pkt->pts != AV_NOPTS_VALUE && pkt->pts - (wctx->nb_st_pairs ? wctx->st_pairs[wctx->nb_st_pairs - 1].value : 0) >= 5000000) in write_packet() 622 avio_wl64(pb, wctx->sp_pairs[i].value); in write_table_entries_events() 632 avio_wl64(pb, wctx->st_pairs[i].value); in write_table_entries_time() 652 static void write_tag_int32(AVIOContext *pb, const char *key, int value) in write_tag_int32() argument 655 avio_wl32(pb, value); in write_tag_int32() 658 static void write_tag(AVIOContext *pb, const char *key, const char *value) in write_tag() argument 660 write_metadata_header(pb, 1, key, strlen(value)* in write_tag() [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationDataBuilder.java | 81 // that are filled with the default value. in initForTailoring() 262 enumRangeForCopy(range.startCodePoint, range.endCodePoint, range.value, helper); in copyFrom() 601 ce32 = entry.value; in copyFromBaseCE32() 670 ce32 = copyFromBaseCE32(c, entry.value, true); in copyContractionsFromBaseCE32() 799 enumRangeForCopy(int start, int end, int value, CopyHelper helper) { in enumRangeForCopy() argument 800 if(value != Collation.UNASSIGNED_CE32 && value != Collation.FALLBACK_CE32) { in enumRangeForCopy() 801 helper.copyRangeCE32(start, end, value); in enumRangeForCopy() 893 // utrie2_enumForLeadSurrogate(trie, lead, null, , &value); in setLeadSurrogates() 898 int value in setLeadSurrogates() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationDataBuilder.java | 82 // that are filled with the default value. in initForTailoring() 263 enumRangeForCopy(range.startCodePoint, range.endCodePoint, range.value, helper); in copyFrom() 590 ce32 = entry.value; in copyFromBaseCE32() 659 ce32 = copyFromBaseCE32(c, entry.value, true); in copyContractionsFromBaseCE32() 788 enumRangeForCopy(int start, int end, int value, CopyHelper helper) { in enumRangeForCopy() argument 789 if(value != Collation.UNASSIGNED_CE32 && value != Collation.FALLBACK_CE32) { in enumRangeForCopy() 790 helper.copyRangeCE32(start, end, value); in enumRangeForCopy() 882 // utrie2_enumForLeadSurrogate(trie, lead, null, , &value); in setLeadSurrogates() 887 int value in setLeadSurrogates() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_uvd_enc_1_1.c | 38 #define RADEON_ENC_CS(value) (enc->cs.current.buf[enc->cs.current.cdw++] = (value)) 103 static void radeon_uvd_enc_code_fixed_bits(struct radeon_uvd_encoder *enc, unsigned int value, in radeon_uvd_enc_code_fixed_bits() argument 109 unsigned int value_to_pack = value & (0xffffffff >> (32 - num_bits)); in radeon_uvd_enc_code_fixed_bits() 167 static void radeon_uvd_enc_code_ue(struct radeon_uvd_encoder *enc, unsigned int value) in radeon_uvd_enc_code_ue() argument 170 unsigned int ue_code = value + 1; in radeon_uvd_enc_code_ue() 171 value += 1; in radeon_uvd_enc_code_ue() 173 while (value) { in radeon_uvd_enc_code_ue() 174 value = (value >> in radeon_uvd_enc_code_ue() 182 radeon_uvd_enc_code_se(struct radeon_uvd_encoder *enc, int value) radeon_uvd_enc_code_se() argument [all...] |
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_ioctl.c | 566 * the drm_execbuf_version. Otherwise, an invalid value will be returned. in vmw_ioctl_command() 762 * @readonly: Should hold the same value as the matching syncforcpu call. 763 * @allow_cs: Should hold the same value as the matching syncforcpu call. 1019 if (ret || gp_arg.value == 0) { in vmw_ioctl_init() 1033 vws->ioctl.hwversion = gp_arg.value; in vmw_ioctl_init() 1047 !!(gp_arg.value & (uint64_t) SVGA_CAP_GBOBJECTS); in vmw_ioctl_init() 1060 if (ret || gp_arg.value == 0) { in vmw_ioctl_init() 1063 vws->base.device_id = gp_arg.value; in vmw_ioctl_init() 1072 /* Just guess a large enough value. */ in vmw_ioctl_init() 1075 vws->ioctl.max_mob_memory = gp_arg.value; in vmw_ioctl_init() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-objects.h | 24 #include "src/wasm/value-type.h" 300 inline void SetI32(int32_t value); 301 inline void SetI64(int64_t value); 302 inline void SetF32(float value); 303 inline void SetF64(double value); 304 inline void SetExternRef(Handle<Object> value); 305 inline bool SetFuncRef(Isolate* isolate, Handle<Object> value); 522 // Get the value of a global in the given instance. 576 Handle<FixedArray> encoded_values, uint32_t* encoded_index, uint32_t value); 579 Handle<FixedArray> encoded_values, uint32_t* encoded_index, uint64_t value); [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_transport.h | 734 static inline size_t vn_sizeof_vkWriteRingExtraMESA(uint64_t ring, size_t offset, uint32_t value) in vn_sizeof_vkWriteRingExtraMESA() argument 742 cmd_size += vn_sizeof_uint32_t(&value); in vn_sizeof_vkWriteRingExtraMESA() 747 static inline void vn_encode_vkWriteRingExtraMESA(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, uint64_t ring, size_t offset, uint32_t value) in vn_encode_vkWriteRingExtraMESA() argument 756 vn_encode_uint32_t(enc, &value); in vn_encode_vkWriteRingExtraMESA() 759 static inline size_t vn_sizeof_vkWriteRingExtraMESA_reply(uint64_t ring, size_t offset, uint32_t value) in vn_sizeof_vkWriteRingExtraMESA_reply() argument 766 /* skip value */ in vn_sizeof_vkWriteRingExtraMESA_reply() 771 static inline void vn_decode_vkWriteRingExtraMESA_reply(struct vn_cs_decoder *dec, uint64_t ring, size_t offset, uint32_t value) in vn_decode_vkWriteRingExtraMESA_reply() argument 779 /* skip value */ in vn_decode_vkWriteRingExtraMESA_reply() 1035 static inline void vn_submit_vkWriteRingExtraMESA(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, uint64_t ring, size_t offset, uint32_t value, struct vn_instance_submit_command *submit) in vn_submit_vkWriteRingExtraMESA() argument 1039 size_t cmd_size = vn_sizeof_vkWriteRingExtraMESA(ring, offset, value); in vn_submit_vkWriteRingExtraMESA() 1212 vn_call_vkWriteRingExtraMESA(struct vn_instance *vn_instance, uint64_t ring, size_t offset, uint32_t value) vn_call_vkWriteRingExtraMESA() argument 1225 vn_async_vkWriteRingExtraMESA(struct vn_instance *vn_instance, uint64_t ring, size_t offset, uint32_t value) vn_async_vkWriteRingExtraMESA() argument [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_ll.c | 953 char *value = NULL; in lo_getxattr() local 971 value = malloc(size); in lo_getxattr() 972 if (!value) in lo_getxattr() 975 ret = getxattr(procname, name, value, size); in lo_getxattr() 982 fuse_reply_buf(req, value, ret); in lo_getxattr() 991 free(value); in lo_getxattr() 1003 char *value = NULL; in lo_listxattr() local 1021 value = malloc(size); in lo_listxattr() 1022 if (!value) in lo_listxattr() 1025 ret = listxattr(procname, value, siz in lo_listxattr() 1051 lo_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) lo_setxattr() argument [all...] |
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_sockopt.c | 103 struct sctp_assoc_value value; in main() local 197 ppid = rand(); /* Choose an arbitrary value. */ in main() 394 ppid = rand(); /* Choose an arbitrary value. */ in main() 509 value.assoc_id = 0; in main() 510 optlen = sizeof(value); in main() 511 test_getsockopt(udp_svr_sk, SCTP_DELAYED_ACK_TIME, &value, in main() 513 if (value.assoc_value != 100) in main() 517 value.assoc_id = 0; in main() 518 value.assoc_value = 250; in main() 519 test_setsockopt(udp_svr_sk, SCTP_DELAYED_ACK_TIME, &value, in main() [all...] |
/third_party/node/deps/v8/src/flags/ |
H A D | flag-definitions.h | 31 // compiler make better optimizations by giving it the value. 38 // We want to supply the actual storage and value for the flag variable in the 67 #define DEFINE_VALUE_IMPLICATION(whenflag, thenflag, value) \ 69 value, false); 73 #define DEFINE_WEAK_VALUE_IMPLICATION(whenflag, thenflag, value) \ 75 value, true); 80 #define DEFINE_NEG_VALUE_IMPLICATION(whenflag, thenflag, value) \ 82 value, false); 107 #define DEFINE_VALUE_IMPLICATION(whenflag, thenflag, value) 111 #define DEFINE_WEAK_VALUE_IMPLICATION(whenflag, thenflag, value) 134 bool value; global() member [all...] |