• Home
  • Raw
  • Download

Lines Matching refs:output_api

137 def VerifyNativeApiHeadersListIsValid(input_api, output_api):  argument
147 return [output_api.PresubmitError(
175 def CheckNativeApiHeaderChanges(input_api, output_api): argument
193 return [output_api.PresubmitNotifyResult(API_CHANGE_MSG, files)]
197 def CheckNoIOStreamInHeaders(input_api, output_api, argument
213 return [output_api.PresubmitError(
221 def CheckNoPragmaOnce(input_api, output_api, argument
237 return [output_api.PresubmitError(
244 def CheckNoFRIEND_TEST(input_api, output_api, # pylint: disable=invalid-name argument
260 return [output_api.PresubmitPromptWarning('WebRTC\'s code should not use '
273 def CheckApprovedFilesLintClean(input_api, output_api, argument
312 res_type = output_api.PresubmitError
314 res_type = output_api.PresubmitPromptWarning
320 def CheckNoSourcesAbove(input_api, gn_files, output_api): argument
338 return [output_api.PresubmitError(
349 def CheckAbseilDependencies(input_api, gn_files, output_api): argument
374 output_api.PresubmitError(error_msg % (target_name,
380 def CheckNoMixingSources(input_api, gn_files, output_api): argument
438 return [output_api.PresubmitError(
448 def CheckNoPackageBoundaryViolations(input_api, gn_files, output_api): argument
456 return [output_api.PresubmitError(
467 def CheckNoWarningSuppressionFlagsAreAdded(gn_files, input_api, output_api, argument
487 return [output_api.PresubmitError(msg, errors)]
491 def CheckNoTestCaseUsageIsAdded(input_api, output_api, source_file_filter, argument
506 return [output_api.PresubmitError(error_msg, errors)]
510 def CheckNoStreamUsageIsAdded(input_api, output_api, argument
558 return [output_api.PresubmitError(error_msg, errors)]
562 def CheckPublicDepsIsNotUsed(gn_files, input_api, output_api): argument
580 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
585 def CheckCheckIncludesIsNotUsed(gn_files, input_api, output_api): argument
601 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
606 def CheckGnChanges(input_api, output_api): argument
617 result.extend(CheckNoSourcesAbove(input_api, gn_files, output_api))
618 result.extend(CheckNoMixingSources(input_api, gn_files, output_api))
619 result.extend(CheckAbseilDependencies(input_api, gn_files, output_api))
621 output_api))
622 result.extend(CheckPublicDepsIsNotUsed(gn_files, input_api, output_api))
623 result.extend(CheckCheckIncludesIsNotUsed(gn_files, input_api, output_api))
625 output_api))
629 def CheckGnGen(input_api, output_api): argument
639 return [output_api.PresubmitPromptWarning(
646 def CheckUnwantedDependencies(input_api, output_api, source_file_filter): argument
659 return [output_api.PresubmitError(
689 results.append(output_api.PresubmitError(
696 results.append(output_api.PresubmitPromptOrNotify(
706 def CheckCommitMessageBugEntry(input_api, output_api): argument
729 return [output_api.PresubmitError(r) for r in results]
732 def CheckChangeHasBugField(input_api, output_api): argument
745 return [output_api.PresubmitError(
752 def CheckJSONParseErrors(input_api, output_api, source_file_filter): argument
773 results.append(output_api.PresubmitError('%s could not be parsed: %s' %
779 def RunPythonTests(input_api, output_api): argument
797 output_api,
803 def CheckUsageOfGoogleProtobufNamespace(input_api, output_api, argument
819 return [output_api.PresubmitError(
848 def CommonChecks(input_api, output_api): argument
860 input_api, output_api, source_file_filter))
862 input_api, output_api, _LicenseHeader(input_api)))
863 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
899 input_api, output_api, maxlen=80, source_file_filter=eighty_char_sources))
901 input_api, output_api, maxlen=100,
904 input_api, output_api, source_file_filter=non_third_party_sources))
906 input_api, output_api, source_file_filter=non_third_party_sources))
908 input_api, output_api, bot_whitelist=[
912 input_api, output_api, source_file_filter=non_third_party_sources))
914 input_api, output_api))
915 results.extend(CheckNativeApiHeaderChanges(input_api, output_api))
917 input_api, output_api, source_file_filter=non_third_party_sources))
919 input_api, output_api, source_file_filter=non_third_party_sources))
921 input_api, output_api, source_file_filter=non_third_party_sources))
922 results.extend(CheckGnChanges(input_api, output_api))
924 input_api, output_api, source_file_filter=non_third_party_sources))
926 input_api, output_api, source_file_filter=non_third_party_sources))
927 results.extend(RunPythonTests(input_api, output_api))
929 input_api, output_api, source_file_filter=non_third_party_sources))
931 input_api, output_api, source_file_filter=non_third_party_sources))
933 input_api, output_api, source_file_filter=non_third_party_sources))
935 input_api, output_api, non_third_party_sources))
937 input_api, output_api, non_third_party_sources))
938 results.extend(CheckAddedDepsHaveTargetApprovals(input_api, output_api))
939 results.extend(CheckApiDepsFileIsUpToDate(input_api, output_api))
941 input_api, output_api, non_third_party_sources))
943 input_api, output_api, non_third_party_sources))
945 input_api, output_api, non_third_party_sources))
949 def CheckApiDepsFileIsUpToDate(input_api, output_api): argument
995 results.append(output_api.PresubmitError(
1003 def CheckBannedAbslMakeUnique(input_api, output_api, source_file_filter): argument
1016 return [output_api.PresubmitError(
1022 def CheckObjcApiSymbols(input_api, output_api, source_file_filter): argument
1041 return [output_api.PresubmitError(
1051 def CheckAbslMemoryInclude(input_api, output_api, source_file_filter): argument
1069 return [output_api.PresubmitError(
1076 def CheckChangeOnUpload(input_api, output_api): argument
1078 results.extend(CommonChecks(input_api, output_api))
1079 results.extend(CheckGnGen(input_api, output_api))
1081 input_api.canned_checks.CheckGNFormatted(input_api, output_api))
1085 def CheckChangeOnCommit(input_api, output_api): argument
1087 results.extend(CommonChecks(input_api, output_api))
1088 results.extend(VerifyNativeApiHeadersListIsValid(input_api, output_api))
1089 results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
1091 input_api, output_api))
1093 input_api, output_api))
1094 results.extend(CheckChangeHasBugField(input_api, output_api))
1095 results.extend(CheckCommitMessageBugEntry(input_api, output_api))
1097 input_api, output_api,
1102 def CheckOrphanHeaders(input_api, output_api, source_file_filter): argument
1126 results.append(output_api.PresubmitError(error_msg.format(
1131 def CheckNewlineAtTheEndOfProtoFiles(input_api, output_api, source_file_filter): argument
1142 results.append(output_api.PresubmitError(error_msg.format(file_path)))
1216 def CheckAddedDepsHaveTargetApprovals(input_api, output_api): argument
1240 return [output_api.PresubmitNotifyResult(
1243 return [output_api.PresubmitNotifyResult(
1246 return [output_api.PresubmitError(
1249 output = output_api.PresubmitError
1251 output = output_api.PresubmitNotifyResult