summaryrefslogtreecommitdiffstats
path: root/libcutils/str_parms.c
Commit message (Collapse)AuthorAgeFilesLines
* cutils: str_parms: when deleting entry, need to also remove keyDima Zavin2012-03-141-9/+44
| | | | | | | | | | When removing one entry, we can't just remove it from the map since key will not be freed. So, instead, search through the map for the key and free it once it is found. Change-Id: Id745c166a4acc5ea25f6d6cdbfe4f8fbc21cbbb3 Reported-by: Xin Qian <xqian@marvell.com> Signed-off-by: Dima Zavin <dima@android.com>
* cutils: str_parms: free the key if the value was replaced during create/addDima Zavin2012-03-141-1/+5
| | | | | | Change-Id: I9f31da62f10f78ed11693a7c04e2be29b0790c93 Reported-by: Xin Qian <xqian@marvell.com> Signed-off-by: Dima Zavin <dima@android.com>
* cutils: str_parms: test str_parms_add_str tooDima Zavin2012-03-121-0/+1
| | | | | Change-Id: I93f0e577aff6b8ff23a44e29f9942a26545b6dc8 Signed-off-by: Dima Zavin <dima@android.com>
* cutils: str_parms: need to also dup the key when adding to hashDima Zavin2012-03-121-4/+7
| | | | | Change-Id: Iabdd2061cbc36c6f4d4eb6e46bd757b5b52e0027 Signed-off-by: Dima Zavin <dima@android.com>
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-2/+2
| | | | | Bug: 5449033 Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-2/+2
| | | | | Bug: 5449033 Change-Id: Ib453f869977a6e909095a578bbf0420851f887d2
* libcutils: add a simple string parameter parsing ("a=b;c=d;") helper utilsDima Zavin2011-04-201-0/+329
Change-Id: Ifabeb75550fa6e351434e6e6d036b19331daf6c1 Signed-off-by: Dima Zavin <dima@android.com>