Lines Matching refs:namelen
18 unsigned int namelen = 0; /* <= sizeof name */
28 if (namelen + labellen + 1 > sizeof name)
30 name[namelen++] = labellen;
31 memcpy(name + namelen, label, labellen);
32 namelen += labellen;
43 if (namelen + labellen + 1 > sizeof name)
45 name[namelen++] = labellen;
46 memcpy(name + namelen, label, labellen);
47 namelen += labellen;
51 if (namelen + 1 > sizeof name)
53 name[namelen++] = 0; // This is the root label (of length 0).
55 *out = std::string(name, namelen);