/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages03.c | 54 static unsigned long *new_nodes[2]; variable 74 new_nodes[0] = SAFE_MALLOC(nodemask_size); in setup() 75 new_nodes[1] = SAFE_MALLOC(nodemask_size); in setup() 76 memset(new_nodes[0], 0, nodemask_size); in setup() 77 memset(new_nodes[1], 0, nodemask_size); in setup() 78 set_bit(new_nodes[0], nodes[0], 1); in setup() 79 set_bit(new_nodes[1], nodes[1], 1); in setup() 96 if (mbind(test_pages[n], page_size, MPOL_BIND, new_nodes[0], in setup() 117 free(new_nodes[0]); in cleanup() 118 free(new_nodes[1]); in cleanup() [all …]
|
D | migrate_pages01.c | 127 unsigned long *old_nodes, *new_nodes; in test_invalid_nodes() local 141 new_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes() 143 memset(new_nodes, 0, sane_nodemask_size); in test_invalid_nodes() 144 set_bit(new_nodes, invalid_node, 1); in test_invalid_nodes() 147 old_nodes, new_nodes)); in test_invalid_nodes() 151 free(new_nodes); in test_invalid_nodes()
|
D | migrate_pages02.c | 96 unsigned long *old_nodes, *new_nodes; in migrate_to_node() local 104 new_nodes = SAFE_MALLOC(nodemask_size); in migrate_to_node() 107 memset(new_nodes, 0, nodemask_size); in migrate_to_node() 110 set_bit(new_nodes, node, 1); in migrate_to_node() 113 new_nodes)); in migrate_to_node() 125 free(new_nodes); in migrate_to_node()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fold_old_batch_norms.cc | 110 std::vector<NodeDef>* new_nodes) { in FuseScaleOffsetToConvWeights() argument 149 new_nodes->push_back(scaled_weights_node); in FuseScaleOffsetToConvWeights() 153 new_nodes->push_back(input_node); in FuseScaleOffsetToConvWeights() 154 new_nodes->push_back(conv_node); in FuseScaleOffsetToConvWeights() 161 new_nodes->push_back(bias_offset_node); in FuseScaleOffsetToConvWeights() 172 new_nodes->push_back(bias_add_node); in FuseScaleOffsetToConvWeights() 177 std::vector<NodeDef>* new_nodes) { in FuseBatchNormWithConv() argument 188 batch_norm_node.name(), new_nodes)); in FuseBatchNormWithConv() 193 std::vector<NodeDef>* new_nodes) { in FuseBatchNormWithBatchToSpace() argument 209 scale_values, offset_values, conv_node_match, biasadd_name, new_nodes)); in FuseBatchNormWithBatchToSpace() [all …]
|
D | fuse_convolutions.cc | 48 std::vector<NodeDef>* new_nodes) { in FuseResizePadAndConv() argument 57 new_nodes->push_back(weights_node); in FuseResizePadAndConv() 58 new_nodes->push_back(pad_dims_node); in FuseResizePadAndConv() 74 new_nodes->push_back(fused_conv); in FuseResizePadAndConv() 97 std::vector<NodeDef>* new_nodes) { in FuseResizeAndConv() argument 104 new_nodes->push_back(weights_node); in FuseResizeAndConv() 113 new_nodes->push_back(pad_dims_node); in FuseResizeAndConv() 129 new_nodes->push_back(fused_conv); in FuseResizeAndConv() 157 std::vector<NodeDef>* new_nodes) { in FusePadAndConv() argument 168 new_nodes->push_back(weights_node); in FusePadAndConv() [all …]
|
D | quantize_nodes.cc | 282 std::vector<NodeDef>* new_nodes) { in RemoveRedundantQuantizations() argument 297 CopyOriginalMatch(match, new_nodes); in RemoveRedundantQuantizations() 405 std::vector<NodeDef>* new_nodes) { in ConvertFakeQuantsToRequantize() argument 413 new_nodes->push_back(original_op_node); in ConvertFakeQuantsToRequantize() 414 new_nodes->push_back(fake_quant_min_node); in ConvertFakeQuantsToRequantize() 415 new_nodes->push_back(fake_quant_max_node); in ConvertFakeQuantsToRequantize() 425 new_nodes->push_back(quantize_node); in ConvertFakeQuantsToRequantize() 437 new_nodes->push_back(requantize_node); in ConvertFakeQuantsToRequantize() 448 new_nodes->push_back(dequantize_node); in ConvertFakeQuantsToRequantize() 499 std::vector<NodeDef>* new_nodes) { in MergeAdjacentRequantizes() argument [all …]
|
D | backports.cc | 37 std::vector<NodeDef>* new_nodes) { in BackportConcatV2Transform() argument 53 new_nodes->push_back(concat_node); in BackportConcatV2Transform() 74 std::vector<NodeDef>* new_nodes) { in BackportTensorArrayV3Transform() argument 102 new_nodes->push_back(tensor_array_v2_node); in BackportTensorArrayV3Transform() 103 new_nodes->push_back(replacement_flow_node); in BackportTensorArrayV3Transform() 120 std::vector<NodeDef>* new_nodes) { in BackportTensorArrayV3Transform() argument 124 new_nodes->push_back(v2_node); in BackportTensorArrayV3Transform()
|
D | fold_batch_norms.cc | 51 std::vector<NodeDef>* new_nodes) { in FoldBatchNorms() argument 63 new_nodes->insert(new_nodes->end(), in FoldBatchNorms() 107 new_nodes->push_back(scaled_weights_node); in FoldBatchNorms() 109 new_nodes->push_back(input_node); in FoldBatchNorms() 114 new_nodes->push_back(new_conv_node); in FoldBatchNorms()
|
D | quantize_weights.cc | 45 std::vector<NodeDef>* new_nodes) { in QuantizeWeights() argument 65 new_nodes->push_back(old_const_node); in QuantizeWeights() 106 new_nodes->push_back(quantized_const_node); in QuantizeWeights() 115 new_nodes->push_back(min_node); in QuantizeWeights() 124 new_nodes->push_back(max_node); in QuantizeWeights() 134 new_nodes->push_back(dequantize_node); in QuantizeWeights()
|
D | flatten_atrous.cc | 52 std::vector<NodeDef>* new_nodes) { in FlattenAtrousConv() argument 126 new_nodes->push_back(input_node); in FlattenAtrousConv() 127 new_nodes->push_back(upsampled_filter_node); in FlattenAtrousConv() 128 new_nodes->push_back(flattened_conv_node); in FlattenAtrousConv()
|
D | sparsify_gather.cc | 261 std::vector<NodeDef>* new_nodes) { in SparsifyGatherInternal() argument 438 new_nodes->push_back(match.inputs[1].node); in SparsifyGatherInternal() 439 new_nodes->push_back(indices_node); in SparsifyGatherInternal() 440 new_nodes->push_back(values_node); in SparsifyGatherInternal() 441 new_nodes->push_back(hashtable_node); in SparsifyGatherInternal() 442 new_nodes->push_back(init_table_node); in SparsifyGatherInternal() 443 new_nodes->push_back(lookup_node); in SparsifyGatherInternal() 444 new_nodes->push_back(default_value_node); in SparsifyGatherInternal() 445 new_nodes->push_back(dim_idx_node); in SparsifyGatherInternal() 446 new_nodes->push_back(expand_dims_node); in SparsifyGatherInternal()
|
D | remove_nodes.cc | 73 std::vector<NodeDef>* new_nodes) { in RemoveNodes() argument 79 CopyOriginalMatch(match, new_nodes); in RemoveNodes() 96 new_nodes->push_back(input_node); in RemoveNodes()
|
D | round_weights.cc | 42 std::vector<NodeDef>* new_nodes) { in RoundWeights() argument 64 new_nodes->push_back(old_const_node); in RoundWeights() 103 new_nodes->push_back(rounded_const_node); in RoundWeights()
|
D | fuse_quantized_convolution.cc | 57 std::vector<NodeDef>* new_nodes) { in FuseQuantizedConvolutionAndRequantize() argument 131 new_nodes->push_back(fused_conv); in FuseQuantizedConvolutionAndRequantize() 132 new_nodes->push_back(const_requantize_range_min_node); in FuseQuantizedConvolutionAndRequantize() 133 new_nodes->push_back(const_requantize_range_max_node); in FuseQuantizedConvolutionAndRequantize()
|
D | transform_utils.cc | 428 std::vector<NodeDef> new_nodes; in ReplaceMatchingOpTypes() local 430 node_generator(*match, input_nodes, output_nodes, &new_nodes)); in ReplaceMatchingOpTypes() 432 for (const NodeDef& new_node : new_nodes) { in ReplaceMatchingOpTypes() 457 for (const NodeDef& new_node : new_nodes) { in ReplaceMatchingOpTypes() 542 std::vector<NodeDef>* new_nodes) { in CopyOriginalMatch() argument 546 new_nodes->push_back(old_node); in CopyOriginalMatch()
|
D | transform_utils_test.cc | 437 std::vector<NodeDef>* new_nodes) { in TestReplaceMatchingOpTypes() argument 442 new_nodes->push_back(original_copy); in TestReplaceMatchingOpTypes() 448 new_nodes->push_back(identity_node); in TestReplaceMatchingOpTypes() 875 std::vector<NodeDef> new_nodes; in TestCopyOriginalMatch() local 876 CopyOriginalMatch(a_match, &new_nodes); in TestCopyOriginalMatch() 877 EXPECT_EQ(2, new_nodes.size()); in TestCopyOriginalMatch() 878 EXPECT_EQ("a", new_nodes[0].name()); in TestCopyOriginalMatch() 879 EXPECT_EQ("Relu", new_nodes[0].op()); in TestCopyOriginalMatch() 880 EXPECT_EQ("b", new_nodes[1].name()); in TestCopyOriginalMatch() 881 EXPECT_EQ("Const", new_nodes[1].op()); in TestCopyOriginalMatch()
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | templates.py | 137 new_nodes = ast_util.copy_clean(repl, preserve_annos=self.preserved_annos) 138 if isinstance(new_nodes, gast.AST): 139 new_nodes = [new_nodes] 141 return new_nodes 198 new_nodes = self._prepare_replacement(node, node.id) 200 if not new_nodes: 201 return new_nodes 205 for n in new_nodes: 209 if len(new_nodes) == 1: 210 new_nodes, = new_nodes [all …]
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_urllib.py | 137 new_nodes = [] 157 new_nodes.append(new) 159 if new_nodes: 161 for new_node in new_nodes[:-1]: 163 nodes.append(new_nodes[-1])
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_urllib.py | 138 new_nodes = [] 158 new_nodes.append(new) 160 if new_nodes: 162 for new_node in new_nodes[:-1]: 164 nodes.append(new_nodes[-1])
|
/external/yapf/yapf/yapflib/ |
D | pytree_utils.py | 149 def InsertNodesBefore(new_nodes, target): argument 160 for node in new_nodes: 164 def InsertNodesAfter(new_nodes, target): argument 175 for node in reversed(new_nodes):
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | side_effect_guards.py | 66 new_nodes = [] 67 current_dest = new_nodes 108 return new_nodes
|
D | return_statements.py | 93 new_nodes = self.visit_block(nodes, after_visit=self._postprocess_statement) 96 return new_nodes, block_definitely_returns
|
/external/pdfium/third_party/libopenjpeg20/ |
D | tgt.c | 179 opj_tgt_node_t* new_nodes = (opj_tgt_node_t*) opj_realloc(p_tree->nodes, in opj_tgt_init() local 181 if (! new_nodes) { in opj_tgt_init() 187 p_tree->nodes = new_nodes; in opj_tgt_init()
|
/external/tensorflow/tensorflow/lite/python/ |
D | op_hint.py | 794 new_nodes = [] 801 new_nodes.append(_copy.deepcopy(node)) 803 children_hints = _find_all_hints_in_nodes(new_nodes) 814 return ordered_children_hints, new_nodes 862 new_nodes) = _find_children_hints_in_while_loop( 864 function_def_nodes.update([x.name for x in new_nodes]) 866 out.node.extend(new_nodes)
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | resources.cc | 373 protobuf::RepeatedPtrField<boosted_trees::Node> new_nodes; in PostPruneTree() local 374 new_nodes.Reserve(old_to_new_ids.size()); in PostPruneTree() 388 *new_nodes.Add() = std::move(node); in PostPruneTree() 393 *tree->mutable_nodes() = std::move(new_nodes); in PostPruneTree()
|