Home
last modified time | relevance | path

Searched refs:spf (Results 1 - 8 of 8) sorted by relevance

/third_party/selinux/libsepol/src/
H A Dpolicydb_public.c17 void sepol_policy_file_set_mem(sepol_policy_file_t * spf, in sepol_policy_file_set_mem() argument
20 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_mem()
32 void sepol_policy_file_set_fp(sepol_policy_file_t * spf, FILE * fp) in sepol_policy_file_set_fp() argument
34 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_fp()
40 int sepol_policy_file_get_len(sepol_policy_file_t * spf, size_t * len) in sepol_policy_file_get_len() argument
42 struct policy_file *pf = &spf->pf; in sepol_policy_file_get_len()
H A Dmodule.c468 struct sepol_policy_file *spf, int verbose) in sepol_module_package_read()
470 struct policy_file *file = &spf->pf; in sepol_module_package_read()
652 int sepol_module_package_info(struct sepol_policy_file *spf, int *type, in sepol_module_package_info() argument
655 struct policy_file *file = &spf->pf; in sepol_module_package_info()
866 struct sepol_policy_file *spf) in sepol_module_package_write()
868 struct policy_file *file = &spf->pf; in sepol_module_package_write()
467 sepol_module_package_read(sepol_module_package_t * mod, struct sepol_policy_file *spf, int verbose) sepol_module_package_read() argument
865 sepol_module_package_write(sepol_module_package_t * p, struct sepol_policy_file *spf) sepol_module_package_write() argument
/third_party/ffmpeg/libavformat/
H A Dmp3dec.c157 MPADecodeHeader *c, uint32_t spf) in mp3_parse_info_tag()
204 (AVRational){spf, c->sample_rate}, in mp3_parse_info_tag()
261 sti->first_discard_sample = -mp3->end_pad + 528 + 1 + mp3->frames * (int64_t)spf; in mp3_parse_info_tag()
262 sti->last_discard_sample = mp3->frames * (int64_t)spf; in mp3_parse_info_tag()
320 uint32_t v, spf; in mp3_parse_vbr_tags() local
338 spf = c.lsf ? 576 : 1152; /* Samples per frame, layer 3 */ in mp3_parse_vbr_tags()
343 mp3_parse_info_tag(s, st, &c, spf); in mp3_parse_vbr_tags()
353 st->duration = av_rescale_q(mp3->frames, (AVRational){spf, c.sample_rate}, in mp3_parse_vbr_tags()
356 st->codecpar->bit_rate = av_rescale(mp3->header_filesize, 8 * c.sample_rate, mp3->frames * (int64_t)spf); in mp3_parse_vbr_tags()
156 mp3_parse_info_tag(AVFormatContext *s, AVStream *st, MPADecodeHeader *c, uint32_t spf) mp3_parse_info_tag() argument
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DSimpleFormatterTest.java273 SimpleFormatter spf = SimpleFormatter.compile(pattern); in TestQuotingLikeMessageFormat()
277 assertEquals("SimpleFormatter", expected, spf.format("X", "Y")); in TestQuotingLikeMessageFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DSimpleFormatterTest.java270 SimpleFormatter spf = SimpleFormatter.compile(pattern); in TestQuotingLikeMessageFormat()
274 assertEquals("SimpleFormatter", expected, spf.format("X", "Y")); in TestQuotingLikeMessageFormat()
/third_party/ffmpeg/libavfilter/
H A Davf_showspectrum.c1765 int ch, spf, spb; in showspectrumpic_request_frame() local
1769 spf = s->win_size * (s->samples / ((s->win_size * sz) * ceil(s->samples / (float)(s->win_size * sz)))); in showspectrumpic_request_frame()
1770 spf = FFMAX(1, spf); in showspectrumpic_request_frame()
1772 spb = (s->samples / (spf * sz)) * spf; in showspectrumpic_request_frame()
1774 fin = ff_get_audio_buffer(inlink, spf); in showspectrumpic_request_frame()
1787 if (acc_samples < spf) { in showspectrumpic_request_frame()
1788 nb_samples = FFMIN(spf - acc_samples, cur_frame_samples - src_offset); in showspectrumpic_request_frame()
1803 if (acc_samples == spf) in showspectrumpic_request_frame()
[all...]
/third_party/lame/dshow/
H A DEncoder.cpp378 int spf = (version_id == MPEG_VERSION_1) ? 1152 : 576; in getFrameLength() local
382 return (bitrate * spf) / (8 * sample_rate) + padding; in getFrameLength()
/third_party/icu/icu4c/source/test/intltest/
H A Dsimpleformattertest.cpp517 SimpleFormatter spf(pattern, status); in TestQuotingLikeMessageFormat()
525 assertEquals("SimpleFormatter", expected, spf.format(x, y, result.remove(), status)); in TestQuotingLikeMessageFormat()

Completed in 9 milliseconds