Lines Matching refs:key
70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
352 val = (struct json_object*)entry ## key->v; \
353 entry_next ## key = entry ## key->next; \
354 } ; entry ## key; }); \
355 entry ## key = entry_next ## key )
359 # define json_object_object_foreach(obj,key,val) \ argument
360 char *key;\
362 struct lh_entry *entry ## key; \
363 struct lh_entry *entry_next ## key = NULL; \
364 for(entry ## key = json_object_get_object(obj)->head; \
365 (entry ## key ? ( \
366 key = (char*)entry ## key->k, \
367 val = (struct json_object*)entry ## key->v, \
368 entry_next ## key = entry ## key->next, \
369 entry ## key) : 0); \
370 entry ## key = entry_next ## key)
379 …for(iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k…