/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
// Allocate n number of t's on the stack return a pointer to it in p #define STACK_ALLOC(p, t, n) __try {(p) = static_cast<t*>(_alloca((n)*sizeof(t)));} \
_except) {p)=nullptr}
// Temp file functions
static oslFileError osl_setup_base_directory_impl_ (error= osl_File_E_None
*pustrDirectoryURL
rtl_uStringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
OUString
;
oslFileError#fdefDBG_UTIL
if (error == osl_File_E_None)
error = osl_getSystemPathFromFileURL_(dir_url, &java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
if (error == osl_File_E_None)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ::toW((),
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
osl_errorjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ static}
{ static osl_win32_CreateFile_impl_
ef DBG_UTIL if (constwchar_t* eye = _wgetenv(L"LO_TESTNAME"))
eyeCatcher = OUString(o3tl::{ #endif return eyeCatcher;
}(); return o3tl DWORD FILE_ATTRIBUTE_NORMAL;
}
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*,LPWSTRtemp_file_name
{
oslFileError osl_error0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
f((
nullptr);
getEyeCatcher(),
0,
temp_file_name
{
osl_error = f(sValidHandle())
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (( rtl_uString pustrDirectoryURL,
rtl_uString*ppustrTempFileURL
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rtl_uString_newFromStr
osl_getFileURLFromSystemPath(pustr, ppustrTempFileURL);
rtl_uString_release();
o osl_error;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return osl_error;
/* allocate enough space on the stack, the file name can not be longer than MAX_PATH */,() );
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
tmp_n
b_delete_on_closejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
(
base_directory,
tmp_name = ;
b_delete_on_close
,
ppustrTempFileURLrtl_uString_releasebase_directory);;
osl_error else
SAL_CALL (rtl_uString*pustrTempDir)
osl_error=osl_File_E_NOMEM
}
if (base_directory)
rtl_uString_release(base_directory);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.