Lines Matching refs:length
71 to->length = from->length;
72 to->data = malloc(to->length * sizeof(to->data[0]));
73 if(to->length != 0 && to->data == NULL)
75 memcpy(to->data, from->data, to->length * sizeof(to->data[0]));
83 to->length = from->length;
84 to->data = malloc(to->length * sizeof(to->data[0]));
85 if(to->length != 0 && to->data == NULL)
87 memcpy(to->data, from->data, to->length * sizeof(to->data[0]));
101 to->length = from->length;
102 to->data = malloc(to->length);
103 if(to->length != 0 && to->data == NULL)
105 memcpy(to->data, from->data, to->length);
112 to->length = from->length;
113 to->data = malloc(to->length);
114 if(to->length != 0 && to->data == NULL)
116 memcpy(to->data, from->data, to->length);
124 to->length = from->length;
125 to->components = malloc(to->length * sizeof(*to->components));
126 if (to->length != 0 && to->components == NULL)
129 to->length * sizeof(*to->components));
138 len = (from->length + 7) / 8;
139 to->length = from->length;