Lines Matching refs:_sKey
140 public boolean hasValue(String _sSectionName, String _sKey) in hasValue() argument
142 int n = findKey(_sSectionName, _sKey); in hasValue()
231 private int findKey(String _sSection, String _sKey) in findKey() argument
239 return findKeyFromKnownSection(i, _sKey); in findKey()
243 private int findKeyFromKnownSection(int _nSectionIndex, String _sKey) in findKeyFromKnownSection() argument
245 _sKey = toLowerIfNeed(_sKey); in findKeyFromKnownSection()
267 if (sKey.equals(_sKey)) in findKeyFromKnownSection()
277 private int findLastKnownKeyIndex(int _nSectionIndex, String _sKey) in findLastKnownKeyIndex() argument
279 _sKey = toLowerIfNeed(_sKey); in findLastKnownKeyIndex()
300 if (sKey.equals(_sKey)) in findLastKnownKeyIndex()
333 public String getValue(String _sSection, String _sKey) in getValue() argument
336 int m_nCurrentPosition = findKey(_sSection, _sKey); in getValue()
367 public int getIntValue(String _sSection, String _sKey, int _nDefault) in getIntValue() argument
369 String sValue = getValue(_sSection, _sKey); in getIntValue()
452 public void insertValue(String _sSection, String _sKey, int _nValue) in insertValue() argument
454 insertValue(_sSection, _sKey, String.valueOf(_nValue)); in insertValue()
457 public void insertValue(String _sSection, String _sKey, long _nValue) in insertValue() argument
459 insertValue(_sSection, _sKey, String.valueOf(_nValue)); in insertValue()
472 public void insertValue(String _sSection, String _sKey, String _sValue) in insertValue() argument
482 if (_sKey.length() > 0) in insertValue()
484 String sKeyValuePair = _sKey + "=" + _sValue; in insertValue()
490 int j = findKeyFromKnownSection(i, _sKey); in insertValue()
494 j = findLastKnownKeyIndex(i, _sKey); in insertValue()
495 if (_sKey.length() > 0) in insertValue()
497 String sKeyValuePair = _sKey + "=" + _sValue; in insertValue()
506 String sKeyValuePair = _sKey + "=" + _sValue; in insertValue()