• Home
  • History
  • Annotate
  • only in /external/srec/srec/clib/
History log of /external/srec/srec/clib/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
73018b4a1d088cdda0e7bd059fddf1f308a8195a 29-May-2014 Ian Rogers <irogers@google.com> Fix 64-bit issues and compiler warnings.

Enabled -Werror on a 64-bit host build (BUILD_HOST_64bit=1), ignored
unused parameter warnings and then cleaned up what remained. The most
concerning issue was always true comparisons caused by comparing an
unsigned int with a size_t.

Migrate C++ code to use C++11.
rec_arb.c
wimodel.c
b3adea6f471d03c5bd728725adc7ca1cea89edfd 14-Mar-2013 Marcus Oakland <marcus.oakland@arm.com> AArch64: Enable build on 64-bit AArch64 platform

Changes include
[x] Addition of a new function lstrtosize_t

Since size_t is not the same size as an unsigned int in
AArch64, a new function lstrtosize_t has been devised for
use in the shared/src/SessionTypeImpl.c and
srec/Recognizer/src/RecognizerImpl.c modules in place
of the lstrtoui function (which is for unsigned integers).

lstrtosize_t is implemented in the portable/src/LCHAR.c
module and declared in portable/include/LCHAR.h header file.

It makes use of the LSTRTOULL macro defined in the
portable/include/ptypes.h header file, indicating the
function to be used to convert an unsigned long long to a
string.

[x] Changes in srec/cfront/sh_down.h header file

This is because the value of LONG_MAX is different on
__LP64__ with 64-bit longs, and the function converts to
an int, not to a long.

[x] Changes to the srec/test/SRecTest/src/SRecTest.c
and srec/test/SRecTestAudio/src/SRecTestAudio.c modules

These changes correct the parameter types for the call to
SR_RecognizerPutAudio and pfread to be the expected size_t,
again because size_t is not the same as unsigned int in __LP64__.

[x] Rest of the changes are related to general conversion from
32-bit to 64-bit including proper casts of pointers, changes
from int to long, jint to jlong.

Change-Id: I3cc7d3a89161ab098a4bd133ea96b1158630b0e1
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
wicms.c
451b70dd901181b96a027b1d44e4764a156c0330 15-Aug-2013 Christer Fletcher <christer.fletcher@sonymobile.com> Correct infinite loop in swicms_set_cmn

When using Recognizer.setAcousticState a call is made down to
swicms_set_cmn in srec. If a valid vector is provided swicms_set_cmn
will loop indefinitely. Increase dim_count in the while loop to
prevent it.

Change-Id: I133bdaa6defd0677f56d0418832bb432d9feddba
wicms.c
4a68b3365c8c50aa93505e99ead2565ab73dcdb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
norm_tr.c
pi_tgt.c
pi_tgt.inl
meld_rd.c
meld_tr.c
acobi.c
og_add.c
og_add.h
atrix_i.c
atx_ops.c
atx_ops.h
emmove.h
pecnorm.c
rec_arb.c
wicms.c
wimodel.c
oc_read.c
oicing.c
e6733b78b94eb6701345e1a7244ab54dad60d47d 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
norm_tr.c
pi_tgt.c
pi_tgt.inl
meld_rd.c
meld_tr.c
acobi.c
og_add.c
og_add.h
atrix_i.c
atx_ops.c
atx_ops.h
emmove.h
pecnorm.c
rec_arb.c
wicms.c
wimodel.c
oc_read.c
oicing.c
2f8ec03aa4809cec2b0944ca9bf1c7783e11b4ae 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
og_add.c
rec_arb.c
wicms.c
21208dbbe2608ae45b8c4a50d83e353880dc491f 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
og_add.h
wimodel.c
oc_read.c
8fc5a7f51e62cb4ae44a27bdf4176d04adc80ede 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
norm_tr.c
pi_tgt.c
pi_tgt.inl
meld_rd.c
meld_tr.c
acobi.c
og_add.c
og_add.h
atrix_i.c
atx_ops.c
atx_ops.h
emmove.h
pecnorm.c
rec_arb.c
wicms.c
wimodel.c
oc_read.c
oicing.c