Deleted Added
full compact
dt_printf.c (256281) dt_printf.c (268578)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright (c) 2011, Joyent, Inc. All rights reserved.
25 * Copyright (c) 2012 by Delphix. All rights reserved.
24 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
25 * Copyright (c) 2013 by Delphix. All rights reserved.
26 */
27
28#if defined(sun)
29#include <sys/sysmacros.h>
30#else
31#define ABS(a) ((a) < 0 ? -(a) : (a))
32#endif
33#include <string.h>

--- 1031 unchanged lines hidden (view full) ---

1065 aggtype = "int64_t";
1066 else
1067 aggtype = "uint64_t";
1068
1069 if (dt_type_lookup(aggtype, &dtt) != 0)
1070 xyerror(D_TYPE_ERR, "failed to lookup agg type %s\n", aggtype);
1071
1072 bzero(&aggnode, sizeof (aggnode));
26 */
27
28#if defined(sun)
29#include <sys/sysmacros.h>
30#else
31#define ABS(a) ((a) < 0 ? -(a) : (a))
32#endif
33#include <string.h>

--- 1031 unchanged lines hidden (view full) ---

1065 aggtype = "int64_t";
1066 else
1067 aggtype = "uint64_t";
1068
1069 if (dt_type_lookup(aggtype, &dtt) != 0)
1070 xyerror(D_TYPE_ERR, "failed to lookup agg type %s\n", aggtype);
1071
1072 bzero(&aggnode, sizeof (aggnode));
1073 dt_node_type_assign(&aggnode, dtt.dtt_ctfp, dtt.dtt_type);
1073 dt_node_type_assign(&aggnode, dtt.dtt_ctfp, dtt.dtt_type, B_FALSE);
1074
1075 for (i = 0, j = 0; i < pfv->pfv_argc; i++, pfd = pfd->pfd_next) {
1076 const dt_pfconv_t *pfc = pfd->pfd_conv;
1077 const char *dyns[2];
1078 int dync = 0;
1079
1080 char vname[64];
1081 dt_node_t *vnp;

--- 984 unchanged lines hidden ---
1074
1075 for (i = 0, j = 0; i < pfv->pfv_argc; i++, pfd = pfd->pfd_next) {
1076 const dt_pfconv_t *pfc = pfd->pfd_conv;
1077 const char *dyns[2];
1078 int dync = 0;
1079
1080 char vname[64];
1081 dt_node_t *vnp;

--- 984 unchanged lines hidden ---