/kernel/linux/linux-6.6/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 19 .topic = "cache", 26 .topic = "other", 32 .topic = "other", 38 .topic = "other", 44 .topic = "uncore", 52 .topic = "uncore", 60 .topic = "uncore", 68 .topic = "uncore", 76 .topic = "uncore", 84 .topic [all...] |
H A D | jevents.py | 45 'name', 'topic', 'desc', 302 self.topic = '' 404 def read_json_events(path: str, topic: str) -> Sequence[JsonEvent]: 413 event.topic = topic 431 for event in read_json_events(item.path, topic=''): 438 def add_events_table_entries(item: os.DirEntry, topic: str) -> None: 440 for e in read_json_events(item.path, topic): 456 return (fix_none(j.pmu).replace(',','_'), fix_none(j.name), j.desc is not None, fix_none(j.topic), 558 def get_topic(topic [all...] |
/third_party/libwebsockets/lib/secure-streams/protocols/ |
H A D | ss-mqtt.c | 37 if (h->u.mqtt.sub_info.topic) { in secstream_mqtt_cleanup() 39 if (h->u.mqtt.sub_info.topic[i].name) { in secstream_mqtt_cleanup() 40 lws_free((void*)h->u.mqtt.sub_info.topic[i].name); in secstream_mqtt_cleanup() 41 h->u.mqtt.sub_info.topic[i].name = NULL; in secstream_mqtt_cleanup() 44 lws_free(h->u.mqtt.sub_info.topic); in secstream_mqtt_cleanup() 45 h->u.mqtt.sub_info.topic = NULL; in secstream_mqtt_cleanup() 81 " topic with no output\n", in secstream_mqtt_subscribe() 90 "topic", in secstream_mqtt_subscribe() 101 lwsl_err("%s, failed to expand MQTT subscribe topic\n", in secstream_mqtt_subscribe() 121 h->u.mqtt.sub_info.topic in secstream_mqtt_subscribe() 145 secstream_mqtt_publish(struct lws *wsi, uint8_t *buf, size_t buf_len, uint32_t payload_len, const char* topic, lws_mqtt_qos_levels_t qos, uint8_t retain, uint8_t dup, int f) secstream_mqtt_publish() argument 350 secstream_mqtt_is_shadow_matched(struct lws *wsi, const char *topic) secstream_mqtt_is_shadow_matched() argument [all...] |
/third_party/lwip/src/include/lwip/apps/ |
H A D | mqtt.h | 77 /** will topic, set to NULL if will is not to be used, 140 * arrives to a subscribed topic @see mqtt_subscribe 155 * arrives to a subscribed topic @see mqtt_subscribe 158 * @param topic Zero terminated Topic text string, topic may not be referenced after callback return 161 typedef void (*mqtt_incoming_publish_cb_t)(void *arg, const char *topic, u32_t tot_len); 189 err_t mqtt_sub_unsub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_cb_t cb, void *arg, u8_t sub); 192 *Subscribe to topic */ 193 #define mqtt_subscribe(client, topic, qos, cb, arg) mqtt_sub_unsub(client, topic, qo [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | pmu-events.c | 51 .topic = "branch", 63 .topic = "branch", 75 .topic = "other", 87 .topic = "other", 99 .topic = "other", 112 .topic = "cache", 133 .topic = "uncore", 147 .topic = "uncore", 161 .topic = "uncore", 175 .topic [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | memory_mgr.c | 165 behavior->topic, rc); in hl_mmap_mem_buf_alloc() 177 behavior->topic, rc); in hl_mmap_mem_buf_alloc() 257 buf->behavior->topic, user_mem_size, buf->mappable_size); 270 buf->behavior->topic, vma->vm_start); 279 buf->behavior->topic); 332 const char *topic; local 338 topic = buf->behavior->topic; 342 topic, id);
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | pmu-events.c | 36 .topic = "branch", 46 .topic = "branch", 56 .topic = "other", 66 .topic = "other", 76 .topic = "other", 94 .topic = "uncore", 106 .topic = "uncore", 188 if (!is_same(table->topic, te->topic)) { in test_pmu_event_table() 189 pr_debug2("testing event table %s: mismatched topic, in test_pmu_event_table() [all...] |
/third_party/libwebsockets/lib/roles/mqtt/client/ |
H A D | client-mqtt-handshake.c | 63 if (c->conn_flags & LMQCFT_WILL_FLAG && c->will.topic) { in lws_mqtt_client_send_connect() 64 len = len + (unsigned int)c->will.topic->len + 2; in lws_mqtt_client_send_connect() 85 * 4. Payload - Client ID, Will topic & message, in lws_mqtt_client_send_connect() 108 if (lws_mqtt_str_is_not_empty(c->will.topic)) { in lws_mqtt_client_send_connect() 109 lws_ser_wu16be(p, c->will.topic->len); in lws_mqtt_client_send_connect() 111 memcpy(p, c->will.topic->buf, c->will.topic->len); in lws_mqtt_client_send_connect() 112 p += c->will.topic->len; in lws_mqtt_client_send_connect()
|
H A D | client-mqtt.c | 136 if (cp->will_param.topic && in lws_create_client_mqtt_object() 137 *cp->will_param.topic) { in lws_create_client_mqtt_object() 138 c->will.topic = lws_mqtt_str_create_cstr_dup( in lws_create_client_mqtt_object() 139 cp->will_param.topic, 0); in lws_create_client_mqtt_object() 140 if (!c->will.topic) in lws_create_client_mqtt_object() 178 lws_mqtt_str_free(&c->will.topic); in lws_create_client_mqtt_object()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
H A D | mqtt.c | 274 lws_mqtt_validate_topic(const char *topic, size_t topiclen, uint8_t awsiot) in lws_mqtt_validate_topic() argument 277 const char *sub = topic; in lws_mqtt_validate_topic() 284 if (topic[0] == '$') { in lws_mqtt_validate_topic() 291 if (topic[0] == '$') in lws_mqtt_validate_topic() 297 /* topic == "+foo" || "a/+foo" ? */ in lws_mqtt_validate_topic() 301 /* topic == "foo+" or "foo+/a" ? */ in lws_mqtt_validate_topic() 307 /* topic == "foo#" ? */ in lws_mqtt_validate_topic() 311 /* topic == "#foo" ? */ in lws_mqtt_validate_topic() 330 lws_mqtt_create_sub(struct _lws_mqtt_related *mqtt, const char *topic) in lws_mqtt_create_sub() argument 333 size_t topiclen = strlen(topic); in lws_mqtt_create_sub() [all...] |
H A D | private-lib-roles-mqtt.h | 327 char topic[]; member 344 struct lws_mqtt_str_st *topic; member 443 lws_mqtt_find_sub(struct _lws_mqtt_related *mqtt, const char *topic);
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | pmu.c | 264 perf_pmu_assign_str(old->name, "topic", &old->topic, &newalias->topic); in perf_pmu_update_alias() 282 zfree(&newalias->topic); in perf_pmu_free_alias() 310 char *long_desc, char *topic, in __perf_pmu__new_alias() 377 alias->topic = topic ? strdup(topic) : NULL; in __perf_pmu__new_alias() 780 (char *)pe->long_desc, (char *)pe->topic, in pmu_add_cpu_aliases_map() 1428 char *topic; member 308 __perf_pmu__new_alias(struct list_head *list, char *dir, char *name, char *desc, char *val, char *long_desc, char *topic, char *unit, char *perpkg, char *metric_expr, char *metric_name, char *deprecated) __perf_pmu__new_alias() argument 1495 char *topic = NULL; print_pmu_events() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-list.c | 57 /** @last_topic: The last printed event topic. */ 98 static void default_print_event(void *ps, const char *pmu_name, const char *topic, in default_print_event() argument 117 (!topic || !strglobmatch_nocase(topic, print_state->event_glob))) in default_print_event() 128 if (strcmp(print_state->last_topic, topic ?: "")) { in default_print_event() 129 if (topic) in default_print_event() 130 printf("\n%s:\n", topic); in default_print_event() 132 print_state->last_topic = strdup(topic ?: ""); in default_print_event() 140 if (!topic && event_type_desc) { in default_print_event() 324 static void json_print_event(void *ps, const char *pmu_name, const char *topic, in json_print_event() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pfm.c | 179 char topic[80], name[80]; in print_libpfm_event() local 184 snprintf(topic, sizeof(topic), "pfm %s", pinfo->name); in print_libpfm_event() 223 print_cb->print_event(print_state, pinfo->name, topic, in print_libpfm_event() 258 topic, in print_libpfm_event()
|
H A D | pmus.c | 353 const char *topic; member 370 ret = strcmp(as->topic ?: "", bs->topic ?: ""); in cmp_sevent() 426 COPY_STR(topic); in perf_pmus__print_pmu_events__callback() 477 aliases[j].topic, in perf_pmus__print_pmu_events() 492 zfree(&aliases[j].topic); in perf_pmus__print_pmu_events()
|
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/ |
H A D | minimal-mqtt-client.c | 24 STATE_SUBSCRIBE, /* subscribe to the topic */ 48 .topic = "good/bye", 65 .topic = &topics[0], 216 pub_param.topic = "test/topic"; in callback_mqtt() 217 pub_param.topic_len = (uint16_t)strlen(pub_param.topic); in callback_mqtt() 287 lwsl_hexdump_notice(pub->topic, pub->topic_len); in callback_mqtt()
|
/third_party/lwip/src/apps/mqtt/ |
H A D | mqtt.c | 43 * - Fix restriction of a single topic in each (UN)SUBSCRIBE message (protocol has support for multiple topics) 717 /* Should have topic and pkt id*/ in mqtt_message_received() 718 u8_t *topic; in mqtt_message_received() local 731 LWIP_DEBUGF(MQTT_DEBUG_WARN,( "mqtt_message_received: Received short PUBLISH packet (topic)\n")); in mqtt_message_received() 735 topic = var_hdr_payload + 2; in mqtt_message_received() 739 LWIP_DEBUGF(MQTT_DEBUG_WARN, ("mqtt_message_received: Receive buffer can not fit topic + pkt_id\n")); in mqtt_message_received() 754 /* Take backup of byte after topic */ in mqtt_message_received() 755 bkp = topic[topic_len]; in mqtt_message_received() 757 topic[topic_len] = 0; in mqtt_message_received() 762 LWIP_DEBUGF(MQTT_DEBUG_TRACE, ("mqtt_incomming_publish: Received message with QoS %d at topic in mqtt_message_received() 1096 mqtt_publish(mqtt_client_t *client, const char *topic, const void *payload, u16_t payload_length, u8_t qos, u8_t retain, mqtt_request_cb_t cb, void *arg) mqtt_publish() argument 1172 mqtt_sub_unsub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_cb_t cb, void *arg, u8_t sub) mqtt_sub_unsub() argument [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-mqtt.h | 105 const char *topic; member 112 const char *topic; member 127 char *topic; /* Topic Name */ member 156 lws_mqtt_topic_elem_t *topic; /* Array of topic elements */ member 351 * \param sub: which topic(s) we want to subscribe to 367 * \param sub: which topic(s) we want to unsubscribe from
|
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/ |
H A D | minimal-mqtt-client-multi.c | 32 STATE_SUBSCRIBE, /* subscribe to the topic */ 60 .topic = "good/bye", 75 .topic = &topics[0], 273 pss->pub_param.topic = pss->state == STATE_PUBLISH_QOS0 ? in callback_mqtt() 275 pss->pub_param.topic_len = (uint16_t)strlen(pss->pub_param.topic); in callback_mqtt() 354 (int)(item - &items[0]), pub->topic, (int)pub->payload_pos, in callback_mqtt()
|
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
H A D | jevents.c | 293 static char *topic; variable 301 i = asprintf(&tp, "%s", topic); in get_topic() 323 free(topic); in add_topic() 324 topic = strdup(bname); in add_topic() 325 if (!topic) { in add_topic() 335 char *topic; member 350 char *topic = pd->topic; in print_events_table_entry() local 363 fprintf(outfp, "\t.topic = \"%s\",\n", topic); in print_events_table_entry() [all...] |
/third_party/ffmpeg/fftools/ |
H A D | opt_common.c | 576 char *topic, *par; in show_help() local 579 topic = av_strdup(arg ? arg : ""); in show_help() 580 if (!topic) in show_help() 582 par = strchr(topic, '='); in show_help() 586 if (!*topic) { in show_help() 587 show_help_default(topic, par); in show_help() 588 } else if (!strcmp(topic, "decoder")) { in show_help() 590 } else if (!strcmp(topic, "encoder")) { in show_help() 592 } else if (!strcmp(topic, "demuxer")) { in show_help() 594 } else if (!strcmp(topic, "muxe in show_help() [all...] |
/third_party/curl/lib/ |
H A D | mqtt.c | 419 char **topic, size_t *topiclen) in mqtt_get_topic() 424 result = Curl_urldecode(path + 1, 0, topic, topiclen, REJECT_NADA); in mqtt_get_topic() 426 failf(data, "Too long MQTT topic"); in mqtt_get_topic() 431 failf(data, "No MQTT topic found. Forgot to URL encode it?"); in mqtt_get_topic() 439 char *topic = NULL; in mqtt_subscribe() local 447 result = mqtt_get_topic(data, &topic, &topiclen); in mqtt_subscribe() 453 packetlen = topiclen + 5; /* packetid + topic (has a two byte length field) in mqtt_subscribe() 454 + 2 bytes topic length + QoS byte */ in mqtt_subscribe() 470 memcpy(&packet[5 + n], topic, topiclen); in mqtt_subscribe() 476 free(topic); in mqtt_subscribe() 418 mqtt_get_topic(struct Curl_easy *data, char **topic, size_t *topiclen) mqtt_get_topic() argument 518 char *topic = NULL; mqtt_publish() local [all...] |
/third_party/curl/tests/server/ |
H A D | mqttd.c | 394 char *topic, char *payload, size_t payloadlen) in publish() 396 size_t topiclen = strlen(topic); in publish() 431 memcpy(&packet[3 + encodedlen], topic, topiclen); in publish() 454 static char topic[MAX_TOPIC_LENGTH + 1]; variable 635 /* two bytes topic length */ in mqttit() 638 logmsg("Wrong topic length, got %zu expected %zu", in mqttit() 642 memcpy(topic, &buffer[4], topic_len); in mqttit() 643 topic[topic_len] = 0; in mqttit() 645 /* there's a QoS byte (two bits) after the topic */ in mqttit() 647 logmsg("SUBSCRIBE to '%s' [%d]", topic, packet_i in mqttit() 392 publish(FILE *dump, curl_socket_t fd, unsigned short packetid, char *topic, char *payload, size_t payloadlen) publish() argument [all...] |
/third_party/gn/src/gn/ |
H A D | standard_out.cc | 222 const std::string& topic, in PrintSectionHelp() 228 } else if (topic.size()) { in PrintSectionHelp() 229 OutputString("\n" + line + " (type \"gn help " + topic + in PrintSectionHelp() 221 PrintSectionHelp(const std::string& line, const std::string& topic, const std::string& tag) PrintSectionHelp() argument
|
/third_party/python/Lib/ |
H A D | pydoc.py | 1805 # These dictionaries map a topic name to either an alias, or a tuple 1884 for topic, symbols_ in _symbols_inverse.items(): 1886 topics = symbols.get(symbol, topic) 1887 if topic not in topics: 1888 topics = topics + ' ' + topic 1890 del topic, symbols_, symbol, topics 2073 Enter the name of any module, keyword, or topic to get help on writing 2113 Here is a list of available topics. Enter any topic name to get more help. 2118 def showtopic(self, topic, more_xrefs=''): 2123 Sorry, topic an [all...] |