- Timestamp:
- Feb 21, 2024 7:25:15 PM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161848
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcdclient.cpp
r103489 r103505 1146 1146 NS_ASSERTION(obs, "must at least have a default observer"); 1147 1147 1148 nsresult rv =obs->OnMessageAvailable(pClientState->u32ClientId, nsID(), 0, 1);1148 /*nsresult rv = */obs->OnMessageAvailable(pClientState->u32ClientId, nsID(), 0, 1); 1149 1149 /* VBoxSVC/VBoxXPCOMIPCD auto-start can cause that a client up 1150 1150 * message arrives while we're already waiting for a response -
trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
r103488 r103505 3267 3267 return NS_ERROR_NOT_INITIALIZED; 3268 3268 3269 #ifdef LOG_ENABLED 3269 3270 const DConnectOp *op = (const DConnectOp *) aData; 3270 3271 3271 Log (("ipcDConnectService::OnMessageAvailable: " 3272 3272 "senderID=%d, opcode_major=%d, index=%d\n", 3273 3273 aSenderID, op->opcode_major, op->request_index)); 3274 #endif 3274 3275 3275 3276 void *pvDataDup = RTMemDup(aData, aDataLen); -
trunk/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
r103176 r103505 80 80 static const char *LOGGER_WARNING = "warning"; 81 81 static const char *LOGGER_ERROR = "error"; 82 #ifdef DEBUG 82 83 static const char *LOGGER_DEBUG = "debug"; 84 #endif 83 85 84 86 // Our "normal" error logger - calls back to the logging module. -
trunk/src/libs/xpcom18a4/python/src/VariantUtils.cpp
r103176 r103505 2015 2015 PRUint8 array_type = (PRUint8)PyInt_AsLong(td.extra); 2016 2016 PRUint32 seq_size = GetSizeIs(index, PR_FALSE); 2017 nsXPTCVariant &ns_viid = m_var_array[td.argnum]; 2018 nsIID iid; 2019 nsresult res = GetArrayElementIID(m_parent, 2020 m_var_array, 2021 m_methodindex, 2022 index, 2023 &iid); 2017 nsIID iid; 2018 nsresult res = GetArrayElementIID(m_parent, 2019 m_var_array, 2020 m_methodindex, 2021 index, 2022 &iid); 2024 2023 ret = UnpackSingleArray(m_parent, * ((void **)ns_v.ptr), 2025 2024 seq_size, array_type&XPT_TDP_TAGMASK, -
trunk/src/libs/xpcom18a4/vboxdeps.cpp
r102458 r103505 56 56 nsVoidHashSetSuper *a = new nsVoidHashSetSuper(); 57 57 a->Init(123); 58 nsDeque *b = new nsDeque(); 58 nsDeque *b = new nsDeque(); RT_NOREF(b); 59 59 60 60 //nsXPTCStubBase -
trunk/src/libs/xpcom18a4/xpcom/base/nsExceptionService.cpp
r102235 r103505 184 184 /* member initializers and constructor code */ 185 185 if (tlsIndex == NIL_RTTLS) { 186 /* Parfait_ALLOW unused-var Used for debug builds in the assertion below. */ 186 187 int vrc = RTTlsAllocEx( &tlsIndex, ThreadDestruct ); 187 NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "ScriptErrorService could not allocate TLS storage."); 188 NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "ScriptErrorService could not allocate TLS storage."); RT_NOREF(vrc); 188 189 } 189 190 int vrc = RTSemFastMutexCreate(&lock); 190 NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "Error allocating ExceptionService lock"); 191 NS_WARN_IF_FALSE(RT_SUCCESS(vrc), "Error allocating ExceptionService lock"); RT_NOREF(vrc); 191 192 192 193 // observe XPCOM shutdown. -
trunk/src/libs/xpcom18a4/xpcom/components/nsComponentManager.cpp
r102506 r103505 2730 2730 // Normalize proid and classname 2731 2731 const char *contractID = (aContractID && *aContractID) ? aContractID : nsnull; 2732 const char *className = (aClassName && *aClassName) ? aClassName : nsnull;2733 2732 #ifdef LOG_ENABLED 2734 2733 char *buf = aClass.ToString(); -
trunk/src/libs/xpcom18a4/xpcom/string/src/nsStringObsolete.cpp
r102458 r103505 1206 1206 r64.rd = aFloat; 1207 1207 ssize_t cch = RTStrFormatR64(buf, sizeof(buf), &r64, 0, 6 /*cchPrecision*/, 0 /*fFlags*/); 1208 Assert(cch > 0); 1208 Assert(cch > 0); RT_NOREF(cch); 1209 1209 Append(buf); 1210 1210 } … … 1217 1217 r64.rd = aFloat; 1218 1218 ssize_t cch = RTStrFormatR64(buf, sizeof(buf), &r64, 0, 6 /*cchPrecision*/, 0 /*fFlags*/); 1219 Assert(cch > 0); 1219 Assert(cch > 0); RT_NOREF(cch); 1220 1220 AppendWithConversion(buf); 1221 1221 } -
trunk/src/libs/xpcom18a4/xpcom/tests/TestArray.cpp
r103140 r103505 37 37 * ***** END LICENSE BLOCK ***** */ 38 38 39 #include <iprt/cdefs.h> 40 39 41 #include <stdio.h> 40 42 #include <stdlib.h> … … 109 111 PRUint32 cnt = 0; 110 112 nsresult rv = aArray->Count(&cnt); 111 NS_ASSERTION(NS_SUCCEEDED(rv), "Count failed"); 113 NS_ASSERTION(NS_SUCCEEDED(rv), "Count failed"); RT_NOREF(rv); 112 114 PRInt32 count = cnt; 113 115 PRInt32 index; -
trunk/src/libs/xpcom18a4/xpcom/tests/TestCRT.cpp
r103458 r103505 61 61 static void Check(const char* s1, const char* s2, PRIntn n) 62 62 { 63 /** @todo r=aeichner This test is pretty useless with release builds but do we really care? */ 64 #ifdef DEBUG 63 65 PRIntn clib = RTStrCmp(s1, s2); 64 66 PRIntn clib_n = RTStrNCmp(s1, s2, n); … … 72 74 PRIntn u2 = nsCRT::strcmp(us1, us2); 73 75 PRIntn u2_n = nsCRT::strncmp(us1, us2, n); 76 #endif 74 77 75 78 NS_ASSERTION(sign(clib) == sign(u2), "strcmp"); -
trunk/src/libs/xpcom18a4/xpcom/threads/nsAutoLock.cpp
r101914 r103505 58 58 { 59 59 PRStatus status = PR_ExitMonitor(mMonitor); 60 AssertMsg(status == PR_SUCCESS, ("PR_ExitMonitor failed")); 60 AssertMsg(status == PR_SUCCESS, ("PR_ExitMonitor failed")); RT_NOREF(status); 61 61 mLockCount -= 1; 62 62 } -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl.c
r103503 r103505 136 136 * and string variables. 137 137 */ 138 const gchar* typelib_version_string = NULL;139 138 140 139 /* -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_typelib.c
r28970 r103505 1154 1154 { 1155 1155 struct _IDL_CONST_DCL *dcl = &IDL_CONST_DCL(state->tree); 1156 const char *name = IDL_IDENT(dcl->ident).str;1157 1156 gboolean is_long; 1158 1157 gboolean sign; -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_util.c
r62449 r103505 408 408 ParamAttrType whattocheck) 409 409 { 410 const char *method_name = IDL_IDENT(IDL_OP_DCL(method_tree).ident).str;411 410 const char *referred_name = NULL; 412 IDL_tree param_type = IDL_PARAM_DCL(param).param_type_spec;413 411 IDL_tree simple_decl = IDL_PARAM_DCL(param).simple_declarator; 414 const char *param_name = IDL_IDENT(simple_decl).str;415 412 const char *attr_name; 416 413 const char *needed_type; -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/src/xpt_struct.c
r62325 r103505 241 241 XPT_DoHeader(XPTArena *arena, XPTCursor *cursor, XPTHeader **headerp) 242 242 { 243 const int HEADER_SIZE = 24;244 243 XPTMode mode = cursor->state->mode; 245 244 XPTHeader * header;
Note:
See TracChangeset
for help on using the changeset viewer.