/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | query_param_test.cpp | 32 Query query{ in TEST() local 38 Query delegated = delegate(capabilities, query); in TEST() 40 EXPECT_FALSE(query.isOnly); in TEST() 45 Query query{ in TEST() local 53 Query delegated = delegate(capabilities, query); in TEST() 57 EXPECT_EQ(query.expandLevel, 5); in TEST() 62 Query query{ in TEST() local 68 Query delegated = delegate(capabilities, query); in TEST() 70 EXPECT_EQ(query.isOnly, true); in TEST() 75 Query query{ in TEST() local [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | sa_query.c | 689 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 691 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 694 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 696 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 700 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument 702 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 703 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 709 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 714 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 716 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in serial_test_tp_attach_query() local 41 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in serial_test_tp_attach_query() 72 /* check NULL prog array query */ in serial_test_tp_attach_query() 73 query->ids_len = num_progs; in serial_test_tp_attach_query() 74 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query() 75 if (CHECK(err || query->prog_cnt != 0, in serial_test_tp_attach_query() 77 "err %d errno %d query->prog_cnt %u\n", in serial_test_tp_attach_query() 78 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 89 query->ids_len = 0; in serial_test_tp_attach_query() 90 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query() [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | query_param.hpp | 164 // The struct stores the parsed query parameters of the default Redfish route. 165 struct Query struct 192 // query parameters themselves, so that the default Redfish route will delegate 203 // Delegates query parameters according to the given |queryCapabilities| 204 // This function doesn't check query parameter conflicts since the parse 206 // Returns a delegated query object which can be used by individual resource 207 // handlers so that handlers don't need to query again. 208 inline Query delegate(const QueryCapabilities& queryCapabilities, Query& query) in delegate() argument 210 Query delegated{}; in delegate() 212 if (query.isOnly && queryCapabilities.canDelegateOnly) in delegate() [all …]
|
/openbmc/qemu/qapi/ |
H A D | pragma.json | 31 'query-tpm-models', 32 'query-tpm-types', 82 'ACPISlotType', # query-acpi-ospm-status 86 'BlockDeviceInfo', # query-block 87 'BlockDeviceStats', # query-blockstats 88 'BlockDeviceTimedStats', # query-blockstats 90 'BlockInfo', # query-block 92 'BlockdevDriver', # blockdev-add, query-blockstats, ... 100 'NetdevTapOptions', # netdev_add, query-netdev, -netdev 103 'PciBusInfo', # query-pci [all …]
|
H A D | misc-target.json | 25 # An enumeration of SEV state information used during @query-sev. 128 # @query-sev: 138 # -> { "execute": "query-sev" } 143 { 'command': 'query-sev', 'returns': 'SevInfo', 159 # @query-sev-launch-measure: 161 # Query the SEV guest launch information. 169 # -> { "execute": "query-sev-launch-measure" } 172 { 'command': 'query-sev-launch-measure', 'returns': 'SevLaunchMeasureInfo', 203 # @query-sev-capabilities: 214 # -> { "execute": "query-sev-capabilities" } [all …]
|
H A D | machine.json | 100 # @query-cpus-fast: 110 # -> { "execute": "query-cpus-fast" } 137 { 'command': 'query-cpus-fast', 'returns': [ 'CpuInfoFast' ] } 191 # present when query-machines argument @compat-props is true. 210 # @query-machines: 227 # -> { "execute": "query-machines", "arguments": { "compat-props": true } } 248 { 'command': 'query-machines', 267 # @query-current-machine: 275 { 'command': 'query-current-machine', 'returns': 'CurrentMachineParams' } 290 # @query-target: [all …]
|
H A D | machine-target.json | 126 # @query-cpu-model-comparison: 144 # query-cpu-definitions.) 147 # query-cpu-definitions.) 151 # query-cpu-definitions.) 154 # Using query-cpu-model-expansion while using these is not advised. 179 { 'command': 'query-cpu-model-comparison', 185 # @query-cpu-model-baseline: 202 # query-cpu-definitions.) 205 # query-cpu-definitions.) 209 # query-cpu-definitions.) [all …]
|
H A D | tpm.json | 26 # @query-tpm-models: 36 # -> { "execute": "query-tpm-models" } 39 { 'command': 'query-tpm-models', 'returns': ['TpmModel'], 57 # @query-tpm-types: 67 # -> { "execute": "query-tpm-types" } 70 { 'command': 'query-tpm-types', 'returns': ['TpmType'], 165 # @query-tpm: 173 # -> { "execute": "query-tpm" } 189 { 'command': 'query-tpm', 'returns': ['TPMInfo'],
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 144 # Note that some of the examples are not the most optimal SQL query. 204 # query = QSqlQuery(db) 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_i… 209 # raise Exception("Query failed: " + query.lastError().text()) 210 # if not query.next(): 211 # raise Exception("Query failed") 212 … {3:<30} {4:>6} {5:<30}".format(query.value(0), query.value(1), query.value(2), query.value(3), … 213 # call_path_id = query.value(6) 318 raise Exception("Query failed: " + q.lastError().text()) 323 query = QSqlQuery(db) variable [all …]
|
H A D | export-to-sqlite.py | 136 raise Exception("Query failed: " + q.lastError().text()) 141 raise Exception("Query failed: " + q.lastError().text()) 160 query = QSqlQuery(db) variable 162 do_query(query, 'PRAGMA journal_mode = OFF') 163 do_query(query, 'BEGIN TRANSACTION') 165 do_query(query, 'CREATE TABLE selected_events (' 168 do_query(query, 'CREATE TABLE machines (' 172 do_query(query, 'CREATE TABLE threads (' 178 do_query(query, 'CREATE TABLE comms (' 184 do_query(query, 'CREATE TABLE comm_threads (' [all …]
|
H A D | exported-sql-viewer.py | 183 def QueryExec(query, stmt): argument 184 ret = query.exec_(stmt) 186 raise Exception("Query failed: " + query.lastError().text()) 540 query = QSqlQuery(self.glb.db) 545 …QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_t… 555 while query.next(): 557 insn_cnt = int(query.value(5)) 558 cyc_cnt = int(query.value(6)) 559 branch_count = int(query.value(7)) 563 branch_count = int(query.value(5)) [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | qmp-cmd-test.c | 22 /* Query smoke tests */ 32 { "query-spice", ERROR_CLASS_COMMAND_NOT_FOUND }, in query_error_class() 35 { "query-replay", ERROR_CLASS_COMMAND_NOT_FOUND }, in query_error_class() 38 { "query-vnc", ERROR_CLASS_GENERIC_ERROR }, in query_error_class() 39 { "query-vnc-servers", ERROR_CLASS_GENERIC_ERROR }, in query_error_class() 42 { "query-xen-replication-status", ERROR_CLASS_COMMAND_NOT_FOUND }, in query_error_class() 45 { "query-acpi-ospm-status", ERROR_CLASS_GENERIC_ERROR }, in query_error_class() 46 { "query-balloon", ERROR_CLASS_DEVICE_NOT_ACTIVE }, in query_error_class() 47 { "query-hotpluggable-cpus", ERROR_CLASS_GENERIC_ERROR }, in query_error_class() 48 { "query-hv-balloon-status-report", ERROR_CLASS_GENERIC_ERROR }, in query_error_class() [all …]
|
/openbmc/linux/lib/ |
H A D | dynamic_debug.c | 130 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 135 if (query->format) { in vpr_info_dq() 136 fmtlen = strlen(query->format); in vpr_info_dq() 137 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 143 query->function ?: "", in vpr_info_dq() 144 query->filename ?: "", in vpr_info_dq() 145 query->module ?: "", in vpr_info_dq() 146 fmtlen, query->format ?: "", in vpr_info_dq() 147 query->first_lineno, query->last_lineno, query->class_string); in vpr_info_dq() 169 * Search the tables for _ddebug's which match the given `query' and [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_f11.c | 36 * The properties for a given sensor are described by its query registers. The 37 * number of query registers and the layout of their contents are described by 38 * the F11 device queries as well as the sensor query information. 42 * by parsing that sensors query registers. 46 * sensors data registers must be determined by parsing its query registers. 48 * The short story is that we need to read and parse a lot of query 77 /** Defs for Query 1 */ 86 /** Defs for Query 2, 3, and 4. */ 89 /** Defs for Query 5 */ 99 /** Defs for Query 7 */ [all …]
|
/openbmc/linux/include/uapi/drm/ |
H A D | amdgpu_drm.h | 729 * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU 741 /* query hw IP info */ 743 /* query hw IP instance count for the specified type */ 747 /* Query the firmware version */ 749 /* Subquery id: Query VCE firmware version */ 751 /* Subquery id: Query UVD firmware version */ 753 /* Subquery id: Query GMC firmware version */ 755 /* Subquery id: Query GFX ME firmware version */ 757 /* Subquery id: Query GFX PFP firmware version */ 759 /* Subquery id: Query GFX CE firmware version */ [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 118 | 84 result = self.vm.qmp('query-block') 94 result = self.vm.qmp('query-block') 104 result = self.vm.qmp('query-block') 114 result = self.vm.qmp('query-block') 125 result = self.vm.qmp('query-block') 138 result = self.vm.qmp('query-block') 151 result = self.vm.qmp('query-block') 160 result = self.vm.qmp('query-block') 171 result = self.vm.qmp('query-block') 185 result = self.vm.qmp('query-block') [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | typeahead.jquery.js | 451 this.query = this.$input.val(); 452 this.queryWhenFocused = this.hasFocus() ? this.query : null; 468 this.queryWhenFocused = this.query; 518 areEquivalent = areQueriesEquivalent(val, this.query); 519 hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; 520 this.query = val; 522 this.trigger("queryChanged", this.query); 524 this.trigger("whitespaceChanged", this.query); 556 return this.query || ""; 563 return this.query !== this.queryWhenFocused; [all …]
|
/openbmc/qemu/chardev/ |
H A D | wctablet.c | 72 /* Query string from serial */ 73 uint8_t query[100]; member 98 memmove(tablet->query, tablet->query + count, tablet->query_index); in wctablet_shift_input() 99 tablet->query[tablet->query_index] = 0; in wctablet_shift_input() 218 for (i = 0; i < len && tablet->query_index < sizeof(tablet->query) - 1; i++) { in wctablet_chr_write() 219 tablet->query[tablet->query_index++] = buf[i]; in wctablet_chr_write() 221 tablet->query[tablet->query_index] = 0; in wctablet_chr_write() 223 while (tablet->query_index > 0 && (tablet->query[0] == '@' || in wctablet_chr_write() 224 tablet->query[0] == '\r' || in wctablet_chr_write() 225 tablet->query[0] == '\n')) { in wctablet_chr_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_query.c | 134 struct drm_i915_query_engine_info query; in query_engine_info() local 148 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info() 152 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info() 153 query.rsvd[2]) in query_engine_info() 168 query.num_engines++; in query_engine_info() 172 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info() 254 "Invalid query config data item size=%u expected=%u\n", in query_perf_config_data() 423 "Invalid query config list item size=%u expected=%zu\n", in query_perf_config_list() 468 struct drm_i915_query_memory_regions query; in query_memregion_info() local 476 total_length = sizeof(query); in query_memregion_info() [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | iforce-protocol.rst | 218 Query command. Length varies according to the query type. 220 ff 01 QUERY [INDEX] CHECKSUM 222 FF LEN QUERY VALUE_QUERIED CHECKSUM2 225 Query ram size 230 QUERY = 42 ('B'uffer size) 236 Query number of effects 241 QUERY = 4e ('N'umber of effects) 252 QUERY = 4d ('M'anufacturer) 254 Query the vendors'id (2 bytes) 261 QUERY = 50 ('P'roduct) [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | gtk-immodules-cache.bbclass | 27 if [ ! -z `which gtk-query-immodules-2.0` ]; then 28 gtk-query-immodules-2.0 > ${libdir}/gtk-2.0/2.10.0/immodules.cache 30 if [ ! -z `which gtk-query-immodules-3.0` ]; then 32 gtk-query-immodules-3.0 > ${libdir}/gtk-3.0/3.0.0/immodules.cache 47 if [ ! -z `which gtk-query-immodules-2.0` ]; then 48 gtk-query-immodules-2.0 > ${libdir}/gtk-2.0/2.10.0/immodules.cache 50 if [ ! -z `which gtk-query-immodules-3.0` ]; then 51 gtk-query-immodules-3.0 > ${libdir}/gtk-3.0/3.0.0/immodules.cache
|
/openbmc/linux/include/rdma/ |
H A D | ib_cache.h | 37 * @device: The device to query. 38 * @port_num: The port number of the device to query. 39 * @index: The index into the cached PKey table to query. 53 * @device: The device to query. 69 * @device: The device to query. 84 * @device: The device to query. 85 * @port_num: The port number of the device to query. 97 * @device: The device to query. 98 * @port_num: The port number of the device to query.
|
/openbmc/linux/Documentation/networking/ |
H A D | dns_resolver.rst | 32 (*) Dns query support for AFSDB resource record. 58 To direct a query for query type 'foo', a line of the following should be added 77 This is the basic access function. It looks for a cached DNS query and if 78 it doesn't find it, it upcalls to userspace to make a new DNS query, which 85 and thus the type of query to do, and <name> specifies the string to be 86 looked up. The default query type is a straight hostname to IP address 93 appropriate to the query type. 95 The return value is a string appropriate to the query type. For instance, 96 for the default query type it is just a list of comma-separated IPv4 and
|
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/ |
H A D | 0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch | 4 Subject: [PATCH] ENGR00312515: get caps from src pad when query caps 22 @@ -1796,6 +1796,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) 29 + /* We can hijack caps query if we typefind already */ 31 + gst_query_set_caps_result (query, demux->priv->src_caps); 34 + res = gst_pad_query_default (pad, parent, query); 40 res = gst_pad_query_default (pad, parent, query);
|