| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 Google Inc. All rights reserved. | 2 # Copyright (c) 2011 Google Inc. All rights reserved. |
| 3 # Copyright (c) 2012 Intel Corporation. All rights reserved. | 3 # Copyright (c) 2012 Intel Corporation. All rights reserved. |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
| 7 # met: | 7 # met: |
| 8 # | 8 # |
| 9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 @staticmethod | 338 @staticmethod |
| 339 def get_array_item_raw_c_type_text(): | 339 def get_array_item_raw_c_type_text(): |
| 340 return "JSONArray" | 340 return "JSONArray" |
| 341 | 341 |
| 342 @staticmethod | 342 @staticmethod |
| 343 def get_raw_type_model(): | 343 def get_raw_type_model(): |
| 344 return TypeModel.Array | 344 return TypeModel.Array |
| 345 | 345 |
| 346 | 346 |
| 347 def replace_right_shift(input_str): | 347 def replace_right_shift(input_str): |
| 348 return input_str.replace(">>", "> >") | 348 return input_str.replace(">>", ">>") |
| 349 | 349 |
| 350 | 350 |
| 351 class CommandReturnPassModel: | 351 class CommandReturnPassModel: |
| 352 class ByReference: | 352 class ByReference: |
| 353 def __init__(self, var_type, set_condition): | 353 def __init__(self, var_type, set_condition): |
| 354 self.var_type = var_type | 354 self.var_type = var_type |
| 355 self.set_condition = set_condition | 355 self.set_condition = set_condition |
| 356 | 356 |
| 357 def get_return_var_type(self): | 357 def get_return_var_type(self): |
| 358 return self.var_type | 358 return self.var_type |
| (...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2118 validatorIfdefName=VALIDATOR_IFDEF_NAME)) | 2118 validatorIfdefName=VALIDATOR_IFDEF_NAME)) |
| 2119 | 2119 |
| 2120 backend_h_file.close() | 2120 backend_h_file.close() |
| 2121 backend_cpp_file.close() | 2121 backend_cpp_file.close() |
| 2122 | 2122 |
| 2123 frontend_h_file.close() | 2123 frontend_h_file.close() |
| 2124 frontend_cpp_file.close() | 2124 frontend_cpp_file.close() |
| 2125 | 2125 |
| 2126 typebuilder_h_file.close() | 2126 typebuilder_h_file.close() |
| 2127 typebuilder_cpp_file.close() | 2127 typebuilder_cpp_file.close() |
| OLD | NEW |