Searched refs:open_bracket (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | attr_value_util.cc | 194 int open_bracket = to_parse.find('<'); in ParseAttrValueHelper_TensorNestsUnderLimit() local 200 if (open_bracket == -1) { in ParseAttrValueHelper_TensorNestsUnderLimit() 201 open_bracket = maxed_out; in ParseAttrValueHelper_TensorNestsUnderLimit() 203 int min = std::min(open_curly, open_bracket); in ParseAttrValueHelper_TensorNestsUnderLimit() 205 if (open_curly == maxed_out && open_bracket == maxed_out) { in ParseAttrValueHelper_TensorNestsUnderLimit() 214 } else if (min == open_bracket) { in ParseAttrValueHelper_TensorNestsUnderLimit() 216 open_bracket = to_parse.find('<', open_bracket + 1); in ParseAttrValueHelper_TensorNestsUnderLimit() 217 if (open_bracket == -1) { in ParseAttrValueHelper_TensorNestsUnderLimit() 218 open_bracket = maxed_out; in ParseAttrValueHelper_TensorNestsUnderLimit() 233 min = std::min({open_curly, open_bracket, close_curly, close_bracket}); in ParseAttrValueHelper_TensorNestsUnderLimit()
|
/external/yapf/yapftests/ |
D | pytree_unwrapper_test.py | 315 for open_bracket, close_bracket in bracket_list: 316 self.assertEqual(lline[open_bracket][0], lline[close_bracket][1]) 317 self.assertEqual(lline[close_bracket][0], lline[open_bracket][1])
|
/external/yapf/yapf/yapflib/ |
D | format_decision_state.py | 303 open_bracket = logical_line.IsSurroundedByBrackets(current) 304 if open_bracket: 305 if open_bracket.value in '[{': 306 if not self._FitsOnLine(open_bracket, 307 open_bracket.matching_bracket): 317 open_bracket = logical_line.IsSurroundedByBrackets(current) 318 if (open_bracket and open_bracket.value in '[{' and 319 subtypes.SUBSCRIPT_BRACKET not in open_bracket.subtypes):
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_blocks.cpp | 122 char *open_bracket = strchr(v->IndexName, '['); in visit_field() local 123 assert(open_bracket != NULL); in visit_field() 125 char *close_bracket = strchr(open_bracket, '.') - 1; in visit_field() 132 memmove(open_bracket, close_bracket + 1, len); in visit_field()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/ |
D | val_id_test.cpp | 219 size_t open_bracket = message.find('[', open_quote + 1); in make_message() local 220 assert(open_bracket != std::string::npos); in make_message() 222 size_t close_bracket = message.find(']', open_bracket + 1); in make_message() 229 result.write(msg + open_quote, open_bracket - open_quote + 1); in make_message() 231 result.write(msg + open_quote + 1, open_bracket - open_quote - 1); in make_message()
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_id_test.cpp | 219 size_t open_bracket = message.find('[', open_quote + 1); in make_message() local 220 assert(open_bracket != std::string::npos); in make_message() 222 size_t close_bracket = message.find(']', open_bracket + 1); in make_message() 229 result.write(msg + open_quote, open_bracket - open_quote + 1); in make_message() 231 result.write(msg + open_quote + 1, open_bracket - open_quote - 1); in make_message()
|