Lines Matching refs:length
151 ssize_t length;
165 * Calculate string length
168 length = *lenptr;
170 length = len;
172 if (length == SQL_NTS)
173 length = STRLEN (str);
179 if ((dup = (SQLCHAR *) malloc (length + 1)) == NULL)
181 memcpy (dup, str, length);
182 dup[length] = '\0';
188 trace_emit_string (dup, length, 0);
201 long length;
215 * Calculate string length
218 length = *lenptr;
220 length = len;
225 dup = dm_SQL_W2A (str, length);