rlar
9b75fcb9ce
dctrcurv.c, #5/7, cleanup while loop
10 years ago
rlar
437bc36a8f
dctrcurv.c, #4/7, polish comments
10 years ago
rlar
f77485b081
dctrcurv.c, #3/7, express the value of 'i' more verbosely
10 years ago
rlar
b43a98e0c9
dctrcurv.c, #2/7, use 'j' here for simplicity
10 years ago
rlar
8baf4f435f
dctrcurv.c, #1/7, whitespace cleanup
10 years ago
rlar
5b42d09618
unify, use memcpy for CKTstate copy operations
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
h_vogt
9ab2960e87
frontend/measure.c, remove memory leak
10 years ago
h_vogt
4047a794e7
bsim3v3.24: add OMP support
model is still used by commercial (e.g. X-fab) libraries
10 years ago
h_vogt
151fed6084
bsim3v3.24: add model parameter lmlt (Channel length scaling)
10 years ago
h_vogt
af53cbb415
bsim4, bug fix (when USE_OMP), uninitialised variable `here->BSIM4_27'
10 years ago
h_vogt
f22e8dd970
b4v5dest.c, b4v6dest.c, remove memory leak
10 years ago
h_vogt
f997203c6d
add OMP support to BSIM4.5 model
10 years ago
h_vogt
c74ad9b3ee
control.c, remove memory leaks
10 years ago
rlar
c0513ed573
inp.c, rewrite inp_savecurrents()
10 years ago
h_vogt
893157b11f
inp.c, inp_savecurrents(), remove a memory leak
10 years ago
h_vogt
29cb659235
runcoms2.c, com_remcirc(), remove a memory leak
10 years ago
h_vogt
da92a2483e
inpcom.c, inp_expand_macro_in_str(), remove a memory leak
10 years ago
rlar
88ee1f9196
com_option.c, com_option(), cleanup, rename variables
10 years ago
h_vogt
fa9eb77c0a
com_option.c, com_option(), remove a memory leak
10 years ago
h_vogt
3c2c6e8cde
vectors.c, vec_get(), remove a memory leak
10 years ago
h_vogt
1ef05dc51b
inpcom.c, free_function(), remove a memory leak
10 years ago
h_vogt
fca8ab3146
cmath4.c, cx_deriv(), remove a memory leak
10 years ago
rlar
51fa006c63
INPparseNumMod(), #14/14, whitespace cleanup
10 years ago
rlar
0b1c79172c
INPparseNumMod(), #13/14, invert 'if' statement
10 years ago
rlar
aa5afccf15
INPparseNumMod(), #12/14, use 'info' instead of 'lastType'
to signify having read a cardName
10 years ago
rlar
c4d39d66de
INPparseNumMod(), #11/14, remove unused 'cardType'
10 years ago
rlar
521fd16c11
INPparseNumMod(), #10/14, don't fall through into the 'default:'
instead, duplicate the code of the 'default:' and break
10 years ago
rlar
6b305744d9
INPparseNumMod(), #9/14, invert the 'if' statement
10 years ago
rlar
1483e2df9a
INPparseNumMod(), #8/14, move the 'default:' body out of the 'switch'
this body is inevitable, as there is no other break out of the 'switch'
10 years ago
rlar
1a9bcf6b33
INPparseNumMod(), #7/14, use 'lastType' instead of the identical 'cardType'
there is no further access to cardType
thus can drop the reduntandant assignments to cardType
10 years ago
rlar
110f16b361
INPparseNumMod(), #6/14, again, assign 'lastType' sooner
in the block in-between those two positions
there is no access to lastType
there is no 'continue'
there is no 'break' out of the enclosing switch
thus the assignment is inevitable
there is one position where cardType is modified,
need to assign to lastType there too to keep it in sync
10 years ago
rlar
18d6679c02
INPparseNumMod(), #5/14, use 'lastType' instead of the identical 'cardType'
10 years ago
rlar
11f3907139
INPparseNumMod(), #4/14, assign 'lastType' sooner
in the block in-between those two positions
there is no access to lastType or cardType
there is no 'continue'
there is no 'break' out of the enclosing 'switch'
thus the assignment is inevitable
10 years ago
rlar
7862a4f59f
INPparseNumMod(), #3/14, `continue' the loop instead of
'break'ing out of the `switch'
this is equivalent because the 'switch' is the last statement in the loop body
10 years ago
rlar
c1c7b5305e
INPparseNumMod(), #2/14, transform the `while' loop into a `for' loop
there was no 'continue' for this loop
there was no 'break' out of this loop
there was no assignment to txtCard, thus txtCard can't be NULL
10 years ago
rlar
e824cbd193
INPparseNumMod(), #1/14, return sooner
setting txtCard to 0 and cardType to E_MISSING (which is < 0)
caused the following `if (cardType >= 0)' to be skipped
and then broke out of the enclosing 'while' loop
in this case, there where no other statements executed
10 years ago
rlar
5522bfd814
tests/regression/sens, add some tests for "sensitivity" analysis
10 years ago
h_vogt
77380219d8
breakp2.c, prevent crash in `save' command if no circuit is loaded
10 years ago
rlar
34f8841805
cpl/cplsetup.c, cleanup
10 years ago
h_vogt
7ea4e99842
numparam/general.h, remove redundant memory management functions
10 years ago
rlar
a6f530b95c
USE_OMP, cleanup initialisation of local variable `model'
10 years ago
rlar
5b2fa579f1
USE_OMP, rename variables, `good' --> `error'
to express the actual meaning of these variables
10 years ago
rlar
fddbb7d9eb
USE_OMP, fix type of local variables `idx' and `InstCount'
10 years ago
rlar
994bec7859
declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
10 years ago
h_vogt
6a7895fbc1
frontend/options.c, fix memory leak (pl_name, pl_title, pl_date)
10 years ago
rlar
1c565a1a89
frontend/rawfile.c, raw_write(), fix memory ownership for pl_title and pl_date
avoid assigning cloned strings
to pl_date/pl_title fields of multiple plots
avoid excess allocation
10 years ago
h_vogt
236b99f2b1
cktdest.c, xspice, set g_mif_info.ckt = NULL
when destroying/remcirc'ing a circuit
to avoid a crash in EVTfindvec()
which might try to access fields in the destroyed CKTcircuit
( excercise: tran, remcirc, load rawfile, plot something_nonexistant )
10 years ago
h_vogt
0252f7b9cb
examples/various/ro_17_4.cir, a ring oscillator with BSIM4 using 'xmu'
10 years ago