Lines Matching refs:pBuffer
349 rtl_String * pBuffer = NULL; in osl_setEnvironment() local
351 sal_Int32 nCapacity = rtl_stringbuffer_newFromStringBuffer( &pBuffer, in osl_setEnvironment()
354 rtl_stringbuffer_insert( &pBuffer, &nCapacity, pBuffer->length, "=", 1); in osl_setEnvironment()
355 rtl_stringbuffer_insert( &pBuffer, &nCapacity, pBuffer->length, in osl_setEnvironment()
358 rtl_string_acquire(pBuffer); // argument to putenv must leak on success in osl_setEnvironment()
360 if (putenv(rtl_string_getStr(pBuffer)) == 0) in osl_setEnvironment()
363 rtl_string_release(pBuffer); in osl_setEnvironment()
398 rtl_String * pBuffer = NULL; in osl_clearEnvironment() local
400 sal_Int32 nCapacity = rtl_stringbuffer_newFromStringBuffer( &pBuffer, in osl_clearEnvironment()
402 rtl_stringbuffer_insert( &pBuffer, &nCapacity, pBuffer->length, "=", 1); in osl_clearEnvironment()
404 rtl_string_acquire(pBuffer); // argument to putenv must leak on success in osl_clearEnvironment()
406 if (putenv(rtl_string_getStr(pBuffer)) == 0) in osl_clearEnvironment()
409 rtl_string_release(pBuffer); in osl_clearEnvironment()