Home | History | Annotate | Download | only in sysmon

Lines Matching refs:dict

46 sme_sensor_upbool(prop_dictionary_t dict, const char *key, bool val)
50 KASSERT(dict != NULL);
52 obj = prop_dictionary_get(dict, key);
55 if (!prop_dictionary_set_bool(dict, key, val)) {
62 if (!prop_dictionary_set_bool(dict, key, val)) {
73 sme_sensor_upint32(prop_dictionary_t dict, const char *key, int32_t val)
77 KASSERT(dict != NULL);
79 obj = prop_dictionary_get(dict, key);
82 if (!prop_dictionary_set_int32(dict, key, val)) {
89 if (!prop_dictionary_set_int32(dict, key, val)) {
100 sme_sensor_upuint32(prop_dictionary_t dict, const char *key, uint32_t val)
104 KASSERT(dict != NULL);
106 obj = prop_dictionary_get(dict, key);
109 if (!prop_dictionary_set_uint32(dict, key, val)) {
116 if (!prop_dictionary_set_uint32(dict, key, val)) {
127 sme_sensor_upstring(prop_dictionary_t dict, const char *key, const char *str)
131 KASSERT(dict != NULL);
133 obj = prop_dictionary_get(dict, key);
135 if (!prop_dictionary_set_string(dict, key, str)) {
142 if (!prop_dictionary_set_string(dict, key, str)) {