/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/backend/Classes/Form/FormDataProvider/ |
H A D | TcaCheckboxItems.php | 81 $newItems = []; 84 $newItems[$itemKey] = [ 89 $newItems = $this->sanitizeToggleCheckbox($checkboxEntry, $itemKey, $newItems); 93 $newItems = $this->sanitizeIconToggleCheckbox($checkboxEntry, $itemKey, $newItems); 96 return $newItems; 125 * @param array $newItems 135 return $newItems; 141 * @param array $newItems 157 return $newItems; 163 * @param array $newItems [all …]
|
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/backend/Classes/Form/FormDataProvider/ |
H A D | TcaCheckboxItems.php | 82 $newItems = []; 85 $newItems[$itemKey] = [ 90 $newItems = $this->sanitizeToggleCheckbox($checkboxEntry, $itemKey, $newItems); 94 $newItems = $this->sanitizeIconToggleCheckbox($checkboxEntry, $itemKey, $newItems); 97 return $newItems; 126 * @param array $newItems 136 return $newItems; 142 * @param array $newItems 158 return $newItems; 164 * @param array $newItems [all …]
|
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/backend/Classes/Form/FormDataProvider/ |
H A D | TcaCheckboxItems.php | 82 $newItems = []; 85 $newItems[$itemKey] = [ 89 $newItems = $this->sanitizeToggleCheckbox($checkboxEntry, $itemKey, $newItems); 93 $newItems = $this->sanitizeIconToggleCheckbox($checkboxEntry, $itemKey, $newItems); 96 return $newItems; 125 * @param array $newItems 135 return $newItems; 141 * @param array $newItems 157 return $newItems; 163 * @param array $newItems [all …]
|
/dports/cad/horizon-eda/horizon-2.1.0/3rd_party/router/router/ |
H A D | pns_itemset.cpp | 48 ENTRIES newItems; in FilterLayers() local 64 m_items = newItems; in FilterLayers() 72 ENTRIES newItems; in FilterKinds() local 82 m_items = newItems; in FilterKinds() 90 ENTRIES newItems; in FilterMarker() local 100 m_items = newItems; in FilterMarker() 108 ENTRIES newItems; in FilterNet() local 118 m_items = newItems; in FilterNet() 126 ENTRIES newItems; in ExcludeItem() local 132 newItems.push_back( ent ); in ExcludeItem() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/router/ |
H A D | pns_itemset.cpp | 48 ENTRIES newItems; in FilterLayers() local 59 newItems.push_back( ent ); in FilterLayers() 62 m_items = newItems; in FilterLayers() 70 ENTRIES newItems; in FilterKinds() local 78 m_items = newItems; in FilterKinds() 86 ENTRIES newItems; in FilterMarker() local 94 m_items = newItems; in FilterMarker() 102 ENTRIES newItems; in FilterNet() local 110 m_items = newItems; in FilterNet() 118 ENTRIES newItems; in ExcludeItem() local [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/System/Collections/Generic/ |
H A D | ArrayBuilder.cs | 33 public void Append(T[] newItems) in Append() 35 Append(newItems, 0, newItems.Length); in Append() 38 public void Append(T[] newItems, int offset, int length) in Append() 44 Debug.Assert(newItems.Length >= offset + length); in Append() 47 Array.Copy(newItems, offset, _items, _count, length); in Append() 51 public void Append(ArrayBuilder<T> newItems) in Append() 53 if (newItems.Count == 0) in Append() 55 EnsureCapacity(_count + newItems.Count); in Append() 56 Array.Copy(newItems._items, 0, _items, _count, newItems.Count); in Append() 57 _count += newItems.Count; in Append()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/diagnostics/eventing/TraceLogging/ |
H A D | ConcurrentSet.cs | 69 ItemType[] newItems; in GetOrAdd() 75 newItems = new ItemType[] { newItem }; in GetOrAdd() 103 newItems = new ItemType[oldLength + 1]; in GetOrAdd() 104 Array.Copy(oldItems, 0, newItems, 0, lo); in GetOrAdd() 105 newItems[lo] = newItem; in GetOrAdd() 106 Array.Copy(oldItems, lo, newItems, lo + 1, oldLength - lo); in GetOrAdd() 109 newItems = Interlocked.CompareExchange(ref this.items, newItems, oldItems); in GetOrAdd() 110 if (oldItems != newItems) in GetOrAdd() 112 oldItems = newItems; in GetOrAdd()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Diagnostics/Tracing/TraceLogging/ |
H A D | ConcurrentSet.cs | 73 ItemType[] newItems; in GetOrAdd() 79 newItems = new ItemType[] { newItem }; in GetOrAdd() 107 newItems = new ItemType[oldLength + 1]; in GetOrAdd() 108 Array.Copy(oldItems, 0, newItems, 0, lo); in GetOrAdd() 109 newItems[lo] = newItem; in GetOrAdd() 110 Array.Copy(oldItems, lo, newItems, lo + 1, oldLength - lo); in GetOrAdd() 113 newItems = Interlocked.CompareExchange(ref this.items, newItems, oldItems); in GetOrAdd() 114 if (oldItems != newItems) in GetOrAdd() 116 oldItems = newItems; in GetOrAdd()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ |
H A D | ConcurrentSet.cs | 73 ItemType[] newItems; in GetOrAdd() 79 newItems = new ItemType[] { newItem }; in GetOrAdd() 107 newItems = new ItemType[oldLength + 1]; in GetOrAdd() 108 Array.Copy(oldItems, 0, newItems, 0, lo); in GetOrAdd() 109 newItems[lo] = newItem; in GetOrAdd() 110 Array.Copy(oldItems, lo, newItems, lo + 1, oldLength - lo); in GetOrAdd() 113 newItems = Interlocked.CompareExchange(ref this.items, newItems, oldItems); in GetOrAdd() 114 if (oldItems != newItems) in GetOrAdd() 116 oldItems = newItems; in GetOrAdd()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/WindowsBase/Test/System.Collections.Specialized/ |
H A D | NotifyCollectionChangedEventArgsTest.cs | 217 IList newItems = new List<object> (); in NotifyCollectionChangedEventArgsConstructor4Test() 223 CollectionChangedEventValidators.ValidateReplaceOperation (args, oldItems, newItems, "#D01"); in NotifyCollectionChangedEventArgsConstructor4Test() 226 newItems.Add (new object ()); in NotifyCollectionChangedEventArgsConstructor4Test() 227 newItems.Add (new object ()); in NotifyCollectionChangedEventArgsConstructor4Test() 228 newItems.Add (new object ()); in NotifyCollectionChangedEventArgsConstructor4Test() 233 CollectionChangedEventValidators.ValidateReplaceOperation (args, oldItems, newItems, "#D02"); in NotifyCollectionChangedEventArgsConstructor4Test() 243 CollectionChangedEventValidators.ValidateReplaceOperation (args, oldItems, newItems, "#D03"); in NotifyCollectionChangedEventArgsConstructor4Test() 494 IList newItems = new List<object> (); in NotifyCollectionChangedEventArgsConstructor8Test() 504 newItems.Add (new object ()); in NotifyCollectionChangedEventArgsConstructor8Test() 505 newItems.Add (new object ()); in NotifyCollectionChangedEventArgsConstructor8Test() [all …]
|
H A D | CollectionChangedEventValidators.cs | 46 …ctionChangedEventArgs args, NotifyCollectionChangedAction action, IList newItems, IList oldItems, … in ValidateCommon() argument 52 AssertEquivalentLists (newItems, args.NewItems, "NCCVAL_3::" + message); in ValidateCommon() 64 …internal static void ValidateAddOperation(NotifyCollectionChangedEventArgs args, IList newItems, s… in ValidateAddOperation() argument 66 ValidateAddOperation (args, newItems, -1, message); in ValidateAddOperation() 69 …internal static void ValidateAddOperation(NotifyCollectionChangedEventArgs args, IList newItems, i… in ValidateAddOperation() argument 71 … ValidateCommon (args, NotifyCollectionChangedAction.Add, newItems, null, startIndex, -1, message); in ValidateAddOperation() 84 …aceOperation(NotifyCollectionChangedEventArgs args, IList oldItems, IList newItems, string message) in ValidateReplaceOperation() argument 86 ValidateReplaceOperation (args, oldItems, newItems, -1, message); in ValidateReplaceOperation() 89 …eOperation(NotifyCollectionChangedEventArgs args, IList oldItems, IList newItems, int startIndex, … in ValidateReplaceOperation() argument 91 …ValidateCommon (args, NotifyCollectionChangedAction.Replace, newItems, oldItems, startIndex, start… in ValidateReplaceOperation()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Collections.ObjectModel/ |
H A D | CollectionChangedEventValidators.cs | 47 …ctionChangedEventArgs args, NotifyCollectionChangedAction action, IList newItems, IList oldItems, … in ValidateCommon() argument 53 AssertEquivalentLists (newItems, args.NewItems, "NCCVAL_3::" + message); in ValidateCommon() 65 …internal static void ValidateAddOperation(NotifyCollectionChangedEventArgs args, IList newItems, s… in ValidateAddOperation() argument 67 ValidateAddOperation (args, newItems, -1, message); in ValidateAddOperation() 70 …internal static void ValidateAddOperation(NotifyCollectionChangedEventArgs args, IList newItems, i… in ValidateAddOperation() argument 72 … ValidateCommon (args, NotifyCollectionChangedAction.Add, newItems, null, startIndex, -1, message); in ValidateAddOperation() 85 …aceOperation(NotifyCollectionChangedEventArgs args, IList oldItems, IList newItems, string message) in ValidateReplaceOperation() argument 87 ValidateReplaceOperation (args, oldItems, newItems, -1, message); in ValidateReplaceOperation() 90 …eOperation(NotifyCollectionChangedEventArgs args, IList oldItems, IList newItems, int startIndex, … in ValidateReplaceOperation() argument 92 …ValidateCommon (args, NotifyCollectionChangedAction.Replace, newItems, oldItems, startIndex, start… in ValidateReplaceOperation()
|
/dports/www/grafana8/grafana-8.3.6/public/app/plugins/datasource/cloudwatch/components/ui/ |
H A D | EditorList.tsx | 13 const newItems = [...items, {}]; 15 onChange(newItems); 19 const newItems = [...items]; 20 newItems[itemIndex] = newItem; 21 onChange(newItems); 25 const newItems = [...items]; 26 newItems.splice(itemIndex, 1); 27 onChange(newItems);
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/collections/specialized/ |
H A D | notifycollectionchangedeventargs.cs | 225 …ifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems) in NotifyCollectionChangedEventArgs() argument 229 if (newItems == null) in NotifyCollectionChangedEventArgs() 234 InitializeMoveOrReplace(action, newItems, oldItems, -1, -1); in NotifyCollectionChangedEventArgs() 248 if (newItems == null) in NotifyCollectionChangedEventArgs() 253 InitializeMoveOrReplace(action, newItems, oldItems, startingIndex, startingIndex); in NotifyCollectionChangedEventArgs() 300 _newItems = newItems; in NotifyCollectionChangedEventArgs() 305 _newItems = (newItems == null) ? null : ArrayList.ReadOnly(newItems); in NotifyCollectionChangedEventArgs() 322 …private void InitializeAdd(NotifyCollectionChangedAction action, IList newItems, int newStartingIn… in InitializeAdd() argument 328 _newItems = newItems; in InitializeAdd() 333 _newItems = (newItems == null) ? null : ArrayList.ReadOnly(newItems); in InitializeAdd() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/src/System/Collections/Specialized/ |
H A D | NotifyCollectionChangedEventArgs.cs | 200 …ifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems) in NotifyCollectionChangedEventArgs() argument 204 if (newItems == null) in NotifyCollectionChangedEventArgs() 205 throw new ArgumentNullException(nameof(newItems)); in NotifyCollectionChangedEventArgs() 209 InitializeMoveOrReplace(action, newItems, oldItems, -1, -1); in NotifyCollectionChangedEventArgs() 223 if (newItems == null) in NotifyCollectionChangedEventArgs() 224 throw new ArgumentNullException(nameof(newItems)); in NotifyCollectionChangedEventArgs() 228 InitializeMoveOrReplace(action, newItems, oldItems, startingIndex, startingIndex); in NotifyCollectionChangedEventArgs() 272 _newItems = (newItems == null) ? null : new ReadOnlyList(newItems); in NotifyCollectionChangedEventArgs() 288 …private void InitializeAdd(NotifyCollectionChangedAction action, IList newItems, int newStartingIn… in InitializeAdd() argument 291 _newItems = (newItems == null) ? null : new ReadOnlyList(newItems); in InitializeAdd() [all …]
|
/dports/cad/ldview/ldview-4.4/TCFoundation/ |
H A D | TCArray.h | 55 Type* newItems; variable 66 newItems = new Type[allocated]; 69 memcpy(newItems, items, index * sizeof (Type)); 73 memcpy(newItems + index + 1, items + index, 77 items = newItems; 202 Type* newItems; variable 205 newItems = new Type[allocated]; 208 memcpy(newItems, items, count * sizeof (Type)); 211 items = newItems; 216 memset(&newItems[count], 0, (newCapacity - count) * sizeof (Type));
|
/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/ |
H A D | tradesmodel.cpp | 475 for (int n = 0; n < newItems->size(); n++) in addNewTrades() 477 if (newItems->at(n).date < 200 || newItems->at(n).symbol != baseValues.currentPair.symbol || in addNewTrades() 481 if (lastPrice > newItems->at(n).price) in addNewTrades() 482 (*newItems)[n].direction = -1; in addNewTrades() 484 if (lastPrice < newItems->at(n).price) in addNewTrades() 485 (*newItems)[n].direction = 1; in addNewTrades() 487 lastPrice = newItems->at(n).price; in addNewTrades() 489 if (newItems->at(n).orderType == 0) in addNewTrades() 502 (*newItems)[n].backGray = backSwitcher; in addNewTrades() 503 verifedItems << newItems->at(n); in addNewTrades() [all …]
|
/dports/devel/php-ice37/ice-3.7.2/cpp/src/Glacier2/ |
H A D | FilterI.h | 88 std::vector<T> newItems(additions); in add() 89 sort(newItems.begin(), newItems.end()); in add() 90 newItems.erase(unique(newItems.begin(), newItems.end()), newItems.end()); in add() 93 std::vector<T> merged(_items.size() + newItems.size()); in add() 94 merge(newItems.begin(), newItems.end(), _items.begin(), _items.end(), merged.begin()); in add()
|
/dports/devel/ice37/ice-3.7.2/cpp/src/Glacier2/ |
H A D | FilterI.h | 88 std::vector<T> newItems(additions); in add() 89 sort(newItems.begin(), newItems.end()); in add() 90 newItems.erase(unique(newItems.begin(), newItems.end()), newItems.end()); in add() 93 std::vector<T> merged(_items.size() + newItems.size()); in add() 94 merge(newItems.begin(), newItems.end(), _items.begin(), _items.end(), merged.begin()); in add()
|
/dports/devel/py-ice37/ice-3.7.2/cpp/src/Glacier2/ |
H A D | FilterI.h | 88 std::vector<T> newItems(additions); in add() 89 sort(newItems.begin(), newItems.end()); in add() 90 newItems.erase(unique(newItems.begin(), newItems.end()), newItems.end()); in add() 93 std::vector<T> merged(_items.size() + newItems.size()); in add() 94 merge(newItems.begin(), newItems.end(), _items.begin(), _items.end(), merged.begin()); in add()
|
/dports/audio/cantata/cantata-2.4.2/models/ |
H A D | streamsmodel.cpp | 214 return newItems; in loadBookmarks() 281 return newItems; in loadCache() 413 return newItems; in loadXml() 451 return newItems; in loadXml() 1266 return newItems; in parseRadioTimeResponse() 1359 return newItems; in parseIceCastResponse() 1375 return newItems; in parseSomaFmResponse() 1406 return newItems; in parseDigitallyImportedResponse() 1540 return newItems; in parseListenLiveResponse() 1553 return newItems; in parseShoutCastSearchResponse() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/ |
H A D | BinaryUtilClasses.cs | 179 object[] newItems = new object[size]; in IncreaseCapacity() 180 Array.Copy(_objects, 0, newItems, 0, _objects.Length); in IncreaseCapacity() 181 _objects = newItems; in IncreaseCapacity() 264 object[] newItems = new object[size]; in IncreaseCapacity() 266 _negObjects = newItems; in IncreaseCapacity() 271 object[] newItems = new object[size]; in IncreaseCapacity() 273 _objects = newItems; in IncreaseCapacity() 342 int[] newItems = new int[size]; in IncreaseCapacity() 344 _negObjects = newItems; in IncreaseCapacity() 349 int[] newItems = new int[size]; in IncreaseCapacity() [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/sdf/ |
H A D | connectionListEditor.cpp | 49 const std::vector<SdfPath>& newItems) const in _OnEditShared() 79 newItemTail = newItems.begin(); in _OnEditShared() 80 auto oldEnd = oldItems.end(), newEnd = newItems.end(); in _OnEditShared() 148 const std::vector<SdfPath>& newItems) const in _OnEdit() 151 op, SdfSpecTypeConnection, oldItems, newItems); in _OnEdit() 171 const std::vector<SdfPath>& newItems) const in _OnEdit() 174 op, SdfSpecTypeRelationshipTarget, oldItems, newItems); in _OnEdit()
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/playlist/ |
H A D | usePlaylistItems.tsx | 47 const newItems = [...items]; 48 const currentPosition = newItems.indexOf(item); 51 if (newPosition >= 0 && newPosition < newItems.length) { 52 newItems.splice(currentPosition, 1); 53 newItems.splice(newPosition, 0, item); 55 setItems(newItems);
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/alerting/unified/hooks/ |
H A D | useControlledFieldArray.ts | 37 const newItems = updateFn(fields ?? []); 38 reset(set(values, name, newItems)); 52 const newItems = items.slice(); constant 53 newItems.splice(index, 1); 54 return newItems;
|