Lines Matching defs:c
23 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright (c) 2012 by Delphix. All rights reserved.
218 dtrace_class_t c;
256 for (c = 0; c <= DTRACE_CLASS_MAX; c++) {
257 if (strcasecmp(p, dtrace_class_name(c)) == 0) {
258 attr->dtat_class = c;
263 if (c > DTRACE_CLASS_MAX || (p = dt_getstrattr(q, &q)) != NULL)
286 dtrace_class_name(dtrace_class_t c)
288 switch (c) {
352 (void) snprintf(buf, len, "[%c/%c/%c]", stability[a.dtat_name],
381 char c;
383 while ((c = *s++) != '\0') {
384 if (isdigit(c))
385 n[i] = n[i] * 10 + c - '0';
386 else if (c != '.' || i++ >= sizeof (n) / sizeof (n[0]) - 1)
874 char name[PATH_MAX], objname[PATH_MAX], c[PATH_MAX * 2];
883 (void) snprintf(c, sizeof (c), "0x%llx", addr);
884 return (dt_string2str(c, str, nbytes));
895 (void) snprintf(c, sizeof (c), "%s`%s+0x%llx", obj,
898 (void) snprintf(c, sizeof (c), "%s`%s", obj, name);
901 (void) snprintf(c, sizeof (c), "%s`0x%llx",
904 (void) snprintf(c, sizeof (c), "0x%llx", addr);
910 return (dt_string2str(c, str, nbytes));