Home
last modified time | relevance | path

Searched refs:value_handle (Results 1 – 25 of 186) sorted by relevance

12345678

/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/filter/
H A Dfilter-re.c34 NVHandle value_handle; member
68 value = log_msg_get_value(msg, self->value_handle, &len); in filter_re_eval()
71 rc = filter_re_eval_string(s, msg, self->value_handle, value, len); in filter_re_eval()
116 filter_re_init_instance(FilterRE *self, NVHandle value_handle) in filter_re_init_instance() argument
119 self->value_handle = value_handle; in filter_re_init_instance()
129 filter_re_new(NVHandle value_handle) in filter_re_new() argument
133 filter_re_init_instance(self, value_handle); in filter_re_new()
161 return self->super.value_handle == 0 && self->template == NULL; in filter_match_is_usage_obsolete()
165 filter_match_set_value_handle(FilterExprNode *s, NVHandle value_handle) in filter_match_set_value_handle() argument
169 self->super.value_handle = value_handle; in filter_match_set_value_handle()
[all …]
H A Dfilter-in-list.c37 NVHandle value_handle; member
49 value = log_msg_get_value(msg, self->value_handle, &len); in filter_in_list_eval()
86 self->value_handle = log_msg_get_value_handle(property); in filter_in_list_new()
H A Dfilter-re.h34 FilterExprNode *filter_re_new(NVHandle value_handle);
38 void filter_match_set_value_handle(FilterExprNode *s, NVHandle value_handle);
/dports/lang/micropython/micropython-1.17/extmod/btstack/
H A Dmodbluetooth_btstack.c151 uint16_t value_handle; member
203 pending_op->value_handle = value_handle; in btstack_enqueue_pending_operation()
236 …pending_op->conn_handle == conn_handle && (value_handle == 0xffff || pending_op->value_handle == v… in btstack_finish_pending_operation()
471 uint16_t value_handle = gatt_event_notification_get_value_handle(packet); in btstack_packet_handler() local
478 uint16_t value_handle = gatt_event_indication_get_value_handle(packet); in btstack_packet_handler() local
1099 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_notify() argument
1122 int err = att_server_notify(conn_handle, value_handle, value, value_len); in mp_bluetooth_gatts_notify_send()
1143 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_indicate() argument
1159 int err = att_server_indicate(conn_handle, value_handle, data, len); in mp_bluetooth_gatts_indicate()
1358 .value_handle = 0, in mp_bluetooth_gattc_discover_descriptors()
[all …]
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Mesh/
H A DIteratorsT.hh87 typedef ValueHandle value_handle; typedef in OpenMesh::Iterators::GenericIteratorT
88 typedef value_handle value_type;
103 GenericIteratorT(mesh_ref _mesh, value_handle _hnd, bool _skip=false) in GenericIteratorT()
125 value_handle handle() const { in handle()
136 operator value_handle() const { in operator value_handle()
166 template<class T = value_handle>
171 static_assert(std::is_same<T, value_handle>::value, in operator +=()
180 template<class T = value_handle>
185 static_assert(std::is_same<T, value_handle>::value,
/dports/lang/micropython/micropython-1.17/extmod/
H A Dmodbluetooth.h336 int mp_bluetooth_gatts_read(uint16_t value_handle, uint8_t **value, size_t *value_len);
338 int mp_bluetooth_gatts_write(uint16_t value_handle, const uint8_t *value, size_t value_len, bool se…
340 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle);
342 int mp_bluetooth_gatts_notify_send(uint16_t conn_handle, uint16_t value_handle, const uint8_t *valu…
344 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle);
348 int mp_bluetooth_gatts_set_buffer(uint16_t value_handle, size_t len, bool append);
387 int mp_bluetooth_gattc_read(uint16_t conn_handle, uint16_t value_handle);
433 void mp_bluetooth_gatts_on_write(uint16_t conn_handle, uint16_t value_handle);
436 void mp_bluetooth_gatts_on_indicate_complete(uint16_t conn_handle, uint16_t value_handle, uint8_t s…
440 mp_int_t mp_bluetooth_gatts_on_read_request(uint16_t conn_handle, uint16_t value_handle);
[all …]
H A Dmodbluetooth.c734 mp_int_t value_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gatts_notify() local
760 mp_int_t value_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gatts_set_buffer() local
1216 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_write()
1226 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_read_request()
1326 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gattc_on_data_available()
1421 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gatts_on_write()
1431 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gatts_on_indicate_complete()
1439 (void)value_handle; in mp_bluetooth_gatts_on_read_request()
1506 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gattc_on_characteristic_result()
1549 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gattc_on_data_available()
[all …]
/dports/lang/micropython/micropython-1.17/tests/multi_bluetooth/
H A Dble_characteristic.py145 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
150 ble.gattc_read(conn_handle, value_handle)
155 ble.gattc_write(conn_handle, value_handle, "central0", 1)
160 ble.gattc_read(conn_handle, value_handle)
165 ble.gattc_write(conn_handle, value_handle, "central1", 1)
170 ble.gattc_read(conn_handle, value_handle)
175 ble.gattc_write(conn_handle, value_handle, "central2", 1)
180 ble.gattc_read(conn_handle, value_handle)
H A Dble_subscribe.py182 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
186 ble.gattc_discover_descriptors(conn_handle, value_handle, value_handle + 5)
192 ble.gattc_read(conn_handle, value_handle)
202 ble.gattc_write(conn_handle, value_handle, "central0", 1)
212 ble.gattc_write(conn_handle, value_handle, "central1", 1)
222 ble.gattc_write(conn_handle, value_handle, "central2", 1)
232 ble.gattc_write(conn_handle, value_handle, "central3", 1)
H A Dperf_gatt_notify.py49 conn_handle, value_handle, notify_data = data
50 ble.gatts_notify(conn_handle, value_handle, b"central" + notify_data)
78 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
88 ble.gatts_notify(conn_handle, value_handle, "peripheral" + str(i))
120 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
H A Dble_gap_device_name.py89 value_handle = None
104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
109 ble.gattc_read(conn_handle, value_handle)
H A Dperf_gatt_char_write.py104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
119 ble.gattc_write(conn_handle, value_handle, data, mode)
124 ble.gattc_write(conn_handle, value_handle, data, mode)
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/
H A Dlogmatcher.h71 …gboolean (*match)(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gssize va…
73 …gchar *(*replace)(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gssize va…
85 log_matcher_match(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gssize val… in log_matcher_match() argument
87 return s->match(s, msg, value_handle, value, value_len); in log_matcher_match()
91 log_matcher_replace(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gssize v… in log_matcher_replace() argument
95 return s->replace(s, msg, value_handle, value, value_len, replacement, new_length); in log_matcher_replace()
H A Dlogmatcher.c34 _shall_set_values_indirectly(NVHandle value_handle) in _shall_set_values_indirectly() argument
36 return value_handle != LM_V_NONE && in _shall_set_values_indirectly()
37 !log_msg_is_handle_macro(value_handle) && in _shall_set_values_indirectly()
38 !log_msg_is_handle_match(value_handle); in _shall_set_values_indirectly()
127 log_matcher_string_match(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gss… in log_matcher_string_match() argument
135 log_matcher_string_replace(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, g… in log_matcher_string_replace() argument
239 log_matcher_glob_match(LogMatcher *s, LogMessage *msg, gint value_handle, const gchar *value, gssiz… in log_matcher_glob_match() argument
399 gboolean indirect = _shall_set_values_indirectly(value_handle); in log_matcher_pcre_re_feed_backrefs()
411 log_msg_set_match_indirect(msg, i, value_handle, 0, begin_index, end_index - begin_index); in log_matcher_pcre_re_feed_backrefs()
522 log_matcher_pcre_re_feed_backrefs(s, msg, value_handle, matches, rc, value); in log_matcher_pcre_re_match()
[all …]
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/rewrite/
H A Drewrite-subst.c62 value = log_msg_get_value(msg, self->super.value_handle, &length); in log_rewrite_subst_process()
63 …new_value = log_matcher_replace(self->matcher, msg, self->super.value_handle, value, length, self-… in log_rewrite_subst_process()
70 evt_tag_str("value", log_msg_get_value_name(s->value_handle, NULL)), in log_rewrite_subst_process()
76 log_msg_set_value(msg, self->super.value_handle, new_value, new_length); in log_rewrite_subst_process()
82 evt_tag_str("value", log_msg_get_value_name(s->value_handle, NULL)), in log_rewrite_subst_process()
119 cloned->super.value_handle = self->super.value_handle; in log_rewrite_subst_clone()
H A Drewrite-unset.c44 log_msg_unset_value(*pmsg, self->super.value_handle); in log_rewrite_unset_process()
54 cloned->super.value_handle = self->super.value_handle; in log_rewrite_unset_clone()
H A Drewrite-set.c60 log_msg_set_value(*pmsg, self->super.value_handle, result->str, result->len); in log_rewrite_set_process()
70 cloned->super.value_handle = self->super.value_handle; in log_rewrite_set_clone()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/metrics-runtime-0.13.0/src/
H A Dsink.rs143 let value_handle = self.get_cached_value_handle(id); in increment_counter() localVariable
144 value_handle.update_counter(value); in increment_counter()
167 let value_handle = self.get_cached_value_handle(id); in increment_counter_with_labels() localVariable
168 value_handle.update_counter(value); in increment_counter_with_labels()
190 let value_handle = self.get_cached_value_handle(id); in update_gauge() localVariable
191 value_handle.update_gauge(value); in update_gauge()
214 let value_handle = self.get_cached_value_handle(id); in update_gauge_with_labels() localVariable
215 value_handle.update_gauge(value); in update_gauge_with_labels()
302 let value_handle = self.get_cached_value_handle(id); in record_value() localVariable
303 value_handle.update_histogram(value); in record_value()
[all …]
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Mesh/gen/
H A Diterators_template.hh17 typedef TargetHandle value_handle; typedef in IteratorT
41 IteratorT(mesh_ref _mesh, value_handle _hnd, bool _skip=false) in IteratorT()
93 value_handle handle() const { return hnd_; } in handle()
96 operator value_handle() const { return hnd_; } in operator value_handle()
158 value_handle hnd_;
/dports/lang/micropython/micropython-1.17/ports/zephyr/
H A Dmodbluetooth_zephyr.c304 int mp_bluetooth_gatts_read(uint16_t value_handle, uint8_t **value, size_t *value_len) { in mp_bluetooth_gatts_read() argument
308 …atts_db_read(MP_STATE_PORT(bluetooth_zephyr_root_pointers)->gatts_db, value_handle, value, value_l… in mp_bluetooth_gatts_read()
311 int mp_bluetooth_gatts_write(uint16_t value_handle, const uint8_t *value, size_t value_len, bool se… in mp_bluetooth_gatts_write() argument
318 …tts_db_write(MP_STATE_PORT(bluetooth_zephyr_root_pointers)->gatts_db, value_handle, value, value_l… in mp_bluetooth_gatts_write()
321 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_notify() argument
328 int mp_bluetooth_gatts_notify_send(uint16_t conn_handle, uint16_t value_handle, const uint8_t *valu… in mp_bluetooth_gatts_notify_send() argument
335 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_indicate() argument
342 int mp_bluetooth_gatts_set_buffer(uint16_t value_handle, size_t len, bool append) { in mp_bluetooth_gatts_set_buffer() argument
/dports/lang/micropython/micropython-1.17/examples/bluetooth/
H A Dble_temperature_central.py142 conn_handle, def_handle, value_handle, properties, uuid = data
144 self._value_handle = value_handle
157 conn_handle, value_handle, char_data = data
158 if conn_handle == self._conn_handle and value_handle == self._value_handle:
166 conn_handle, value_handle, status = data
170 conn_handle, value_handle, notify_data = data
171 if conn_handle == self._conn_handle and value_handle == self._value_handle:
H A Dble_simple_central.py130 conn_handle, def_handle, value_handle, properties, uuid = data
132 self._rx_handle = value_handle
134 self._tx_handle = value_handle
146 conn_handle, value_handle, status = data
150 conn_handle, value_handle, notify_data = data
151 if conn_handle == self._conn_handle and value_handle == self._tx_handle:
H A Dble_simple_peripheral.py59 conn_handle, value_handle = data
60 value = self._ble.gatts_read(value_handle)
61 if value_handle == self._handle_rx and self._write_callback:
/dports/lang/micropython/micropython-1.17/extmod/nimble/
H A Dmodbluetooth_nimble.c851 int req = mp_bluetooth_gatts_on_read_request(conn_handle, value_handle); in characteristic_access_cb()
883 mp_bluetooth_gatts_on_write(conn_handle, value_handle); in characteristic_access_cb()
1018 ble_gatts_chr_updated(value_handle); in mp_bluetooth_gatts_write()
1025 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_notify() argument
1031 return ble_hs_err_to_errno(ble_gattc_notify(conn_handle, value_handle)); in mp_bluetooth_gatts_notify()
1042 return ble_hs_err_to_errno(ble_gattc_notify_custom(conn_handle, value_handle, om)); in mp_bluetooth_gatts_notify_send()
1045 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_indicate() argument
1051 return ble_hs_err_to_errno(ble_gattc_indicate(conn_handle, value_handle)); in mp_bluetooth_gatts_indicate()
1054 int mp_bluetooth_gatts_set_buffer(uint16_t value_handle, size_t len, bool append) { in mp_bluetooth_gatts_set_buffer() argument
1361 int mp_bluetooth_gattc_read(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gattc_read() argument
[all …]
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/template/tests/
H A Dtest_template_compile.c81 …ted_elem.type) == LTE_VALUE) cr_assert_eq(current_elem->value_handle, expected_elem.value_handle, …
220 …assert_compiled_template(text = "Test \\", default_value = NULL, value_handle = log_msg_get_value_… in Test()
275 …assert_compiled_template(text = "", default_value = NULL, value_handle = log_msg_get_value_handle(… in Test()
282 …assert_compiled_template(text = "", default_value = NULL, value_handle = log_msg_get_value_handle(… in Test()
289 …assert_compiled_template(text = "", default_value = NULL, value_handle = log_msg_get_value_handle(… in Test()
296 …assert_compiled_template(text = "", default_value = NULL, value_handle = log_msg_get_value_handle(… in Test()

12345678