Lines Matching refs:StatusTuple
130 static StatusTuple unimplemented_sscanf(const char *, void *) { in unimplemented_sscanf()
131 return StatusTuple(-1, "sscanf unimplemented"); in unimplemented_sscanf()
133 static StatusTuple unimplemented_snprintf(char *, size_t, const void *) { in unimplemented_snprintf()
134 return StatusTuple(-1, "snprintf unimplemented"); in unimplemented_snprintf()
554 StatusTuple BPFModule::sscanf(string fn_name, const char *str, void *val) { in sscanf()
556 return StatusTuple(-1, "rw_engine not enabled"); in sscanf()
560 return StatusTuple(-1, "sscanf not available"); in sscanf()
563 return StatusTuple(rc, "error in sscanf: %s", std::strerror(errno)); in sscanf()
564 return StatusTuple(rc); in sscanf()
567 StatusTuple BPFModule::snprintf(string fn_name, char *str, size_t sz, in snprintf()
570 return StatusTuple(-1, "rw_engine not enabled"); in snprintf()
574 return StatusTuple(-1, "snprintf not available"); in snprintf()
577 return StatusTuple(rc, "error in snprintf: %s", std::strerror(errno)); in snprintf()
579 return StatusTuple(-1, "buffer of size %zd too small", sz); in snprintf()
580 return StatusTuple(0); in snprintf()
917 StatusTuple rc = desc.key_snprintf(buf, buflen, key); in table_key_printf()
929 StatusTuple rc = desc.leaf_snprintf(buf, buflen, leaf); in table_leaf_printf()
941 StatusTuple rc = desc.key_sscanf(key_str, key); in table_key_scanf()
953 StatusTuple rc = desc.leaf_sscanf(leaf_str, leaf); in table_leaf_scanf()