VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/xpcom/build/dlldeps.cpp@ 65902

最後變更 在這個檔案從65902是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 6.8 KB
 
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 *
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
9 *
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
14 *
15 * The Original Code is mozilla.org code.
16 *
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
21 *
22 * Contributor(s):
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either of the GNU General Public License Version 2 or later (the "GPL"),
26 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38// Force references to all of the symbols that we want exported from
39// the dll that are located in the .lib files we link with
40
41#include "nsVoidArray.h"
42#include "nsValueArray.h"
43#include "nsIAtom.h"
44//#include "nsIBuffer.h"
45#include "nsIByteArrayInputStream.h"
46#include "nsFixedSizeAllocator.h"
47#include "nsRecyclingAllocator.h"
48#include "nsIThread.h"
49#include "nsDeque.h"
50#include "nsTraceRefcnt.h"
51#include "nsTraceRefcntImpl.h"
52#include "nsXPIDLString.h"
53#include "nsIEnumerator.h"
54#include "nsEnumeratorUtils.h"
55#include "nsQuickSort.h"
56#include "nsString.h"
57#include "nsPrintfCString.h"
58#include "nsSupportsArray.h"
59#include "nsArray.h"
60#include "nsArrayEnumerator.h"
61#include "nsProxyEventPrivate.h"
62#include "nsProxyRelease.h"
63#include "xpt_xdr.h"
64#include "xptcall.h"
65#include "nsILocalFile.h"
66#include "nsIGenericFactory.h"
67#include "nsIPipe.h"
68#include "nsStreamUtils.h"
69#include "nsWeakReference.h"
70#include "nsTextFormatter.h"
71#include "nsIStorageStream.h"
72#include "nsLinebreakConverter.h"
73#include "nsIBinaryInputStream.h"
74#include "nsIInterfaceRequestor.h"
75#include "nsIInterfaceRequestorUtils.h"
76#include "nsReadableUtils.h"
77#include "nsStaticNameTable.h"
78#include "nsProcess.h"
79#include "nsStringEnumerator.h"
80#include "nsIInputStreamTee.h"
81#include "nsCheapSets.h"
82#ifdef DEBUG
83#include "pure.h"
84#endif
85#include "nsHashKeys.h"
86#include "nsTHashtable.h"
87#include "pldhash.h"
88#include "nsVariant.h"
89#include "nsEscape.h"
90#include "nsStreamUtils.h"
91
92#define NS_STRINGAPI_IMPL
93#include "nsStringAPI.h"
94
95void XXXNeverCalled()
96{
97 nsTextFormatter::snprintf(nsnull,0,nsnull);
98 nsTextFormatter::smprintf(nsnull, nsnull);
99 nsTextFormatter::smprintf_free(nsnull);
100 nsVoidArray();
101 nsSmallVoidArray();
102 nsStringHashSet();
103 nsCStringHashSet();
104 nsInt32HashSet();
105 nsVoidHashSet();
106 nsCheapStringSet();
107 nsCheapInt32Set();
108 nsValueArray(0);
109 nsSupportsArray();
110 NS_GetNumberOfAtoms();
111 NS_NewPipe2(nsnull, nsnull, PR_FALSE, PR_FALSE, 0, 0, nsnull);
112 NS_NewInputStreamReadyEvent(nsnull, nsnull, nsnull);
113 NS_NewOutputStreamReadyEvent(nsnull, nsnull, nsnull);
114 NS_AsyncCopy(nsnull, nsnull, nsnull, NS_ASYNCCOPY_VIA_READSEGMENTS, 0, nsnull, nsnull);
115 PL_DHashStubEnumRemove(nsnull, nsnull, nsnull, nsnull);
116 nsIDHashKey::HashKey(nsnull);
117 nsFixedSizeAllocator a;
118 nsRecyclingAllocator recyclingAllocator(2);
119 a.Init(0, 0, 0, 0, 0);
120 a.Alloc(0);
121 a.Free(0, 0);
122 nsIThread::GetCurrent(nsnull);
123 nsDeque(nsnull);
124 nsTraceRefcnt::LogAddCOMPtr(nsnull, nsnull);
125 nsTraceRefcntImpl::DumpStatistics();
126 NS_NewEmptyEnumerator(nsnull);
127 new nsArrayEnumerator(nsnull);
128 NS_QuickSort(nsnull, 0, 0, nsnull, nsnull);
129 nsString();
130 nsProxyObject(nsnull, 0, nsnull);
131 NS_ProxyRelease(nsnull, nsnull, PR_FALSE);
132 XPT_DoString(nsnull, nsnull, nsnull);
133 XPT_DoHeader(nsnull, nsnull, nsnull);
134#ifdef DEBUG
135 PurePrintf(0);
136#endif
137 XPTC_InvokeByIndex(nsnull, 0, 0, nsnull);
138 xptc_dummy();
139 xptc_dummy2();
140 XPTI_GetInterfaceInfoManager();
141 NS_NewGenericFactory(nsnull, nsnull);
142 NS_NewGenericModule2(nsnull, nsnull);
143 NS_GetWeakReference(nsnull);
144 nsCOMPtr<nsISupports> dummyFoo(do_GetInterface(nsnull));
145 NS_NewByteArrayInputStream(nsnull, nsnull, 0);
146 NS_NewStorageStream(0,0, nsnull);
147 nsString foo;
148 nsPrintfCString bar("");
149 nsLinebreakConverter::ConvertStringLineBreaks(foo,
150 nsLinebreakConverter::eLinebreakAny, nsLinebreakConverter::eLinebreakContent);
151 NS_NewLocalFile(nsString(), PR_FALSE, nsnull);
152 NS_NewNativeLocalFile(nsCString(), PR_FALSE, nsnull);
153 new nsProcess();
154 nsStaticCaseInsensitiveNameTable();
155 nsAutoString str1;
156 str1.AssignWithConversion(nsnull, 0);
157 nsCAutoString str2;
158 ToNewUnicode(str1);
159 ToNewUnicode(str2);
160 ToNewCString(str1);
161 ToNewCString(str2);
162 PL_DHashTableFinish(nsnull);
163 NS_NewInputStreamTee(nsnull, nsnull, nsnull);
164 NS_NewArray(nsnull);
165 nsCOMArray<nsISupports> dummyArray;
166 NS_NewArray(nsnull, dummyArray);
167 NS_NewArrayEnumerator(nsnull, dummyArray);
168 new nsVariant();
169 nsUnescape(nsnull);
170 nsEscape(nsnull, url_XAlphas);
171 nsStringArray array;
172 NS_NewStringEnumerator(nsnull, &array);
173 NS_NewAdoptingStringEnumerator(nsnull, &array);
174 nsCStringArray carray;
175 NS_NewUTF8StringEnumerator(nsnull, &carray);
176 NS_NewAdoptingUTF8StringEnumerator(nsnull, &carray);
177 nsVoidableString str3;
178 nsCStringContainer sc1;
179 NS_CStringContainerInit(sc1);
180 NS_CStringContainerFinish(sc1);
181 NS_CStringGetData(str2, nsnull, nsnull);
182 NS_CStringSetData(str2, nsnull, 0);
183 NS_CStringSetDataRange(str2, 0, 0, nsnull, 0);
184 NS_CStringCopy(str2, str2);
185 nsStringContainer sc2;
186 NS_StringContainerInit(sc2);
187 NS_StringContainerFinish(sc2);
188 NS_StringGetData(str1, nsnull, nsnull);
189 NS_StringSetData(str1, nsnull, 0);
190 NS_StringSetDataRange(str1, 0, 0, nsnull, 0);
191 NS_StringCopy(str1, str1);
192 {
193 nsAdoptingCString foo, bar;
194 foo = bar;
195 }
196 {
197 nsAdoptingString foo, bar;
198 foo = bar;
199 }
200 NS_UTF16ToCString(str1, NS_CSTRING_ENCODING_ASCII, str2);
201 NS_CStringToUTF16(str2, NS_CSTRING_ENCODING_ASCII, str1);
202}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette