Lines Matching refs:pString
99 xmlChar *pString = xmlXPathPopString(ctxt); in xforms_booleanFromStringFunction() local
101 ::rtl::OUString aString((char*)pString, strlen((char*)pString), RTL_TEXTENCODING_UTF8); in xforms_booleanFromStringFunction()
229 xmlChar* pString = xmlXPathPopString(ctxt); in xforms_propertyFunction() local
231 ::rtl::OUString aString((char*)pString, strlen((char*)pString), RTL_TEXTENCODING_UTF8); in xforms_propertyFunction()
289 xmlChar *pString = static_cast<xmlChar*>(xmlMalloc(aDateTimeString.getLength()+1)); in xforms_nowFunction() local
290 strncpy((char*)pString, (char*)aDateTimeString.getStr(), aDateTimeString.getLength()); in xforms_nowFunction()
291 pString[aDateTimeString.getLength()] = 0; in xforms_nowFunction()
292 xmlXPathReturnString(ctxt, pString); in xforms_nowFunction()
343 xmlChar* pString = xmlXPathPopString(ctxt); in xforms_daysFromDateFunction() local
345 ::rtl::OUString aString((char*)pString, strlen((char*)pString), RTL_TEXTENCODING_UTF8); in xforms_daysFromDateFunction()
366 xmlChar* pString = xmlXPathPopString(ctxt); in xforms_secondsFromDateTimeFunction() local
368 ::rtl::OUString aString((char*)pString, strlen((char*)pString), RTL_TEXTENCODING_UTF8); in xforms_secondsFromDateTimeFunction()
393 char *pString = (char*)rtl_allocateMemory(nLength); in parseDuration() local
394 char *pString0 = pString; in parseDuration()
395 strncpy(pString, (char*)aString, nLength); in parseDuration()
397 if (pString[0] == '-') { in parseDuration()
399 pString++; in parseDuration()
402 if (pString[0] != 'P') in parseDuration()
404 pString++; in parseDuration()
405 char* pToken = pString; in parseDuration()
411 nYears = atoi(pString); in parseDuration()
412 pString = ++pToken; in parseDuration()
417 nMonth = atoi(pString); in parseDuration()
419 nMinutes = atoi(pString); in parseDuration()
420 pString = ++pToken; in parseDuration()
424 nDays = atoi(pString); in parseDuration()
425 pString = ++pToken; in parseDuration()
429 nHours = atoi(pString); in parseDuration()
430 pString = ++pToken; in parseDuration()
434 nSeconds = atoi(pString); in parseDuration()
435 pString = ++pToken; in parseDuration()
439 pString = ++pToken; in parseDuration()
454 xmlChar* pString = xmlXPathPopString(ctxt); in xforms_secondsFuction() local
465 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_secondsFuction()
484 xmlChar* pString = xmlXPathPopString(ctxt); in xforms_monthsFuction() local
495 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_monthsFuction()
512 xmlChar *pString = xmlXPathPopString(ctxt); in xforms_instanceFuction() local
514 ::rtl::OUString aString((char*)pString, strlen((char*)pString), RTL_TEXTENCODING_UTF8); in xforms_instanceFuction()