Lines Matching refs:ll
105 addlabel(labellist *ll, int type, const char *str) in addlabel() argument
110 for (i = 0; i < ll->ll_nlabels; i++) { in addlabel()
111 if (ll->ll_label[i].lb_type == type && in addlabel()
112 strcmp(ll->ll_label[i].lb_str, str) == 0) in addlabel()
115 ll->ll_label = (label *)PyObject_REALLOC(ll->ll_label, in addlabel()
116 sizeof(label) * (ll->ll_nlabels + 1)); in addlabel()
117 if (ll->ll_label == NULL) in addlabel()
119 lb = &ll->ll_label[ll->ll_nlabels++]; in addlabel()
123 printf("Label @ %8p, %d: %s\n", ll, ll->ll_nlabels, in addlabel()
125 return Py_SAFE_DOWNCAST(lb - ll->ll_label, intptr_t, int); in addlabel()
131 findlabel(labellist *ll, int type, const char *str) in findlabel() argument
135 for (i = 0; i < ll->ll_nlabels; i++) { in findlabel()
136 if (ll->ll_label[i].lb_type == type /*&& in findlabel()