Home
last modified time | relevance | path

Searched refs:sfi (Results 1 – 25 of 38) sorted by relevance

12

/third_party/pulseaudio/src/pulsecore/
Dsndfile-util.c34 SF_INFO sfi; in pa_sndfile_read_sample_spec() local
40 pa_zero(sfi); in pa_sndfile_read_sample_spec()
41 if ((sf_errno = sf_command(sf, SFC_GET_CURRENT_SF_INFO, &sfi, sizeof(sfi)))) { in pa_sndfile_read_sample_spec()
46 switch (sfi.format & SF_FORMAT_SUBMASK) { in pa_sndfile_read_sample_spec()
77 ss->rate = (uint32_t) sfi.samplerate; in pa_sndfile_read_sample_spec()
78 ss->channels = (uint8_t) sfi.channels; in pa_sndfile_read_sample_spec()
86 int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss) { in pa_sndfile_write_sample_spec() argument
87 pa_assert(sfi); in pa_sndfile_write_sample_spec()
90 sfi->samplerate = (int) ss->rate; in pa_sndfile_write_sample_spec()
91 sfi->channels = (int) ss->channels; in pa_sndfile_write_sample_spec()
[all …]
Dsound-file.c49 SF_INFO sfi; in pa_sound_file_load() local
75 pa_zero(sfi); in pa_sound_file_load()
76 if (!(sf = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_sound_file_load()
97 if ((l = pa_frame_size(ss) * (size_t) sfi.frames) > PA_SCACHE_ENTRY_SIZE_MAX) { in pa_sound_file_load()
110 if ((readf_function && readf_function(sf, ptr, sfi.frames) != sfi.frames) || in pa_sound_file_load()
138 SF_INFO sfi; in pa_sound_file_too_big_to_cache() local
143 pa_zero(sfi); in pa_sound_file_too_big_to_cache()
144 if (!(sf = sf_open(fname, SFM_READ, &sfi))) { in pa_sound_file_too_big_to_cache()
157 if ((pa_frame_size(&ss) * (size_t) sfi.frames) > PA_SCACHE_ENTRY_SIZE_MAX) { in pa_sound_file_too_big_to_cache()
Dsound-file-stream.c238 SF_INFO sfi; in pa_play_file() local
277 pa_zero(sfi); in pa_play_file()
278 if (!(u->sndfile = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_play_file()
Dsndfile-util.h32 int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss);
/third_party/node/deps/v8/src/debug/
Dliveedit.cc810 bool Lookup(SharedFunctionInfo sfi, FunctionData** data) { in Lookup() argument
811 int start_position = sfi.StartPosition(); in Lookup()
812 if (!sfi.script().IsScript() || start_position == -1) { in Lookup()
815 Script script = Script::cast(sfi.script()); in Lookup()
816 return Lookup(GetFuncId(script.id(), sfi), data); in Lookup()
831 SharedFunctionInfo sfi = SharedFunctionInfo::cast(obj); in Fill() local
833 if (!Lookup(sfi, &data)) continue; in Fill()
834 data->shared = handle(sfi, isolate); in Fill()
837 SharedFunctionInfo sfi = js_function.shared(); in Fill() local
839 if (!Lookup(sfi, &data)) continue; in Fill()
[all …]
/third_party/ffmpeg/libavcodec/
Dcbs_vp9.c425 VP9RawSuperframeIndex sfi; in cbs_vp9_split_fragment() local
441 err = cbs_vp9_read_superframe_index(ctx, &gbc, &sfi); in cbs_vp9_split_fragment()
446 for (i = 0; i <= sfi.frames_in_superframe_minus_1; i++) { in cbs_vp9_split_fragment()
447 if (pos + sfi.frame_sizes[i] + index_size > frag->data_size) { in cbs_vp9_split_fragment()
450 i, sfi.frame_sizes[i]); in cbs_vp9_split_fragment()
456 sfi.frame_sizes[i], in cbs_vp9_split_fragment()
461 pos += sfi.frame_sizes[i]; in cbs_vp9_split_fragment()
567 VP9RawSuperframeIndex sfi; in cbs_vp9_assemble_fragment() local
591 sfi.superframe_marker = VP9_SUPERFRAME_MARKER; in cbs_vp9_assemble_fragment()
592 sfi.bytes_per_framesize_minus_1 = size_len - 1; in cbs_vp9_assemble_fragment()
[all …]
/third_party/node/deps/v8/src/diagnostics/
Dsystem-jit-win.cc46 auto sfi = GetSharedFunctionInfo(event); in GetScriptLineNumber() local
47 return sfi.is_null() in GetScriptLineNumber()
49 : Script::cast(sfi.script()).GetLineNumber(sfi.StartPosition()) + in GetScriptLineNumber()
/third_party/node/deps/v8/src/objects/
Dshared-function-info.tq91 sfi: SharedFunctionInfo): uint16 {
92 let formalParameterCount = sfi.formal_parameter_count;
102 sfi: SharedFunctionInfo): uint16 {
103 return sfi.formal_parameter_count;
107 macro IsSharedFunctionInfoDontAdaptArguments(sfi: SharedFunctionInfo): bool {
108 const formalParameterCount = sfi.formal_parameter_count;
Dcode-inl.h75 ByteArray AbstractCode::SourcePositionTable(SharedFunctionInfo sfi) { in SourcePositionTable() argument
77 return GetCode().SourcePositionTable(sfi); in SourcePositionTable()
359 ByteArray Code::SourcePositionTable(SharedFunctionInfo sfi) const { in SourcePositionTable() argument
362 return sfi.GetBytecodeArray(sfi.GetIsolate()).SourcePositionTable(); in SourcePositionTable()
Dcode.h396 inline ByteArray SourcePositionTable(SharedFunctionInfo sfi) const;
606 bool Inlines(SharedFunctionInfo sfi);
824 inline ByteArray SourcePositionTable(SharedFunctionInfo sfi);
Dcode.cc337 bool Code::Inlines(SharedFunctionInfo sfi) { in Inlines() argument
344 if (data.SharedFunctionInfo() == sfi) return true; in Inlines()
348 if (SharedFunctionInfo::cast(literals.get(i)) == sfi) return true; in Inlines()
/third_party/node/deps/v8/src/snapshot/
Dcode-serializer.cc189 SharedFunctionInfo sfi = SharedFunctionInfo::cast(*obj); in SerializeObjectImpl() local
190 DCHECK(!sfi.IsApiFunction()); in SerializeObjectImpl()
194 DCHECK(!sfi.HasAsmWasmData()); in SerializeObjectImpl()
197 if (sfi.HasDebugInfo()) { in SerializeObjectImpl()
199 DebugInfo raw_debug_info = sfi.GetDebugInfo(); in SerializeObjectImpl()
202 sfi.SetActiveBytecodeArray(raw_debug_info.OriginalBytecodeArray()); in SerializeObjectImpl()
204 sfi.set_script_or_debug_info(raw_debug_info.script(), kReleaseStore); in SerializeObjectImpl()
207 DCHECK(!sfi.HasDebugInfo()); in SerializeObjectImpl()
213 SharedFunctionInfo sfi = SharedFunctionInfo::cast(*obj); in SerializeObjectImpl() local
214 sfi.set_script_or_debug_info(*debug_info, kReleaseStore); in SerializeObjectImpl()
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-generator-gen.cc221 auto sfi = LoadJSFunctionSharedFunctionInfo(closure); in TF_BUILTIN() local
223 Word32BinaryNot(IsSharedFunctionInfoDontAdaptArguments(sfi))); in TF_BUILTIN()
225 LoadSharedFunctionInfoFormalParameterCountWithoutReceiver(sfi))); in TF_BUILTIN()
275 auto sfi = LoadJSFunctionSharedFunctionInfo(closure); in TF_BUILTIN() local
277 Word32BinaryNot(IsSharedFunctionInfoDontAdaptArguments(sfi))); in TF_BUILTIN()
279 LoadSharedFunctionInfoFormalParameterCountWithoutReceiver(sfi))); in TF_BUILTIN()
/third_party/node/deps/v8/src/runtime/
Druntime-compiler.cc58 Handle<SharedFunctionInfo> sfi(function->shared(), isolate); in RUNTIME_FUNCTION() local
61 if (FLAG_trace_lazy && !sfi->is_compiled()) { in RUNTIME_FUNCTION()
83 Handle<SharedFunctionInfo> sfi(function->shared(), isolate); in RUNTIME_FUNCTION() local
84 DCHECK(sfi->HasBaselineCode()); in RUNTIME_FUNCTION()
85 IsCompiledScope is_compiled_scope(*sfi, isolate); in RUNTIME_FUNCTION()
90 CodeT baseline_code = sfi->baseline_code(kAcquireLoad); in RUNTIME_FUNCTION()
Druntime-scopes.cc155 Handle<SharedFunctionInfo> sfi( in RUNTIME_FUNCTION()
161 value = *Factory::JSFunctionBuilder(isolate, sfi, context) in RUNTIME_FUNCTION()
204 Handle<SharedFunctionInfo> sfi = Handle<SharedFunctionInfo>::cast(decl); in RUNTIME_FUNCTION()
205 name = handle(sfi->Name(), isolate); in RUNTIME_FUNCTION()
209 value = Factory::JSFunctionBuilder(isolate, sfi, context) in RUNTIME_FUNCTION()
Druntime-test.cc700 Handle<SharedFunctionInfo> sfi(function->shared(), isolate); in RUNTIME_FUNCTION() local
701 if (sfi->abstract_code(isolate).kind() != CodeKind::INTERPRETED_FUNCTION && in RUNTIME_FUNCTION()
702 sfi->abstract_code(isolate).kind() != CodeKind::BUILTIN) { in RUNTIME_FUNCTION()
709 isolate->lazy_compile_dispatcher()->IsEnqueued(sfi)) { in RUNTIME_FUNCTION()
710 isolate->lazy_compile_dispatcher()->FinishNow(sfi); in RUNTIME_FUNCTION()
713 sfi->DisableOptimization(BailoutReason::kNeverOptimize); in RUNTIME_FUNCTION()
/third_party/pulseaudio/src/utils/
Dpacat.c1038 SF_INFO sfi; in main() local
1039 pa_zero(sfi); in main()
1043 if (pa_sndfile_write_sample_spec(&sfi, &sample_spec) < 0) { in main()
1064 sfi.format |= file_format; in main()
1073 sfi.format = (sfi.format & ~SF_FORMAT_ENDMASK) | SF_ENDIAN_FILE; in main()
1075 sfi.format = (sfi.format & ~SF_FORMAT_SUBMASK) | SF_FORMAT_VORBIS; in main()
1081 &sfi, 0))) { in main()
/third_party/node/deps/v8/src/baseline/
Dbaseline-batch-compiler.cc38 SharedFunctionInfo sfi) in BaselineCompilerTask() argument
39 : shared_function_info_(handles->NewHandle(sfi)), in BaselineCompilerTask()
40 bytecode_(handles->NewHandle(sfi.GetBytecodeArray(isolate))) { in BaselineCompilerTask()
41 DCHECK(sfi.is_compiled()); in BaselineCompilerTask()
/third_party/node/deps/v8/src/logging/
Dlog.cc1519 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent() argument
1522 SourcePosition position(sfi->StartPosition(), -1); in CodeDependencyChangeEvent()
1625 SharedFunctionInfo sfi) { in CompilationCacheEvent() argument
1629 if (sfi.script().IsScript()) { in CompilationCacheEvent()
1630 script_id = Script::cast(sfi.script()).id(); in CompilationCacheEvent()
1634 << sfi.StartPosition() << Logger::kNext << sfi.EndPosition() in CompilationCacheEvent()
1798 SharedFunctionInfo sfi = SharedFunctionInfo::cast(*name_or_sfi); in MapEvent() local
1799 msg << sfi.DebugNameCStr().get(); in MapEvent()
1801 msg << " " << sfi.unique_id(); in MapEvent()
1842 SharedFunctionInfo sfi = SharedFunctionInfo::cast(obj); in EnumerateCompiledFunctions() local
[all …]
Dcode-events.h38 V(SHARED_FUNC_MOVE_EVENT, sfi-move) \
242 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent() argument
245 listener->CodeDependencyChangeEvent(code, sfi, reason); in CodeDependencyChangeEvent()
Dlog.h162 SharedFunctionInfo sfi);
201 Handle<SharedFunctionInfo> sfi,
437 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent() argument
508 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent() argument
/third_party/node/deps/v8/src/profiler/
Dprofiler-listener.h68 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent() argument
/third_party/node/deps/v8/src/execution/
Dexecution.cc200 SharedFunctionInfo sfi = function->shared(); in NewScriptContext() local
201 Handle<Script> script(Script::cast(sfi.script()), isolate); in NewScriptContext()
202 Handle<ScopeInfo> scope_info(sfi.scope_info(), isolate); in NewScriptContext()
/third_party/node/deps/v8/src/deoptimizer/
Ddeoptimizer.h130 static void TraceEvictFromOptimizedCodeCache(SharedFunctionInfo sfi,
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c1621 int i, sfi, row, retval = 0; in tjDecompressToYUVPlanes() local
1692 sfi = i; in tjDecompressToYUVPlanes()
1695 dctsize = DCTSIZE * sf[sfi].num / sf[sfi].denom; in tjDecompressToYUVPlanes()
1761 sf[sfi].num / sf[sfi].denom * in tjDecompressToYUVPlanes()

12