Lines Matching full:links
26 * num of real links: 2 bytes
27 * links[number of real links]: link_t struct
29 * TODO(garretrieger): add optional virtual links
55 link_t* links, uint16_t num_links) in add_links_to_objects() argument
61 uint16_t parent_idx = links[i].parent; in add_links_to_objects()
75 uint16_t parent_idx = links[i].parent; in add_links_to_objects()
76 uint16_t child_idx = links[i].child + 1; // All indices are shifted by 1 by the null object. in add_links_to_objects()
79 link->width = links[i].width; in add_links_to_objects()
80 link->position = links[i].position; in add_links_to_objects()
97 link_t* links = nullptr; in LLVMFuzzerTestOneInput() local
120 links = (link_t*) calloc (num_real_links, sizeof (link_t)); in LLVMFuzzerTestOneInput()
123 if (!read<link_t> (&data, &size, &links[i])) goto end; in LLVMFuzzerTestOneInput()
125 if (links[i].parent >= num_objects) in LLVMFuzzerTestOneInput()
130 links, num_real_links); in LLVMFuzzerTestOneInput()
142 free (links); in LLVMFuzzerTestOneInput()