Lines Matching refs:StatusTuple
410 StatusTuple BPFModule::sscanf(string fn_name, const char *str, void *val) { in sscanf()
412 return StatusTuple(-1, "rw_engine not enabled"); in sscanf()
416 return StatusTuple(-1, "sscanf not available"); in sscanf()
419 return StatusTuple(rc, "error in sscanf: %s", std::strerror(errno)); in sscanf()
420 return StatusTuple(rc); in sscanf()
423 StatusTuple BPFModule::snprintf(string fn_name, char *str, size_t sz, in snprintf()
426 return StatusTuple(-1, "rw_engine not enabled"); in snprintf()
430 return StatusTuple(-1, "snprintf not available"); in snprintf()
433 return StatusTuple(rc, "error in snprintf: %s", std::strerror(errno)); in snprintf()
435 return StatusTuple(-1, "buffer of size %zd too small", sz); in snprintf()
436 return StatusTuple(0); in snprintf()