Searched refs:crec (Results 1 – 6 of 6) 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 | 700 struct crec *crec; in dhcp_update_configs() local 711 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs() 712 (crec->flags & F_HOSTS)) in dhcp_update_configs() 714 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) in dhcp_update_configs() 717 while (crec && !(crec->flags & F_REVERSE)) in dhcp_update_configs() 718 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs() 719 if (!crec) in dhcp_update_configs() 722 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs() 725 if (config_find_by_address(configs, crec->addr.addr.addr.addr4)) in dhcp_update_configs() 727 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs() [all …]
|
D | dnsmasq.h | 254 struct crec { struct 255 struct crec *next, *prev, *hash_next; argument 261 struct crec *cache; argument 654 struct crec *cache_find_by_addr(struct crec *crecp, 657 struct crec *cache_find_by_name(struct crec *crecp, 661 struct crec *cache_insert(char *name, struct all_addr *addr, 667 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() 948 struct crec *crecp; in check_for_local_domain() 1120 static unsigned long crec_ttl(struct crec *crecp, time_t now) in crec_ttl() 1145 struct crec *crecp; in answer_request() 1389 struct crec *save = crecp; in answer_request()
|
/external/skqp/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)->finishRecordingAsPicture().release()); in sk_picture_recorder_end_recording()
|
/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)->finishRecordingAsPicture().release()); in sk_picture_recorder_end_recording()
|