/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | arg.cc | 212 FormatSinkImpl *sink) { in ConvertCharImpl() 216 if (!conv.has_left_flag()) sink->Append(fill, ' '); in ConvertCharImpl() 217 sink->Append(1, v); in ConvertCharImpl() 218 if (conv.has_left_flag()) sink->Append(fill, ' '); in ConvertCharImpl() 224 FormatSinkImpl *sink) { in ConvertIntImplInnerSlow() 269 sink->Append(num_left_spaces, ' '); in ConvertIntImplInnerSlow() 270 sink->Append(sign); in ConvertIntImplInnerSlow() 271 sink->Append(base_indicator); in ConvertIntImplInnerSlow() 272 sink->Append(num_zeroes, '0'); in ConvertIntImplInnerSlow() 273 sink in ConvertIntImplInnerSlow() 211 ConvertCharImpl(unsigned char v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) ConvertCharImpl() argument 222 ConvertIntImplInnerSlow(const IntDigits &as_digits, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) ConvertIntImplInnerSlow() argument 279 ConvertIntArg(T v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) ConvertIntArg() argument 334 ConvertFloatArg(T v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) ConvertFloatArg() argument 340 ConvertStringArg(string_view v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) ConvertStringArg() argument 353 FormatConvertImpl(const std::string &v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 359 FormatConvertImpl(string_view v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 367 FormatConvertImpl(const char *v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 384 FormatConvertImpl( VoidPtr v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 396 FormatConvertImpl(float v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 401 FormatConvertImpl(double v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 406 FormatConvertImpl(long double v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 413 FormatConvertImpl(char v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 418 FormatConvertImpl(signed char v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 423 FormatConvertImpl(unsigned char v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 430 FormatConvertImpl(short v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 435 FormatConvertImpl(unsigned short v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 440 FormatConvertImpl(int v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 445 FormatConvertImpl(unsigned v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 450 FormatConvertImpl(long v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 455 FormatConvertImpl(unsigned long v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 460 FormatConvertImpl(long long v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 465 FormatConvertImpl(unsigned long long v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 470 FormatConvertImpl(absl::int128 v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument 475 FormatConvertImpl(absl::uint128 v, const FormatConversionSpecImpl conv, FormatSinkImpl *sink) FormatConvertImpl() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | TranslatorGLSL.cpp | 51 TInfoSinkBase &sink = getInfoSink().obj; in translate() local 61 WritePragma(sink, compileOptions, getPragma()); in translate() 76 sink << "invariant gl_Position;\n"; in translate() 123 sink << "// BEGIN: Generated code for built-in function emulation\n\n"; in translate() 124 sink << "#define emu_precision\n\n"; in translate() 125 getBuiltInFunctionEmulator().outputEmulatedFunctions(sink); in translate() 126 sink << "// END: Generated code for built-in function emulation\n\n"; in translate() 180 sink << "out vec4 webgl_FragColor;\n"; in translate() 184 sink << "out vec4 webgl_FragData[gl_MaxDrawBuffers];\n"; in translate() 188 sink << "ou in translate() 241 TInfoSinkBase &sink = getInfoSink().obj; writeVersion() local 251 TInfoSinkBase &sink = getInfoSink().obj; writeExtensionBehavior() local 383 TInfoSinkBase &sink = getInfoSink().obj; conditionallyOutputInvariantDeclaration() local [all...] |
H A D | TranslatorESSL.cpp | 34 TInfoSinkBase &sink = getInfoSink().obj; in translate() local 39 sink << "#version " << shaderVer << " es\n"; in translate() 47 WritePragma(sink, compileOptions, getPragma()); in translate() 57 sink << "// BEGIN: Generated code for built-in function emulation\n\n"; in translate() 60 sink << "#if defined(GL_FRAGMENT_PRECISION_HIGH)\n" in translate() 68 sink << "#define emu_precision highp\n"; in translate() 71 getBuiltInFunctionEmulator().outputEmulatedFunctions(sink); in translate() 72 sink << "// END: Generated code for built-in function emulation\n\n"; in translate() 77 EmitEarlyFragmentTestsGLSL(*this, sink); in translate() 82 EmitWorkGroupSizeGLSL(*this, sink); in translate() 116 TInfoSinkBase &sink = getInfoSink().obj; writeExtensionBehavior() local [all...] |
H A D | InfoSink.cpp | 21 sink.append("WARNING: "); in prefix() 24 sink.append("ERROR: "); in prefix() 27 sink.append("UNKOWN ERROR: "); in prefix() 34 sink.append(str.data()); in operator <<() 41 sink.append("invariant "); in operator <<() 44 sink.append(type.getQualifierString()); in operator <<() 45 sink.append(" "); in operator <<() 49 sink.append(type.getPrecisionString()); in operator <<() 50 sink.append(" "); in operator <<() 56 sink in operator <<() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-remap-sink.c | 27 #include <pulsecore/sink.h> 35 PA_MODULE_DESCRIPTION("Virtual channel remapping sink"); 39 "sink_name=<name for the sink> " 40 "sink_properties=<properties for the sink> " 41 "master=<name of sink to remap> " 53 pa_sink *sink; member 81 /* The sink is _put() before the sink input is, so let's in sink_process_msg() 83 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_process_msg() 90 /* Get the latency of the master sink */ in sink_process_msg() [all...] |
H A D | module-virtual-sink.c | 30 #include <pulsecore/sink.h> 40 PA_MODULE_DESCRIPTION(_("Virtual sink")); 44 _("sink_name=<name for the sink> " 45 "sink_properties=<properties for the sink> " 46 "master=<name of sink to filter> " 62 pa_sink *sink; member 91 /* The sink is _put() before the sink input is, so let's in sink_process_msg_cb() 93 * sink input is first shut down, the sink secon in sink_process_msg_cb() [all...] |
H A D | module-allow-passthrough.c | 30 #include <pulsecore/sink-input.h> 48 * Map the 'real' muted sink to the null-sink currently being used to play 58 pa_sink *sink; in ensure_null_sink_for_sink() local 62 sink = pa_hashmap_get(u->null_sinks, s); in ensure_null_sink_for_sink() 63 if (sink != NULL) { in ensure_null_sink_for_sink() 64 /* We already have a null-sink for this sink */ in ensure_null_sink_for_sink() 65 return sink; in ensure_null_sink_for_sink() 72 pa_module_load(&m, c, "module-null-sink", in ensure_null_sink_for_sink() 112 sink_has_passthrough_stream(pa_sink *sink, pa_sink_input *ignore) sink_has_passthrough_stream() argument 128 new_passthrough_stream(struct userdata *u, pa_core *c, pa_sink *sink, pa_sink_input *i) new_passthrough_stream() argument 155 new_normal_stream(struct userdata *u, pa_core *c, pa_sink *sink) new_normal_stream() argument 179 pa_sink *sink = pa_namereg_get(core, NULL, PA_NAMEREG_SINK); sink_input_new_cb() local [all...] |
H A D | module-null-sink.c | 36 #include <pulsecore/sink.h> 46 PA_MODULE_DESCRIPTION(_("Clocked NULL sink")); 50 "sink_name=<name of sink> " 51 "sink_properties=<properties for the sink> " 56 "formats=<semi-colon separated sink formats>" 66 pa_sink *sink; member 145 /* If sink was suspended to change sample formats, both in sink_set_state_in_io_thread_cb() 201 rewind_nbytes = u->sink->thread_info.rewind_nbytes; in process_rewind() 203 if (!PA_SINK_IS_OPENED(u->sink->thread_info.state) || rewind_nbytes <= 0) in process_rewind() 212 in_buffer = pa_usec_to_bytes(delay, &u->sink in process_rewind() [all...] |
H A D | module-suspend-on-idle.c | 30 #include <pulsecore/sink-input.h> 36 PA_MODULE_DESCRIPTION("When a sink/source is idle for too long, suspend it"); 54 pa_sink *sink; member 68 if (d->sink && pa_sink_check_suspend(d->sink, NULL, NULL) <= 0 && !(d->sink->suspend_cause & PA_SUSPEND_IDLE)) { in timeout_cb() 69 pa_log_info("Sink %s idle for too long, suspending ...", d->sink->name); in timeout_cb() 70 pa_sink_suspend(d->sink, true, PA_SUSPEND_IDLE); in timeout_cb() 85 pa_assert(d->sink || d->source); in restart() 90 if (d->sink) in restart() 311 pa_sink *sink; device_new_hook_cb() local 423 pa_sink *sink; pa__init() local [all...] |
H A D | module-combine-sink.c | 35 #include <pulsecore/sink.h> 36 #include <pulsecore/sink-input.h> 60 "sink_name=<name for the sink> " 61 "sink_properties=<properties for the sink> " 96 pa_sink *sink; member 101 * carry audio data from the sink thread to the output thread. The POST 104 * sink input pop() callback. Processing other messages (such as 111 /* This message queue is for all other messages than POST from the sink 116 /* Message queue from the output thread to the sink thread. */ 136 /* For communication of the stream parameters to the sink threa 147 pa_sink *sink; global() member 817 sink_set_state_in_main_thread_cb(pa_sink *sink, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) sink_set_state_in_main_thread_cb() argument [all...] |
H A D | module-virtual-surround-sink.c | 37 #include <pulsecore/sink.h> 50 PA_MODULE_DESCRIPTION(_("Virtual surround sink")); 54 _("sink_name=<name for the sink> " 55 "sink_properties=<properties for the sink> " 56 "master=<name of sink to filter> " 57 "sink_master=<name of sink to filter> " 78 pa_sink *sink; member 266 /* The sink is _put() before the sink input is, so let's in sink_process_msg_cb() 268 * sink inpu in sink_process_msg_cb() [all...] |
H A D | module-pipe-sink.c | 42 #include <pulsecore/sink.h> 53 PA_MODULE_DESCRIPTION("UNIX pipe sink"); 57 "sink_name=<name for the sink> " 58 "sink_properties=<properties for the sink> " 73 pa_sink *sink; member 130 *((int64_t*) data) = pa_bytes_to_usec(n, &u->sink->sample_spec); in sink_process_msg() 155 pa_log_debug("Pipe-sink continuously dropping data - clear statistics (%zu -> 0 bytes dropped)", u->bytes_dropped); in sink_set_state_in_io_thread_cb() 240 pa_sink_render(u->sink, u->sink->thread_info.max_request, &chunk); in process_render_use_timing() 249 u->timestamp += pa_bytes_to_usec(chunk.length, &u->sink in process_render_use_timing() [all...] |
H A D | module-always-sink.c | 29 #include <pulsecore/sink.h> 34 PA_MODULE_DESCRIPTION(_("Always keeps at least one sink loaded even if it's a null one")); 38 "sink_name=<name of sink>"); 53 static void load_null_sink_if_needed(pa_core *c, pa_sink *sink, struct userdata* u) { in load_null_sink_if_needed() argument 63 return; /* We've already got a null-sink loaded */ in load_null_sink_if_needed() 66 * sinks. Ignore the sink passed in (if it's not null), and in load_null_sink_if_needed() 69 if (!sink || ((target != sink) && !pa_sink_is_filter(target))) in load_null_sink_if_needed() 75 pa_log_debug("Autoloading null-sink as no other sinks detected."); in load_null_sink_if_needed() 81 pa_module_load(&m, c, "module-null-sink", in load_null_sink_if_needed() 91 put_hook_callback(pa_core *c, pa_sink *sink, void* userdata) put_hook_callback() argument 126 unlink_hook_callback(pa_core *c, pa_sink *sink, void* userdata) unlink_hook_callback() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | cli-text.c | 31 #include <pulsecore/sink.h> 33 #include <pulsecore/sink-input.h> 137 pa_sink *sink; in pa_card_list_to_string() local 171 PA_IDXSET_FOREACH(sink, card->sinks, sidx) in pa_card_list_to_string() 172 pa_strbuf_printf(s, "\t\t%s/#%u: %s\n", sink->name, sink->index, pa_strna(pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_DESCRIPTION))); in pa_card_list_to_string() 189 pa_sink *sink; in pa_sink_list_to_string() local 195 pa_strbuf_printf(s, "%u sink(s) available.\n", pa_idxset_size(c->sinks)); in pa_sink_list_to_string() 197 PA_IDXSET_FOREACH(sink, in pa_sink_list_to_string() [all...] |
H A D | sink-input.c | 43 #include "sink-input.h" 253 data->sink = s; in pa_sink_input_new_data_set_sink() 260 /* Extended API: let's see if this sink supports the formats the client can provide */ in pa_sink_input_new_data_set_sink() 265 data->sink = s; in pa_sink_input_new_data_set_sink() 294 if (data->sink) { in pa_sink_input_new_data_set_formats() 296 return pa_sink_input_new_data_set_sink(data, data->sink, (data->preferred_sink != NULL), data->sink_requested_by_application); in pa_sink_input_new_data_set_formats() 404 if (!data->sink) { in pa_sink_input_new() 405 pa_sink *sink = pa_namereg_get(core, NULL, PA_NAMEREG_SINK); in pa_sink_input_new() local 406 pa_return_val_if_fail(sink, -PA_ERR_NOENTITY); in pa_sink_input_new() 407 pa_sink_input_new_data_set_sink(data, sink, fals in pa_sink_input_new() 1804 pa_sink *sink = i->sink; is_filter_sink_moving() local [all...] |
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-sink.c | 45 #include <pulsecore/sink.h> 65 #include "alsa-sink.h" 106 pa_sink *sink; member 212 pa_log_debug("Suspending sink %s, because another application requested us to release the device.", u->sink->name); in reserve_cb() 214 if (pa_sink_suspend(u->sink, true, PA_SUSPEND_APPLICATION) < 0) in reserve_cb() 238 if (!u->sink || !u->reserve) in reserve_update() 241 if ((description = pa_proplist_gets(u->sink->proplist, PA_PROP_DEVICE_DESCRIPTION))) in reserve_update() 280 pa_log_debug("Suspending sink %s, because another application is blocking the access to the device.", u->sink in monitor_cb() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | InfoSink.cpp | 22 sink.append("INFO: "); in prefix() 25 sink.append("WARNING: "); in prefix() 28 sink.append("ERROR: "); in prefix() 31 sink.append("INTERNAL ERROR: "); in prefix() 34 sink.append("UNIMPLEMENTED: "); in prefix() 37 sink.append("NOTE: "); in prefix() 40 sink.append("UNKOWN ERROR: "); in prefix() 55 sink.append(stream.str()); in location() 60 sink.append(s); in message() 61 sink in message() [all...] |
H A D | InfoSink.h | 55 sink.append(stream.str()); in operator <<() 59 // and characters directly to the sink. 61 sink.append(1, c); in operator <<() 65 sink.append(str); in operator <<() 69 sink.append(str); in operator <<() 73 sink.append(str.c_str()); in operator <<() 92 sink.append(stream.str()); in operator <<() 98 sink.append(str); in operator <<() 102 void erase() { sink.clear(); } in erase() 103 int size() { return static_cast<int>(sink in erase() 114 TPersistString sink; global() member in TInfoSinkBase [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucasemap.cpp | 141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult() 151 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult() 156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult() 158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult() 206 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower() 238 sink, options, edits, errorCode); in toLower() 240 sink.Append(&ascii, 1); in toLower() 260 sink, options, edits, errorCode); in toLower() 261 ByteSinkUtil::appendTwoBytes(c + d, sink); in toLower() 288 sink, option in toLower() 140 appendResult(int32_t cpLength, int32_t result, const UChar *s, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) appendResult() argument 204 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 315 toUpper(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 424 ucasemap_internalUTF8ToTitle( int32_t caseLocale, uint32_t options, BreakIterator *iter, const uint8_t *src, int32_t srcLength, ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToTitle() argument 570 toUpper(uint32_t options, const uint8_t *src, int32_t srcLength, ByteSink &sink, Edits *edits, UErrorCode &errorCode) toUpper() argument 722 ucasemap_internalUTF8ToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToLower() argument 736 ucasemap_internalUTF8ToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToUpper() argument 754 ucasemap_internalUTF8Fold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8Fold() argument 765 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 887 utf8ToLower( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 894 ucasemap_internalUTF8ToLower, sink, edits, errorCode); utf8ToLower() local 897 utf8ToUpper( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 904 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); utf8ToUpper() local 907 utf8Fold( uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8Fold() argument [all...] |
H A D | loclikely.cpp | 170 * @param sink The output sink receiving the tag string. 184 icu::ByteSink& sink, in createTagStringWithAlternates() 330 sink.Append(tagBuffer, tagLength); in createTagStringWithAlternates() 334 sink.Append("_", 1); in createTagStringWithAlternates() 337 sink.Append("_", 1); in createTagStringWithAlternates() 344 sink.Append(trailing, trailingLength); in createTagStringWithAlternates() 384 * @param sink The output sink receiving the tag string. 397 icu::ByteSink& sink, in createTagString() 174 createTagStringWithAlternates( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* trailing, int32_t trailingLength, const char* alternateTags, icu::ByteSink& sink, UErrorCode* err) createTagStringWithAlternates() argument 388 createTagString( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* trailing, int32_t trailingLength, icu::ByteSink& sink, UErrorCode* err) createTagString() argument 550 createLikelySubtagsString( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* variants, int32_t variantsLength, icu::ByteSink& sink, UErrorCode* err) createLikelySubtagsString() argument 827 _uloc_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* err) _uloc_addLikelySubtags() argument 914 _uloc_minimizeSubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* err) _uloc_minimizeSubtags() argument 1241 _ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) _ulocimp_addLikelySubtags() argument 1253 ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) ulocimp_addLikelySubtags() argument 1289 ulocimp_minimizeSubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) ulocimp_minimizeSubtags() argument [all...] |
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | names.c | 44 static size_t stringsink_string(stringsink *sink, const char *ptr, size_t len) { in stringsink_string() argument 45 size_t new_size = sink->size; in stringsink_string() 47 while (sink->len + len > new_size) { in stringsink_string() 51 if (new_size != sink->size) { in stringsink_string() 52 sink->ptr = realloc(sink->ptr, new_size); in stringsink_string() 53 sink->size = new_size; in stringsink_string() 56 memcpy(sink->ptr + sink->len, ptr, len); in stringsink_string() 57 sink in stringsink_string() 62 stringsink_init(stringsink *sink) stringsink_init() argument 69 stringsink_uninit(stringsink *sink) stringsink_uninit() argument [all...] |
/third_party/pulseaudio/src/modules/jack/ |
H A D | module-jack-sink.c | 37 #include <pulsecore/sink.h> 65 "sink_name=<name for the sink> " 80 pa_sink *sink; member 127 if (u->sink->thread_info.state == PA_SINK_RUNNING) { in sink_process_msg() 133 nbytes = (size_t) offset * pa_frame_size(&u->sink->sample_spec); in sink_process_msg() 135 pa_sink_render_full(u->sink, nbytes, &chunk); in sink_process_msg() 149 ss = u->sink->sample_spec; in sink_process_msg() 163 pa_sink_set_max_request_within_thread(u->sink, (size_t) offset * pa_frame_size(&u->sink->sample_spec)); in sink_process_msg() 191 n = number_of_frames * pa_frame_size(&u->sink in sink_process_msg() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | loclikely.cpp | 98 * @param sink The output sink receiving the tag string. 112 icu::ByteSink& sink, in createTagStringWithAlternates() 258 sink.Append(tagBuffer, tagLength); in createTagStringWithAlternates() 262 sink.Append("_", 1); in createTagStringWithAlternates() 265 sink.Append("_", 1); in createTagStringWithAlternates() 272 sink.Append(trailing, trailingLength); in createTagStringWithAlternates() 433 icu::ByteSink& sink, in _uloc_addLikelySubtags() 510 sink, in _uloc_addLikelySubtags() 526 // Add likely subtags to the sink 102 createTagStringWithAlternates( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* trailing, int32_t trailingLength, const char* alternateTags, icu::ByteSink& sink, UErrorCode* err) createTagStringWithAlternates() argument 432 _uloc_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* err) _uloc_addLikelySubtags() argument 533 _uloc_minimizeSubtags(const char* localeID, icu::ByteSink& sink, bool favorScript, UErrorCode* err) _uloc_minimizeSubtags() argument 658 _ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) _ulocimp_addLikelySubtags() argument 674 ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) ulocimp_addLikelySubtags() argument 710 ulocimp_minimizeSubtags(const char* localeID, icu::ByteSink& sink, bool favorScript, UErrorCode* status) ulocimp_minimizeSubtags() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | loclikely.cpp | 170 * @param sink The output sink receiving the tag string. 184 icu::ByteSink& sink, in createTagStringWithAlternates() 330 sink.Append(tagBuffer, tagLength); in createTagStringWithAlternates() 334 sink.Append("_", 1); in createTagStringWithAlternates() 337 sink.Append("_", 1); in createTagStringWithAlternates() 344 sink.Append(trailing, trailingLength); in createTagStringWithAlternates() 384 * @param sink The output sink receiving the tag string. 397 icu::ByteSink& sink, in createTagString() 174 createTagStringWithAlternates( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* trailing, int32_t trailingLength, const char* alternateTags, icu::ByteSink& sink, UErrorCode* err) createTagStringWithAlternates() argument 388 createTagString( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* trailing, int32_t trailingLength, icu::ByteSink& sink, UErrorCode* err) createTagString() argument 550 createLikelySubtagsString( const char* lang, int32_t langLength, const char* script, int32_t scriptLength, const char* region, int32_t regionLength, const char* variants, int32_t variantsLength, icu::ByteSink& sink, UErrorCode* err) createLikelySubtagsString() argument 827 _uloc_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* err) _uloc_addLikelySubtags() argument 914 _uloc_minimizeSubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* err) _uloc_minimizeSubtags() argument 1239 _ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) _ulocimp_addLikelySubtags() argument 1256 ulocimp_addLikelySubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) ulocimp_addLikelySubtags() argument 1292 ulocimp_minimizeSubtags(const char* localeID, icu::ByteSink& sink, UErrorCode* status) ulocimp_minimizeSubtags() argument [all...] |
H A D | ucasemap.cpp | 140 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult() 150 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult() 155 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult() 157 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult() 205 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower() 237 sink, options, edits, errorCode); in toLower() 239 sink.Append(&ascii, 1); in toLower() 259 sink, options, edits, errorCode); in toLower() 260 ByteSinkUtil::appendTwoBytes(c + d, sink); in toLower() 287 sink, option in toLower() 139 appendResult(int32_t cpLength, int32_t result, const UChar *s, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) appendResult() argument 203 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 314 toUpper(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 437 maybeTitleDutchIJ(const uint8_t *src, UChar32 c, int32_t start, int32_t segmentLimit, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) maybeTitleDutchIJ() argument 439 U_ASSERT(start < segmentLimit); int32_t index = start; bool withAcute = false; int32_t unchanged1 = 0; bool doTitleJ = false; int32_t unchanged2 = 0; UChar32 c2; c2 = src[index++]; if (c == u�) { if (c2 == ACUTE_BYTE0 && index < segmentLimit && src[index++] == ACUTE_BYTE1) { withAcute = true; unchanged1 = 2; if (index == segmentLimit) { return start; } c2 = src[index++]; } } else { withAcute = true; } if (c2 == u�) { doTitleJ = true; } else if (c2 == u�) { ++unchanged1; } else { return start; } if (withAcute) { if ((index + 1) >= segmentLimit || src[index++] != ACUTE_BYTE0 || src[index++] != ACUTE_BYTE1) { return start; } if (doTitleJ) { unchanged2 = 2; } else { unchanged1 = unchanged1 + 2; } } if (index < segmentLimit) { int32_t cp; int32_t i = index; U8_NEXT(src, i, segmentLimit, cp); uint32_t typeMask = U_GET_GC_MASK(cp); if ((typeMask & U_GC_M_MASK) != 0) { return start; } } ByteSinkUtil::appendUnchanged(src + start, unchanged1, sink, options, edits, errorCode); start += unchanged1; if (doTitleJ) { ByteSinkUtil::appendCodePoint(1, u�, sink, edits); ++start; } ByteSinkUtil::appendUnchanged(src + start, unchanged2, sink, options, edits, errorCode); U_ASSERT(start + unchanged2 == index); return index; } } U_CFUNC void U_CALLCONV ucasemap_internalUTF8ToTitle( int32_t caseLocale, uint32_t options, BreakIterator *iter, const uint8_t *src, int32_t srcLength, ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { if (!ustrcase_checkTitleAdjustmentOptions(options, errorCode)) { return; } UCaseContext csc=UCASECONTEXT_INITIALIZER; csc.p=(void *)src; csc.limit=srcLength; int32_t prev=0; UBool isFirstIndex=true; while(prev<srcLength) { int32_t index; if(isFirstIndex) { isFirstIndex=false; index=iter->first(); } else { index=iter->next(); } if(index==UBRK_DONE || index>srcLength) maybeTitleDutchIJ() argument 655 toUpper(uint32_t options, const uint8_t *src, int32_t srcLength, ByteSink &sink, Edits *edits, UErrorCode &errorCode) toUpper() argument 807 ucasemap_internalUTF8ToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToLower() argument 821 ucasemap_internalUTF8ToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToUpper() argument 839 ucasemap_internalUTF8Fold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8Fold() argument 850 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 972 utf8ToLower( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 979 ucasemap_internalUTF8ToLower, sink, edits, errorCode); utf8ToLower() local 982 utf8ToUpper( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 989 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); utf8ToUpper() local 992 utf8Fold( uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8Fold() argument [all...] |