/third_party/ntfs-3g/libntfs-3g/ |
H A D | xattrs.c | 203 ntfs_volume *vol) in ntfs_xattr_system_type() 216 if (!p->name && vol && vol->xattr_mapping) { in ntfs_xattr_system_type() 217 q = vol->xattr_mapping; in ntfs_xattr_system_type() 225 && vol in ntfs_xattr_system_type() 226 && vol->efs_raw in ntfs_xattr_system_type() 406 struct XATTRMAPPING *ntfs_xattr_build_mapping(ntfs_volume *vol, in ntfs_xattr_build_mapping() argument 428 ni = ntfs_pathname_to_inode(vol, NULL, xattrmap_path); in ntfs_xattr_build_mapping() 438 if (vol->efs_raw) { in ntfs_xattr_build_mapping() 553 if (ni->vol in ntfs_xattr_system_getxattr() 202 ntfs_xattr_system_type(const char *name, ntfs_volume *vol) ntfs_xattr_system_type() argument [all...] |
H A D | unistr.c | 1531 BOOL ntfs_forbidden_names(ntfs_volume *vol, const ntfschar *name, int len, argument 1564 vol->upcase, vol->upcase_len) 1566 vol->upcase, vol->upcase_len))) 1572 vol->upcase, vol->upcase_len)) 1578 vol->upcase, vol->upcase_len)) 1587 vol 1616 ntfs_collapsible_chars(ntfs_volume *vol, const ntfschar *shortname, int shortlen, const ntfschar *longname, int longlen) global() argument [all...] |
H A D | object_id.c | 187 static ntfs_index_context *open_object_id_index(ntfs_volume *vol) in open_object_id_index() argument 195 dir_ni = ntfs_inode_open(vol, FILE_Extend); in open_object_id_index() 200 ni = ntfs_inode_open(vol, inum); in open_object_id_index() 233 xo = open_object_id_index(ni->vol); in merge_index_data() 399 if (ni->vol->major_ver >= 3) { in add_object_id() 439 xo = open_object_id_index(ni->vol); in ntfs_delete_object_id_index() 528 xo = open_object_id_index(ni->vol); in ntfs_set_ntfs_object_id() 589 xo = open_object_id_index(ni->vol); in ntfs_remove_ntfs_object_id()
|
H A D | logfile.c | 496 ntfs_volume *vol = log_na->ni->vol; in ntfs_check_logfile() local 506 if (NVolLogFileEmpty(vol)) in ntfs_check_logfile() 614 NVolSetLogFileEmpty(vol); in ntfs_check_logfile() 685 if (NVolLogFileEmpty(log_na->ni->vol)) { in ntfs_is_logfile_clean() 735 if (NVolLogFileEmpty(na->ni->vol)) in ntfs_empty_logfile() 762 NVolSetLogFileEmpty(na->ni->vol); in ntfs_empty_logfile()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | inode.h | 109 ntfs_volume *vol; /* Pointer to the ntfs volume of this inode. */ member 180 extern ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol); 182 extern ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref); 192 extern void ntfs_inode_invalidate(ntfs_volume *vol, const MFT_REF mref);
|
H A D | xattrs.h | 74 struct XATTRMAPPING *ntfs_xattr_build_mapping(ntfs_volume *vol, 81 ntfs_volume *vol);
|
H A D | cache.h | 114 void ntfs_create_lru_caches(ntfs_volume *vol); 115 void ntfs_free_lru_caches(ntfs_volume *vol);
|
H A D | unistr.h | 72 extern BOOL ntfs_forbidden_names(ntfs_volume *vol, 74 extern BOOL ntfs_collapsible_chars(ntfs_volume *vol,
|
H A D | attrib.h | 109 extern ATTR_DEF *ntfs_attr_find_in_attrdef(const ntfs_volume *vol, 319 extern int ntfs_attr_size_bounds_check(const ntfs_volume *vol, 321 extern int ntfs_attr_can_be_resident(const ntfs_volume *vol, 371 * @vol: volume on which the attribute is present 383 extern s64 ntfs_get_attribute_value(const ntfs_volume *vol,
|
H A D | dir.h | 68 extern ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent, 78 extern int ntfs_delete(ntfs_volume *vol, const char *path,
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_adapter_interface_impl.cpp | 834 uint32_t vol; in GetAudioVolume() local 837 vol = audioRender->GetVolumeInner(); in GetAudioVolume() 840 vol = audioRender->GetMaxVolumeInner(); in GetAudioVolume() 843 vol = audioRender->GetMinVolumeInner(); in GetAudioVolume() 846 vol = streamMuteStatus_; in GetAudioVolume() 849 vol = 0; in GetAudioVolume() 852 DHLOGI("Get volume : %{public}" PRIu32" type : %{public}d", vol, type); in GetAudioVolume() 853 param = std::to_string(vol); in GetAudioVolume() 935 int32_t vol = AUDIO_DEFAULT_MIN_VOLUME_LEVEL; in HandleVolumeChangeEvent() local 936 int32_t ret = GetVolFromEvent(event.content, VOLUME_LEVEL, vol); in HandleVolumeChangeEvent() 990 GetVolFromEvent(const std::string &content, const std::string &key, int32_t &vol) GetVolFromEvent() argument [all...] |
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | alsa_lib_render.c | 24 long vol; in AudioCtlRenderSetVolume() local 31 vol = (long)handleData->renderMode.ctlParam.volume; in AudioCtlRenderSetVolume() 32 ret = renderIns->SetVolume(renderIns, vol); in AudioCtlRenderSetVolume() 45 long vol; in AudioCtlRenderGetVolume() local 52 ret = renderIns->GetVolume(renderIns, &vol); in AudioCtlRenderGetVolume() 57 handleData->renderMode.ctlParam.volume = (float)vol; in AudioCtlRenderGetVolume()
|
H A D | alsa_lib_capture.c | 43 long vol; in AudioCtlCaptureGetVolume() local 50 ret = captureIns->GetVolume(captureIns, &vol); in AudioCtlCaptureGetVolume() 55 handleData->captureMode.ctlParam.volume = (float)vol; in AudioCtlCaptureGetVolume() 64 long vol; in AudioCtlCaptureSetVolume() local 71 vol = (long)handleData->captureMode.ctlParam.volume; in AudioCtlCaptureSetVolume() 72 ret = captureIns->SetVolume(captureIns, vol); in AudioCtlCaptureSetVolume()
|
H A D | vendor_render.c | 143 long vol = 0;
in RenderSetMuteImpl() local 149 ret = renderIns->GetVolume(renderIns, &vol);
in RenderSetMuteImpl() 156 priData->tempVolume = vol;
in RenderSetMuteImpl()
|
H A D | vendor_capture.c | 136 long vol = 0;
in CaptureSetMuteImpl() local 141 ret = captureIns->GetVolume(captureIns, &vol);
in CaptureSetMuteImpl() 148 priData->tempVolume = vol;
in CaptureSetMuteImpl()
|
/third_party/alsa-lib/test/ |
H A D | playmidi1.c | 265 static void do_noteon(int chan, int pitch, int vol) in do_noteon() argument 270 printf("%lu: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteon() 272 snd_seq_ev_set_noteon(&ev, chan, pitch, vol); in do_noteon() 277 static void do_noteoff(int chan, int pitch, int vol) in do_noteoff() argument 282 printf("%lu: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteoff() 284 snd_seq_ev_set_noteoff(&ev, chan, pitch, vol); in do_noteoff()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfstruncate.c | 83 ntfs_volume *vol; variable 697 err = ntfs_umount(vol, 0); in ntfstruncate_exit() 746 vol = ntfs_mount(dev_name, ul); in main() 747 if (!vol) in main() 760 ni = ntfs_inode_open(vol, inode); in main() 800 err = ntfs_umount(vol, 0); in main()
|
H A D | ntfscmp.c | 318 static inline s64 get_nr_mft_records(ntfs_volume *vol) in get_nr_mft_records() argument 320 return vol->mft_na->initialized_size >> vol->mft_record_size_bits; in get_nr_mft_records() 353 static int inode_open(ntfs_volume *vol, MFT_REF mref, ntfs_inode **ni) in inode_open() argument 355 *ni = ntfs_inode_open(vol, mref); in inode_open() 958 ntfs_volume *vol = NULL; in mount_volume() local 972 vol = ntfs_mount(volume, NTFS_MNT_RDONLY); in mount_volume() 973 if (vol == NULL) { in mount_volume() 987 return vol; in mount_volume()
|
/third_party/ffmpeg/libavdevice/ |
H A D | pulse_audio_enc.c | 103 pa_volume_t vol = pa_cvolume_avg(&i->volume); in pulse_audio_sink_input_cb() local 109 vol = pa_sw_volume_divide(vol, s->base_volume); in pulse_audio_sink_input_cb() 110 if (s->last_volume != vol) { in pulse_audio_sink_input_cb() 111 val = (double)vol / PA_VOLUME_NORM; in pulse_audio_sink_input_cb() 113 s->last_volume = vol; in pulse_audio_sink_input_cb() 337 pa_volume_t vol; in pulse_set_volume() local 340 vol = pa_sw_volume_multiply(lrint(volume * PA_VOLUME_NORM), s->base_volume); in pulse_set_volume() 342 pa_sw_cvolume_multiply_scalar(&cvol, &cvol, vol); in pulse_set_volume()
|
/third_party/FatFs/source/ |
H A D | ff.c | 1825 int vol /* Filtered by 0:file/directory or 1:volume label */ in dir_read() 1846 if (b == DDEM || b == '.' || (int)((attr & ~AM_ARC) == AM_VOL) != vol) { /* An entry without valid data */ in dir_read() 1865 if (b != DDEM && b != '.' && attr != AM_LFN && (int)((attr & ~AM_ARC) == AM_VOL) == vol) { /* Is it a valid entry? */ in dir_read() 1882 int vol /* Filtered by 0:file/directory or 1:volume label */ in dir_read_massive() 1903 if (b == DDEM || b == '.' || (int)((attr & ~AM_ARC) == AM_VOL) != vol) { /* An entry without valid data */ in dir_read_massive() 1922 if (b != DDEM && b != '.' && attr != AM_LFN && (int)((attr & ~AM_ARC) == AM_VOL) == vol) { /* Is it a valid entry? */ in dir_read_massive() 2625 int vol = -1; in get_ldnumber() local 2632 if (!tp) return vol; /* Invalid path name? */ in get_ldnumber() 2656 vol = i; /* Drive number */ in get_ldnumber() 2659 return vol; in get_ldnumber() 2809 int vol; mount_volume() local 3065 int vol; f_mount() local 3898 int vol; f_chdrive() local 5632 int vol; global() local 6888 int vol; global() local [all...] |
/third_party/exfatprogs/include/ |
H A D | exfat_ondisk.h | 146 } __attribute__((packed)) vol; /* file directory entry */ member 197 #define vol_char_cnt dentry.vol.character_count 198 #define vol_label dentry.vol.volume_label
|
/test/xts/dcts/distributedhardware/distributedaudionewtest/ |
H A D | distributedaudiotest.cpp | 638 std::string SetVolume(int vol) in SetVolume() argument 645 if (vol < VOLUME_MIN || vol > VOLUME_MAX) { in SetVolume() 649 std::cout << "Set volume: " << vol << std::endl; in SetVolume() 652 std::string volStr = std::to_string(vol); in SetVolume() 669 std::string vol; in GetVolume() local 670 int32_t ret = g_adapter->GetExtraParams(key, condition.c_str(), vol); in GetVolume() 675 std::cout << "Get volume success. volume: " << vol <<std::endl; in GetVolume()
|
/test/xts/dcts/distributedhardware/distributedaudiotest/ |
H A D | distributedaudiotest.cpp | 634 std::string SetVolume(int vol) in SetVolume() argument 641 if (vol < VOLUME_MIN || vol > VOLUME_MAX) { in SetVolume() 645 std::cout << "Set volume: " << vol << std::endl; in SetVolume() 648 std::string volStr = std::to_string(vol); in SetVolume() 665 std::string vol; in GetVolume() local 666 int32_t ret = g_adapter->GetExtraParams(key, condition.c_str(), vol); in GetVolume() 671 std::cout << "Get volume success. volume: " << vol <<std::endl; in GetVolume()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-waveout.c | 414 DWORD vol; in sink_get_volume_cb() local 422 if (waveOutGetVolume(u->hwo, &vol) != MMSYSERR_NOERROR) in sink_get_volume_cb() 425 left = PA_CLAMP_VOLUME((vol & 0xFFFF) * PA_VOLUME_NORM / WAVEOUT_MAX_VOLUME); in sink_get_volume_cb() 427 right = PA_CLAMP_VOLUME(((vol >> 16) & 0xFFFF) * PA_VOLUME_NORM / WAVEOUT_MAX_VOLUME); in sink_get_volume_cb() 443 DWORD vol; in sink_set_volume_cb() local 451 vol = (s->real_volume.values[0] * WAVEOUT_MAX_VOLUME / PA_VOLUME_NORM) in sink_set_volume_cb() 454 vol = (pa_cvolume_avg(&(s->real_volume)) * WAVEOUT_MAX_VOLUME / PA_VOLUME_NORM) in sink_set_volume_cb() 458 if (waveOutSetVolume(u->hwo, vol) != MMSYSERR_NOERROR) in sink_set_volume_cb()
|
/third_party/alsa-lib/src/mixer/ |
H A D | simple_none.c | 86 long vol[32]; member 246 s->str[dir].vol[idx] = in elem_read_volume() 312 s->str[0].vol[idx] = in elem_read_enum() 329 memcpy(pvol, s->str[SM_PLAY].vol, sizeof(pvol)); in selem_read() 330 memset(&s->str[SM_PLAY].vol, 0, sizeof(s->str[SM_PLAY].vol)); in selem_read() 333 memcpy(cvol, s->str[SM_CAPT].vol, sizeof(cvol)); in selem_read() 334 memset(&s->str[SM_CAPT].vol, 0, sizeof(s->str[SM_CAPT].vol)); in selem_read() 459 if (memcmp(pvol, s->str[SM_PLAY].vol, sizeo in selem_read() [all...] |