Searched defs:aValue (Results 1 - 25 of 28) sorted by relevance

12

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsPersistentProperties.h87 nsPropertyElement(const nsACString& aKey, const nsAString& aValue) argument
88 : mKey(aKey), mValue(aValue)
H A DnsValueArray.h103 inline PRBool AppendValue(nsValueArrayValue aValue) { argument
104 return InsertValueAt(aValue, Count());
107 inline PRBool RemoveValue(nsValueArrayValue aValue) { argument
108 return RemoveValueAt(IndexOf(aValue));
111 PRBool InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex);
H A DnsEnumeratorUtils.cpp110 nsSingletonEnumerator::nsSingletonEnumerator(nsISupports* aValue) argument
111 : mValue(aValue)
H A DnsValueArray.cpp142 PRBool nsValueArray::InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex) { argument
190 *((PRUint8*)&mValueArray[aIndex * mBytesPerValue]) = (PRUint8)aValue;
191 NS_ASSERTION(*((PRUint8*)&mValueArray[aIndex * mBytesPerValue]) == aValue, "Lossy value array detected. Report a higher maximum upon construction!");
194 *((PRUint16*)&mValueArray[aIndex * mBytesPerValue]) = (PRUint16)aValue;
195 NS_ASSERTION(*((PRUint16*)&mValueArray[aIndex * mBytesPerValue]) == aValue, "Lossy value array detected. Report a higher maximum upon construction!");
198 *((PRUint32*)&mValueArray[aIndex * mBytesPerValue]) = (PRUint32)aValue;
199 NS_ASSERTION(*((PRUint32*)&mValueArray[aIndex * mBytesPerValue]) == aValue, "Lossy value array detected. Report a higher maximum upon construction!");
H A DnsUnitConversion.h60 inline nscoord NSToCoordFloor(float aValue) argument
62 return ((0.0f <= aValue) ? nscoord(aValue) : nscoord(aValue - CEIL_CONST_FLOAT));
65 inline nscoord NSToCoordCeil(float aValue) argument
67 return ((0.0f <= aValue) ? nscoord(aValue + CEIL_CONST_FLOAT) : nscoord(aValue));
70 inline nscoord NSToCoordRound(float aValue) argument
72 return ((0.0f <= aValue)
75 NSToCoordRoundExclusive(float aValue) argument
85 NSToIntFloor(float aValue) argument
90 NSToIntCeil(float aValue) argument
95 NSToIntRound(float aValue) argument
100 NSToIntRoundExclusive(float aValue) argument
166 NSUnitsToTwips(float aValue, float aPointsPerUnit) argument
[all...]
H A DnsPersistentProperties.cpp309 nsAString& aValue)
320 aValue = entry->mValue;
485 nsPropertyElement::SetValue(const nsAString& aValue) argument
487 mValue = aValue;
308 GetStringProperty(const nsACString& aKey, nsAString& aValue) argument
H A DnsVariant.cpp1255 rv = aValue->GetAs##name_ (&(data->u. member_ ));
1258 rv = aValue->GetAs##name_ ( cast_ &(data->u. member_ ));
1282 nsVariant::SetFromVariant(nsDiscriminatedUnion* data, nsIVariant* aValue) argument
1289 rv = aValue->GetDataType(&type);
1317 rv = aValue->GetAsAString(*data->u.mAStringValue);
1327 rv = aValue->GetAsACString(*data->u.mCStringValue);
1337 rv = aValue->GetAsAUTF8String(*data->u.mUTF8StringValue);
1345 rv = aValue->GetAsStringWithSize(&data->u.str.mStringLength,
1354 rv = aValue->GetAsInterface(&iid, (void**)&data->u.iface.mInterfaceValue);
1364 rv = aValue
1388 SetFromInt8(nsDiscriminatedUnion* data, PRUint8 aValue) argument
1393 SetFromInt16(nsDiscriminatedUnion* data, PRInt16 aValue) argument
1398 SetFromInt32(nsDiscriminatedUnion* data, PRInt32 aValue) argument
1403 SetFromInt64(nsDiscriminatedUnion* data, PRInt64 aValue) argument
1408 SetFromUint8(nsDiscriminatedUnion* data, PRUint8 aValue) argument
1413 SetFromUint16(nsDiscriminatedUnion* data, PRUint16 aValue) argument
1418 SetFromUint32(nsDiscriminatedUnion* data, PRUint32 aValue) argument
1423 SetFromUint64(nsDiscriminatedUnion* data, PRUint64 aValue) argument
1428 SetFromFloat(nsDiscriminatedUnion* data, float aValue) argument
1433 SetFromDouble(nsDiscriminatedUnion* data, double aValue) argument
1438 SetFromBool(nsDiscriminatedUnion* data, PRBool aValue) argument
1443 SetFromChar(nsDiscriminatedUnion* data, char aValue) argument
1448 SetFromWChar(nsDiscriminatedUnion* data, PRUnichar aValue) argument
1453 SetFromID(nsDiscriminatedUnion* data, const nsID & aValue) argument
1458 SetFromAString(nsDiscriminatedUnion* data, const nsAString & aValue) argument
1467 SetFromACString(nsDiscriminatedUnion* data, const nsACString & aValue) argument
1477 SetFromAUTF8String(nsDiscriminatedUnion* data, const nsAUTF8String & aValue) argument
1487 SetFromString(nsDiscriminatedUnion* data, const char *aValue) argument
1495 SetFromWString(nsDiscriminatedUnion* data, const PRUnichar *aValue) argument
1503 SetFromISupports(nsDiscriminatedUnion* data, nsISupports *aValue) argument
1508 SetFromInterface(nsDiscriminatedUnion* data, const nsIID& iid, nsISupports *aValue) argument
1518 SetFromArray(nsDiscriminatedUnion* data, PRUint16 type, const nsIID* iid, PRUint32 count, void * aValue) argument
1535 SetFromStringWithSize(nsDiscriminatedUnion* data, PRUint32 size, const char *aValue) argument
1547 SetFromWStringWithSize(nsDiscriminatedUnion* data, PRUint32 size, const PRUnichar *aValue) argument
1889 SetAsInt8(PRUint8 aValue) argument
1896 SetAsInt16(PRInt16 aValue) argument
1903 SetAsInt32(PRInt32 aValue) argument
1910 SetAsInt64(PRInt64 aValue) argument
1917 SetAsUint8(PRUint8 aValue) argument
1924 SetAsUint16(PRUint16 aValue) argument
1931 SetAsUint32(PRUint32 aValue) argument
1938 SetAsUint64(PRUint64 aValue) argument
1945 SetAsFloat(float aValue) argument
1952 SetAsDouble(double aValue) argument
1959 SetAsBool(PRBool aValue) argument
1966 SetAsChar(char aValue) argument
1973 SetAsWChar(PRUnichar aValue) argument
1980 SetAsID(const nsID & aValue) argument
1987 SetAsAString(const nsAString & aValue) argument
1994 SetAsDOMString(const nsAString & aValue) argument
2004 SetAsACString(const nsACString & aValue) argument
2011 SetAsAUTF8String(const nsAUTF8String & aValue) argument
2018 SetAsString(const char *aValue) argument
2025 SetAsWString(const PRUnichar *aValue) argument
2032 SetAsISupports(nsISupports *aValue) argument
2088 SetFromVariant(nsIVariant *aValue) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/sample/
H A DnsSample.cpp87 nsSampleImpl::GetValue(char** aValue) argument
89 NS_PRECONDITION(aValue != nsnull, "null ptr");
90 if (! aValue)
107 *aValue = (char*) nsMemory::Clone(mValue, strlen(mValue) + 1);
108 if (! *aValue)
112 *aValue = nsnull;
118 nsSampleImpl::SetValue(const char* aValue) argument
120 NS_PRECONDITION(aValue != nsnull, "null ptr");
121 if (! aValue)
134 mValue = (char*) nsMemory::Clone(aValue, strle
139 Poke(const char* aValue) argument
145 GetStringValue(nsACString& aValue) argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/
H A DVBoxLicenseViewer.cpp107 void VBoxLicenseViewer::onScrollBarMoving (int aValue) argument
109 if (aValue == mLicenseText->verticalScrollBar()->maximum())
/vbox/src/libs/xpcom18a4/xpcom/threads/
H A DnsEnvironment.cpp165 nsEnvironment::Set(const nsAString& aName, const nsAString& aValue) argument
173 rv = NS_CopyUnicodeToNative(aValue, nativeVal);
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageUSB.cpp112 Nullable(const T &aValue, bool aIsNull = false) argument
113 : mIsNull(aIsNull), mValue(aValue) {}
120 Nullable &operator= (const T &aValue) argument
122 mValue = aValue;
H A DVBoxManageModifyVM.cpp684 uint32_t aValue[4]; local
693 aValue[i] = ValueUnion.u32;
695 CHECK_ERROR(sessionMachine, SetCPUIDLeaf(id, aValue[0], aValue[1], aValue[2], aValue[3]));
/vbox/src/VBox/Main/src-server/
H A DDHCPServerImpl.cpp326 DhcpOpt_T aOption, const com::Utf8Str &aValue)
332 OptValue = DhcpOptValue(aValue, DhcpOptValue::LEGACY);
347 rc = RTStrToUInt8Ex(aValue.c_str(), &pszNext, 10, &u8Code);
388 HRESULT DHCPServer::addGlobalOption(DhcpOpt_T aOption, const com::Utf8Str &aValue) argument
392 int rc = addOption(m->GlobalDhcpOptions, aOption, aValue);
445 const com::Utf8Str &aValue)
450 int rc = addOption(map, aOption, aValue);
325 addOption(DhcpOptionMap &aMap, DhcpOpt_T aOption, const com::Utf8Str &aValue) argument
442 addVmSlotOption(const com::Utf8Str &aVmName, LONG aSlot, DhcpOpt_T aOption, const com::Utf8Str &aValue) argument
H A DUSBDeviceFilterImpl.cpp96 const Utf8Str &aValue,
100 if (aValue.isEmpty())
104 const char *pcszValue = aValue.c_str();
153 aErrStr = Utf8StrFmt(tr("The %s filter expression '%s' is not valid"), i_describeUSBFilterIdx(aIdx), aValue.c_str());
159 i_describeUSBFilterIdx(aIdx), aValue.c_str());
164 vrc, i_describeUSBFilterIdx(aIdx), aValue.c_str());
94 i_usbFilterFieldFromString(PUSBFILTER aFilter, USBFILTERIDX aIdx, const Utf8Str &aValue, Utf8Str &aErrStr) argument
H A DVRDEServerImpl.cpp371 HRESULT VRDEServer::setVRDEProperty(const com::Utf8Str &aKey, const com::Utf8Str &aValue) argument
385 Utf8Str strPorts = aValue == "0"?
387 aValue;
425 if (strOldValue != aValue)
427 if (aValue.isEmpty())
430 mData->mProperties[aKey] = aValue;
449 HRESULT VRDEServer::getVRDEProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) argument
454 aValue = it->second; // source is a Utf8Str
456 aValue = VRDP_DEFAULT_PORT_STR;
H A DNetworkAdapterImpl.cpp947 HRESULT NetworkAdapter::getProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) argument
950 aValue = "";
953 aValue = it->second; // source is a Utf8Str
958 HRESULT NetworkAdapter::setProperty(const com::Utf8Str &aKey, const com::Utf8Str &aValue) argument
974 if (strOldValue != aValue)
976 if (aValue.isEmpty())
979 mData->mGenericProperties[aKey] = aValue;
H A DMediumImpl.cpp2345 com::Utf8Str &aValue)
2360 aValue = it->second;
2366 const com::Utf8Str &aValue)
2387 it->second = aValue;
2393 if (!aValue.isEmpty())
2394 m->mapProperties[aName] = aValue;
2398 if (!aValue.isEmpty())
2399 it->second = aValue;
6520 HRESULT Medium::i_setPropertyDirect(const Utf8Str &aName, const Utf8Str &aValue) argument
6536 m->mapProperties[aName] = aValue;
2344 getProperty(const com::Utf8Str &aName, com::Utf8Str &aValue) argument
2365 setProperty(const com::Utf8Str &aName, const com::Utf8Str &aValue) argument
[all...]
H A DVirtualBoxImpl.cpp1955 com::Utf8Str &aValue)
1960 aValue = it->second; // source is a Utf8Str
1971 const com::Utf8Str &aValue)
1975 Utf8Str strValue(aValue);
2002 if (!i_onExtraDataCanChange(Guid::Empty, Bstr(aKey).raw(), Bstr(aValue).raw(), error))
2033 i_onExtraDataChange(Guid::Empty, Bstr(aKey).raw(), Bstr(aValue).raw());
2718 BOOL VirtualBox::i_onExtraDataCanChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue, argument
2721 LogFlowThisFunc(("machine={%s} aKey={%ls} aValue={%ls}\n",
2722 aId.toString().c_str(), aKey, aValue));
2731 evDesc.init(m->pEventSource, VBoxEventType_OnExtraDataCanChange, id.raw(), aKey, aValue);
1954 getExtraData(const com::Utf8Str &aKey, com::Utf8Str &aValue) argument
1970 setExtraData(const com::Utf8Str &aKey, const com::Utf8Str &aValue) argument
2779 i_onExtraDataChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue) argument
2874 GuestPropertyEvent(VirtualBox *aVBox, const Guid &aMachineId, IN_BSTR aName, IN_BSTR aValue, IN_BSTR aFlags) argument
2896 i_onGuestPropertyChange(const Guid &aMachineId, IN_BSTR aName, IN_BSTR aValue, IN_BSTR aFlags) argument
[all...]
/vbox/src/VBox/Main/src-client/
H A DSessionImpl.cpp846 HRESULT Session::accessGuestProperty(const com::Utf8Str &aName, const com::Utf8Str &aValue, const com::Utf8Str &aFlags, argument
870 hr = mConsole->i_setGuestProperty(aName, aValue, aFlags);
H A DMachineDebuggerImpl.cpp1127 HRESULT MachineDebugger::getRegister(ULONG aCpuId, const com::Utf8Str &aName, com::Utf8Str &aValue) argument
1151 aValue = Utf8Str(bstrValue);
1227 HRESULT MachineDebugger::setRegister(ULONG aCpuId, const com::Utf8Str &aName, const com::Utf8Str &aValue) argument
H A DGuestSessionImpl.cpp2940 HRESULT GuestSession::environmentGet(const com::Utf8Str &aName, com::Utf8Str &aValue) argument
2952 aValue = mData.mEnvironment.Get(aName);
2959 HRESULT GuestSession::environmentSet(const com::Utf8Str &aName, const com::Utf8Str &aValue) argument
2971 int rc = mData.mEnvironment.Set(aName, aValue);
/vbox/src/libs/xpcom18a4/java/tools/genifaces/
H A DGenerateJavaInterfaces.cpp524 const nsXPTCMiniVariant* aValue)
529 snprintf(buf, sizeof(buf), "%d", aValue->val.i8);
533 snprintf(buf, sizeof(buf), "%u", aValue->val.u8);
537 snprintf(buf, sizeof(buf), "%d", aValue->val.i16);
541 snprintf(buf, sizeof(buf), "%u", aValue->val.u16);
545 snprintf(buf, sizeof(buf), "%d", aValue->val.i32);
549 snprintf(buf, sizeof(buf), "%uL", aValue->val.u32);
553 snprintf(buf, sizeof(buf), "%lldL", aValue->val.i64);
557 snprintf(buf, sizeof(buf), "%lluL", aValue->val.u64);
561 snprintf(buf, sizeof(buf), "%f", aValue
523 WriteConstantValue(nsIOutputStream* out, const nsXPTType* aType, const nsXPTCMiniVariant* aValue) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/components/
H A DnsCategoryManager.cpp263 const char* aValue,
290 const char* arenaValue = ArenaStrdup(aValue, aArena);
522 const char *aValue,
529 NS_ENSURE_ARG_POINTER(aValue);
549 aValue,
262 AddLeaf(const char* aEntryName, const char* aValue, PRBool aPersist, PRBool aReplace, char** _retval, PLArenaPool* aArena) argument
520 AddCategoryEntry( const char *aCategoryName, const char *aEntryName, const char *aValue, PRBool aPersist, PRBool aReplace, char **_retval ) argument
/vbox/src/libs/xpcom18a4/xpcom/glue/
H A DnsISupportsImpl.h83 nsAutoRefCnt(nsrefcnt aValue) : mValue(aValue) {} argument
89 nsrefcnt operator=(nsrefcnt aValue) { return (mValue = aValue); } argument
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsStorage.cpp1455 bool StorageModel::setData (const QModelIndex &aIndex, const QVariant &aValue, int aRole) argument
1458 return QAbstractItemModel::setData (aIndex, aValue, aRole);
1464 mToolTipType = aValue.value <ToolTipType>();
1473 static_cast <ControllerItem*> (item)->setCtrName (aValue.toString());
1484 static_cast <ControllerItem*> (item)->setCtrType (aValue.value <KStorageControllerType>());
1495 static_cast <ControllerItem*> (item)->setPortCount (aValue.toUInt());
1506 static_cast <ControllerItem*> (item)->setCtrUseIoCache (aValue.toBool());
1517 static_cast <AttachmentItem*> (item)->setAttSlot (aValue.value <StorageSlot>());
1529 static_cast <AttachmentItem*> (item)->setAttDevice (aValue.value <KDeviceType>());
1540 static_cast <AttachmentItem*> (item)->setAttMediumId (aValue
[all...]

Completed in 1761 milliseconds

12