Home
last modified time | relevance | path

Searched refs:source_name (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_linecache.py154 source_name = os_helper.TESTFN + '.py'
155 self.addCleanup(os_helper.unlink, source_name)
156 with open(source_name, 'w', encoding='utf-8') as source:
158 getline(source_name, 1)
162 with open(source_name, encoding='utf-8') as source:
164 self.assertEqual(line, getline(source_name, index + 1))
167 with open(source_name, 'w', encoding='utf-8') as source:
175 self.assertEqual(line, getline(source_name, index + 1))
178 linecache.checkcache(source_name)
179 with open(source_name, encodin
[all...]
/third_party/jerryscript/jerry-debugger/
H A Djerry_client_main.py161 result = self.function.source_name or "<unknown>"
175 def __init__(self, line=None, source_name=None, function=None):
178 self.source_name = source_name
183 result = self.source_name or ""
193 def __init__(self, is_func, byte_code_cp, source, source_name, line, column, name, lines, offsets):
197 self.source_name = source_name
216 result = ("Function(byte_code_cp:0x%x, source_name:%r, name:%r, line:%d, column:%d { "
217 % (self.byte_code_cp, self.source_name, sel
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-always-source.c39 "source_name=<name of source>");
44 "source_name",
51 char *source_name; member
80 t = pa_sprintf_malloc("source_name=%s", u->source_name); in load_null_source_if_needed()
161 u->source_name = pa_xstrdup(pa_modargs_get_value(ma, "source_name", DEFAULT_SOURCE_NAME)); in pa__init()
185 pa_xfree(u->source_name); in pa__done()
H A Dmodule-tunnel.c96 "source_name=<name for the local source> "
128 "source_name",
234 char *source_name; member
1511 if (!u->source_name || !pa_streq(name, u->source_name)) in source_info_cb()
1557 if (u->source_name) { in request_info()
1562 pa_tagstruct_puts(t, u->source_name); in request_info()
1678 pa_xfree(u->source_name); in create_stream_callback()
1679 u->source_name = pa_xstrdup(dn); in create_stream_callback()
1785 u->source_name, in setup_complete_callback()
[all...]
H A Dmodule-tunnel-source-new.c53 "source_name=<name for the local source> "
108 char *source_name; member
125 "source_name",
353 /* TODO: old tunnel put here the remote source_name into stream name e.g. 'Null Output for lynxis@lazus' */ in on_source_created()
563 pa_source_new_data_set_name(&source_data, u->source_name); in create_source()
678 u->source_name = pa_xstrdup(pa_modargs_get_value(ma, "source_name", default_source_name)); in do_init()
773 if (u->source_name) in do_done()
774 pa_xfree(u->source_name); in do_done()
/third_party/node/deps/v8/src/codegen/
H A Dsource-position.cc102 Object source_name; in Print() local
105 source_name = script.name(); in Print()
109 if (source_name.IsString()) { in Print()
110 out << String::cast(source_name) in Print()
/third_party/pulseaudio/src/utils/
H A Dpactl.c60 *source_name = NULL, variable
1954 pa_operation_unref(pa_context_set_source_volume_by_name(c, source_name, &cv, simple_callback, NULL)); in set_source_volume_callback()
2350 o = pa_context_move_source_output_by_name(c, source_output_idx, source_name, simple_callback, NULL); in context_state_callback()
2372 if (source_name) in context_state_callback()
2373 o = pa_context_suspend_source_by_name(c, source_name, suspend, simple_callback, NULL); in context_state_callback()
2395 o = pa_context_set_source_port_by_name(c, source_name, port_name, simple_callback, NULL); in context_state_callback()
2403 o = pa_context_set_default_source(c, source_name, simple_callback, NULL); in context_state_callback()
2418 o = pa_context_get_source_info_by_name(c, source_name, get_source_mute_callback, NULL); in context_state_callback()
2423 o = pa_context_get_source_info_by_name(c, source_name, source_toggle_mute_callback, NULL); in context_state_callback()
2425 o = pa_context_set_source_mute_by_name(c, source_name, mut in context_state_callback()
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dbytecode_dispatches_report.py123 for source_name, counter, ratio in top_sources:
124 print("{:>12d}\t{:>5.1f}%\t{}".format(counter, ratio * 100, source_name))
/third_party/node/deps/v8/src/compiler/
H A Dgraph-visualizer.cc105 Object source_name = script->name(); in JsonPrintFunctionSource() local
107 if (source_name.IsString()) { in JsonPrintFunctionSource()
109 escaped_name << String::cast(source_name).ToCString().get(); in JsonPrintFunctionSource()
220 Object source_name = Script::cast(info->shared_info()->script()).name(); in GetVisualizerLogFileName() local
221 if (source_name.IsString()) { in GetVisualizerLogFileName()
222 String str = String::cast(source_name); in GetVisualizerLogFileName()
H A Dpipeline.cc838 Object source_name = script->name(); in PrintFunctionSource() local
841 if (source_name.IsString()) { in PrintFunctionSource()
842 os << String::cast(source_name).ToCString().get() << ":"; in PrintFunctionSource()
/third_party/pulseaudio/src/pulsecore/
H A Dprotocol-http.c534 static void handle_listen_prefix(struct connection *c, const char *source_name) { in handle_listen_prefix() argument
543 pa_assert(source_name); in handle_listen_prefix()
548 if (!(source = pa_namereg_get(c->protocol->core, source_name, PA_NAMEREG_SOURCE))) { in handle_listen_prefix()
H A Dsource-output.c1564 static void set_preferred_source(pa_source_output *o, const char *source_name) { in set_preferred_source() argument
1567 if (pa_safe_streq(o->preferred_source, source_name)) in set_preferred_source()
1571 o->index, o->preferred_source ? o->preferred_source : "(unset)", source_name ? source_name : "(unset)"); in set_preferred_source()
1573 o->preferred_source = pa_xstrdup(source_name); in set_preferred_source()
H A Dprotocol-native.c2053 const char *name = NULL, *source_name; in command_create_record_stream() local
2098 pa_tagstruct_gets(t, &source_name) < 0 || in command_create_record_stream()
2108 CHECK_VALIDITY_GOTO(c->pstream, !source_name || pa_namereg_is_valid_name_or_wildcard(source_name, PA_NAMEREG_SOURCE), tag, PA_ERR_INVALID, finish); in command_create_record_stream()
2109 CHECK_VALIDITY_GOTO(c->pstream, source_index == PA_INVALID_INDEX || !source_name, tag, PA_ERR_INVALID, finish); in command_create_record_stream()
2110 CHECK_VALIDITY_GOTO(c->pstream, !source_name || source_index == PA_INVALID_INDEX, tag, PA_ERR_INVALID, finish); in command_create_record_stream()
2222 } else if (source_name) { in command_create_record_stream()
2224 if (!(source = pa_namereg_get(c->protocol->core, source_name, PA_NAMEREG_SOURCE))) { in command_create_record_stream()
/third_party/pulseaudio/src/pulse/
H A Dintrospect.h424 pa_operation* pa_context_suspend_source_by_name(pa_context *c, const char *source_name, int suspend, pa_context_success_cb_t cb, void* userdata);
729 pa_operation* pa_context_move_source_output_by_name(pa_context *c, uint32_t idx, const char *source_name, pa_context_success_cb_t cb, void* userdata);
H A Dintrospect.c2059 pa_operation* pa_context_move_source_output_by_name(pa_context *c, uint32_t idx, const char *source_name, pa_context_success_cb_t cb, void* userdata) { in pa_context_move_source_output_by_name() argument
2071 PA_CHECK_VALIDITY_RETURN_NULL(c, source_name && *source_name, PA_ERR_INVALID); in pa_context_move_source_output_by_name()
2078 pa_tagstruct_puts(t, source_name); in pa_context_move_source_output_by_name()
2160 pa_operation* pa_context_suspend_source_by_name(pa_context *c, const char *source_name, int suspend, pa_context_success_cb_t cb, void* userdata) { in pa_context_suspend_source_by_name() argument
2171 PA_CHECK_VALIDITY_RETURN_NULL(c, !source_name || *source_name, PA_ERR_INVALID); in pa_context_suspend_source_by_name()
2177 pa_tagstruct_puts(t, source_name); in pa_context_suspend_source_by_name()
/third_party/pulseaudio/src/modules/dbus/
H A Diface-core.c1228 char *source_name; in handle_get_source_by_name() local
1237 pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &source_name, DBUS_TYPE_INVALID)); in handle_get_source_by_name()
1239 if (!(source = pa_namereg_get(c->core, source_name, PA_NAMEREG_SOURCE))) { in handle_get_source_by_name()
1240 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such source.", source_name); in handle_get_source_by_name()
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dcmake.py144 def SetFileProperty(output, source_name, property_name, values, sep):
147 output.write(source_name)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dcmake.py144 def SetFileProperty(output, source_name, property_name, values, sep):
147 output.write(source_name)
/third_party/vulkan-loader/loader/
H A Dloader.c901 const char *source_name = names[i]; in loader_add_layer_names_to_list() local
903 struct loader_layer_properties *layer_prop = loader_find_layer_property(source_name, source_list); in loader_add_layer_names_to_list()
906 "loader_add_layer_names_to_list: Unable to find layer \"%s\"", source_name); in loader_add_layer_names_to_list()
912 if (loader_find_layer_name_in_list(source_name, output_list)) { in loader_add_layer_names_to_list()
/third_party/node/deps/v8/src/objects/
H A Djs-objects.cc2785 Object source_name = Script::cast(function.shared().script()).name(); in JSObjectShortPrint() local
2786 if (source_name.IsString()) { in JSObjectShortPrint()
2787 String str = String::cast(source_name); in JSObjectShortPrint()

Completed in 58 milliseconds