Lines Matching refs:found
67 size_t found; in split() local
69 found = line.find_first_of(delimiters, base); in split()
70 if (found != base) { in split()
71 std::string word = (*func) (line.substr(base, found - base)); in split()
76 if (found == line.npos) break; in split()
77 base = found + 1; in split()
212 auto found = line->find_first_of(cut); in behead() local
213 if (found == std::string::npos) { in behead()
218 std::string head = line->substr(0, found); in behead()
219 while(line->at(found) == cut) found++; // trim more cut of the rest in behead()
220 line->assign(line->substr(found)); in behead()
316 uint64_t found = mFields[name]; in insertField() local
318 switch ((found & FIELD_COUNT_MASK) | (found & FIELD_TYPE_MASK)) { in insertField()
321 proto->write(found, toDouble(value)); in insertField()
325 proto->write(found, value); in insertField()
332 proto->write(found, toLongLong(value)); in insertField()
336 proto->write(found, true); in insertField()
340 proto->write(found, false); in insertField()
348 proto->write(found, mEnums[name][value]); in insertField()
350 proto->write(found, 0); // TODO: should get the default enum value (Unknown) in insertField()
353 proto->write(found, mEnumValuesByName[value]); in insertField()
355 proto->write(found, toInt(value)); in insertField()
365 proto->write(found, toInt(value)); in insertField()
371 proto->write(found, toInt(repeats[i])); in insertField()
377 proto->write(found, repeats[i]); in insertField()