Searched refs:crec (Results 1 – 5 of 5) sorted by relevance
/external/dnsmasq/src/ |
D | cache.c | 19 static struct crec *cache_head = NULL, *cache_tail = NULL, **hash_table = NULL; 21 static struct crec *dhcp_spare = NULL; 23 static struct crec *new_chain = NULL; 67 static void cache_free(struct crec *crecp); 68 static void cache_unlink(struct crec *crecp); 69 static void cache_link(struct crec *crecp); 71 static void cache_hash(struct crec *crecp); 75 struct crec *crecp; in cache_init() 85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec)); in cache_init() 105 struct crec **new, **old, *p, *tmp; in rehash() [all …]
|
D | dhcp.c | 922 struct crec *crec; in dhcp_update_configs() local 933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs() 934 (crec->flags & F_HOSTS)) in dhcp_update_configs() 936 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) in dhcp_update_configs() 939 while (crec && !(crec->flags & F_REVERSE)) in dhcp_update_configs() 940 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs() 941 if (!crec) in dhcp_update_configs() 944 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs() 947 if (config_find_by_address(configs, crec->addr.addr.addr.addr4)) in dhcp_update_configs() 949 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs() [all …]
|
D | dnsmasq.h | 260 struct crec { struct 261 struct crec *next, *prev, *hash_next; argument 267 struct crec *cache; argument 696 struct crec *cache_find_by_addr(struct crec *crecp, 699 struct crec *cache_find_by_name(struct crec *crecp, 703 struct crec *cache_insert(char *name, struct all_addr *addr, 709 char *cache_get_name(struct crec *crecp);
|
D | rfc1035.c | 663 struct crec *cpp = NULL; in extract_addresses() 746 struct crec *newc; in extract_addresses() 945 struct crec *crecp; in check_for_local_domain() 1117 static unsigned long crec_ttl(struct crec *crecp, time_t now) in crec_ttl() 1142 struct crec *crecp; in answer_request() 1383 struct crec *save = crecp; in answer_request()
|
/external/skia/src/c/ |
D | sk_surface.cpp | 189 static SkPictureRecorder* AsPictureRecorder(sk_picture_recorder_t* crec) { in AsPictureRecorder() argument 190 return reinterpret_cast<SkPictureRecorder*>(crec); in AsPictureRecorder() 475 void sk_picture_recorder_delete(sk_picture_recorder_t* crec) { in sk_picture_recorder_delete() argument 476 delete AsPictureRecorder(crec); in sk_picture_recorder_delete() 479 sk_canvas_t* sk_picture_recorder_begin_recording(sk_picture_recorder_t* crec, in sk_picture_recorder_begin_recording() argument 481 return ToCanvas(AsPictureRecorder(crec)->beginRecording(AsRect(*cbounds))); in sk_picture_recorder_begin_recording() 484 sk_picture_t* sk_picture_recorder_end_recording(sk_picture_recorder_t* crec) { in sk_picture_recorder_end_recording() argument 485 return ToPicture(AsPictureRecorder(crec)->endRecording()); in sk_picture_recorder_end_recording()
|