Home
last modified time | relevance | path

Searched refs:newMap (Results 1 - 18 of 18) sorted by relevance

/kernel/liteos_a/kernel/extended/container/
H A Dlos_user_container.c324 STATIC INT32 ParseUserData(CHAR *kbuf, UidGidExtent *extent, UidGidMap *newMap) in ParseUserData() argument
356 if (MappingsOverlap(newMap, extent)) { in ParseUserData()
360 if ((newMap->extentCount + 1) == UID_GID_MAP_MAX_EXTENTS && (nextLine != NULL)) { in ParseUserData()
364 ret = InsertExtent(newMap, extent); in ParseUserData()
371 if (newMap->extentCount == 0) { in ParseUserData()
378 STATIC INT32 ParentMapIdRange(UidGidMap *newMap, UidGidMap *parentMap) in ParentMapIdRange() argument
382 for (idx = 0; idx < newMap->extentCount; idx++) { in ParentMapIdRange()
383 if (newMap->extentCount > UID_GID_MAP_MAX_EXTENTS) { in ParentMapIdRange()
387 UidGidExtent *extent = &newMap->extent[idx]; in ParentMapIdRange()
401 UidGidMap newMap in OsUserContainerMapWrite() local
[all...]
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
H A DRubyMap.java334 RubyMap newMap = newThisType(context); in dup()
336 newMap.table.put(entry.getKey(), entry.getValue()); in dup()
338 return newMap; in dup()
348 RubyMap newMap = newThisType(context); in deepCopy()
353 newMap.table.put(key.dup(), message.deepCopy(context)); in deepCopy()
358 newMap.table.put(key.dup(), table.get(key).dup()); in deepCopy()
361 return newMap; in deepCopy()
404 RubyMap newMap; in newThisType()
406 newMap = (RubyMap) metaClass.newInstance(context, in newThisType()
411 newMap in newThisType()
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DMapForProto2LiteTest.java211 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite()
212 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
214 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite()
215 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
257 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
258 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
260 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
263 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
264 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
267 newMap( in testMutableMapLifecycle()
499 private static <K, V> Map<K, V> newMap(K key1, V value1) { newMap() method in MapForProto2LiteTest
505 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { newMap() method in MapForProto2LiteTest
[all...]
H A DMapLiteTest.java217 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
220 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite()
221 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
269 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
270 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
272 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
275 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
276 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
279 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
282 assertEquals(newMap( in testMutableMapLifecycle()
845 private static <K, V> Map<K, V> newMap(K key1, V value1) { newMap() method in MapLiteTest
851 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { newMap() method in MapLiteTest
[all...]
H A DMapTest.java321 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
328 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
330 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
334 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
341 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
344 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle()
349 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle()
356 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle()
359 newMap(1, "1", 2, "2"), in testMutableMapLifecycle()
364 assertEquals(newMap( in testMutableMapLifecycle()
1451 private static <K, V> Map<K, V> newMap(K key1, V value1) { newMap() method in MapTest
1457 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { newMap() method in MapTest
1464 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2, K key3, V value3) { newMap() method in MapTest
[all...]
H A DMapForProto2Test.java318 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
325 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
327 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
331 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
338 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
341 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle()
346 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle()
353 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle()
356 newMap(1, "1", 2, "2"), in testMutableMapLifecycle()
361 assertEquals(newMap( in testMutableMapLifecycle()
424 private static <K, V> Map<K, V> newMap(K key1, V value1) { newMap() method in MapForProto2Test
430 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { newMap() method in MapForProto2Test
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/
H A Dgenerate.go54 "Map": newMap,
104 m := newMap()
153 func newMap() Map { return Map{} }
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/idlgen/
H A Dmain.go394 m := newMap()
435 func newMap() Map { return Map{} }
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DBidiLine.java1207 int[] newMap = new int[bidi.resultLength]; in getVisualMap()
1208 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()
1209 return newMap; in getVisualMap()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DBidiLine.java1208 int[] newMap = new int[bidi.resultLength]; in getVisualMap()
1209 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()
1210 return newMap; in getVisualMap()
/third_party/typescript/lib/
H A DtypingsInstaller.js[all...]
H A Dtsc.js[all...]
H A Dtsserverlibrary.js[all...]
H A Dtypescript.js[all...]
H A DtypescriptServices.js[all...]
H A Dtsserver.js[all...]
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js[all...]

Completed in 207 milliseconds