Home
last modified time | relevance | path

Searched refs:new_map (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dglobal_subchannel_pool.cc102 grpc_avl new_map = grpc_avl_add( in RegisterSubchannel() local
111 GPR_SWAP(grpc_avl, new_map, subchannel_map_); in RegisterSubchannel()
115 grpc_avl_unref(new_map, nullptr); in RegisterSubchannel()
133 grpc_avl new_map = in UnregisterSubchannel() local
140 GPR_SWAP(grpc_avl, new_map, subchannel_map_); in UnregisterSubchannel()
144 grpc_avl_unref(new_map, nullptr); in UnregisterSubchannel()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dhoist_random_uniform_test.cc66 const auto& new_map = output.node(new_map_id); in TEST() local
71 ASSERT_EQ(new_map.input_size(), 1); in TEST()
72 EXPECT_EQ(new_map.input(0), zip.name()); in TEST()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c494 VALUE new_map = Qnil; in Map_new_this_type() local
498 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 3, in Map_new_this_type()
501 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 2, in Map_new_this_type()
504 return new_map; in Map_new_this_type()
516 VALUE new_map = Map_new_this_type(_self); in Map_dup() local
517 Map* new_self = ruby_to_Map(new_map); in Map_dup()
538 return new_map; in Map_dup()
544 VALUE new_map = Map_new_this_type(_self); in Map_deep_copy() local
545 Map* new_self = ruby_to_Map(new_map); in Map_deep_copy()
566 return new_map; in Map_deep_copy()
/external/e2fsprogs/intl/
Dlocalealias.c371 struct alias_map *new_map; in extend_alias_table() local
374 new_map = (struct alias_map *) realloc (map, (new_size in extend_alias_table()
376 if (new_map == NULL) in extend_alias_table()
380 map = new_map; in extend_alias_table()
/external/webrtc/modules/desktop_capture/win/
Dwindow_capturer_win_gdi.cc100 std::map<HWND, DesktopSize> new_map; in GetSourceList() local
103 new_map[hwnd] = window_size_map_[hwnd]; in GetSourceList()
105 window_size_map_.swap(new_map); in GetSourceList()
/external/webrtc/system_wrappers/source/
Dmetrics.cc194 RtcHistogramMap* new_map = new RtcHistogramMap(); in CreateMap() local
196 &g_rtc_histogram_map, static_cast<RtcHistogramMap*>(nullptr), new_map); in CreateMap()
198 delete new_map; in CreateMap()
/external/giflib/
Dgifalloc.c191 GifColorType *new_map = (GifColorType *)reallocarray(Map, in GifUnionColorMap() local
193 if( new_map == NULL ) { in GifUnionColorMap()
197 ColorUnion->Colors = new_map; in GifUnionColorMap()
/external/selinux/checkpolicy/
Dmodule_compiler.c745 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class() local
746 class_value * sizeof(*new_map)); in add_perm_to_class()
747 if (new_map == NULL) { in add_perm_to_class()
750 scope->class_perms_map = new_map; in add_perm_to_class()
1383 ebitmap_t *new_map = in copy_requirements() local
1386 sizeof(*new_map)); in copy_requirements()
1387 if (new_map == NULL) { in copy_requirements()
1391 dest_scope->class_perms_map = new_map; in copy_requirements()
/external/freetype/src/sfnt/
Dttsbit.c1649 FT_Bitmap new_map; in tt_face_load_sbit_image() local
1653 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image()
1656 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image()
1658 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image()
1661 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
1662 map->pitch = new_map.pitch; in tt_face_load_sbit_image()
1663 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image()
1665 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
/external/e2fsprogs/resize/
Dresize2fs.c352 ext2fs_block_bitmap old_map, new_map; in move_bg_metadata() local
364 retval = ext2fs_allocate_block_bitmap(rfs->new_fs, "newfs", &new_map); in move_bg_metadata()
396 ext2fs_mark_block_bitmap2(new_map, b); in move_bg_metadata()
398 ext2fs_mark_block_bitmap2(new_map, c + j); in move_bg_metadata()
400 ext2fs_mark_block_bitmap2(new_map, d); in move_bg_metadata()
411 new = ext2fs_test_block_bitmap2(new_map, b); in move_bg_metadata()
422 ext2fs_unmark_block_bitmap2(new_map, b); in move_bg_metadata()
437 if (ext2fs_test_block_bitmap2(new_map, b)) in move_bg_metadata()
443 if (ext2fs_test_block_bitmap2(new_map, b)) in move_bg_metadata()
452 if (ext2fs_test_block_bitmap2(new_map, b + c)) in move_bg_metadata()
[all …]
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.cpp772 NamespaceMapSP new_map; in BuildNamespaceMap() local
774 new_map = std::make_shared<NamespaceMap>(); in BuildNamespaceMap()
780 new_map, ConstString(namespace_string.c_str()), parent_map); in BuildNamespaceMap()
783 context_md->m_namespace_maps[decl] = new_map; in BuildNamespaceMap()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_reshape_op_test.py311 new_map = np.random.randint(new_rank, size=factors.shape)
312 new_shape = [np.prod(factors[new_map == d]) for d in range(new_rank)]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc192 auto* new_map = new tensorflow::gtl::FlatMap<string, tensorflow::DataType>; in GetAttrToDefaultsMapHoldingGIL() local
196 new_map->insert({attr.name(), attr.default_value().type()}); in GetAttrToDefaultsMapHoldingGIL()
200 (*all_attr_to_defaults_maps)[op_def.name()] = new_map; in GetAttrToDefaultsMapHoldingGIL()
202 return new_map; in GetAttrToDefaultsMapHoldingGIL()
/external/protobuf/src/google/protobuf/
Dmap_test.cc843 Map<int32, int32> new_map(map.begin(), map.end()); in TEST_F() local
845 EXPECT_EQ(2, new_map.size()); in TEST_F()
846 EXPECT_EQ(value1, new_map.at(key1)); in TEST_F()
847 EXPECT_EQ(value2, new_map.at(key2)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction.cc2606 CanonicalNameMap new_map; in ToString() local
2607 return ToStringWithCanonicalNameMap(options, &new_map); in ToString()
2739 CanonicalNameMap new_map; in OperandsToString() local
2740 return OperandsToStringWithCanonicalNameMap(options, &new_map); in OperandsToString()
/external/pcre/dist2/src/
Dpcre2_compile.c8293 int new_map = bracket_map | ((n < 32)? (1u << n) : 1); in is_anchored() local
8294 if (!is_anchored(scode, new_map, cb, atomcount, inassert)) return FALSE; in is_anchored()
8431 int new_map = bracket_map | ((n < 32)? (1u << n) : 1); in is_startline() local
8432 if (!is_startline(scode, new_map, cb, atomcount, inassert)) return FALSE; in is_startline()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp285 ImageSubresourceLayoutMap *new_map = insert_pair.first->second.get(); in GetImageSubresourceLayoutMap() local
286 assert(new_map); in GetImageSubresourceLayoutMap()
287 return new_map; in GetImageSubresourceLayoutMap()