/third_party/python/Lib/test/ |
H A D | test_binascii.py | 70 for line in lines: 71 a = self.type2test(line) 91 def addnoise(line): 93 ratio = len(line) // len(noise) 95 while line and noise: 96 if len(line) // len(noise) > ratio: 97 c, line = line[0], line[1:] 101 return res + noise + line [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_debug.c | 37 void osal_panic(const char *fmt, const char *fun, int line, const char *cond) in osal_panic() argument 39 panic(fmt, fun, line, cond); in osal_panic()
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | bug.h | 15 TP_PROTO(const char *file, unsigned int line, unsigned long bugaddr), 16 TP_ARGS(file, line, bugaddr), 1);
|
/third_party/ninja/src/ |
H A D | clparser.h | 26 /// Parse a line of cl.exe output and extract /showIncludes info. 29 static std::string FilterShowIncludes(const std::string& line, 36 /// Parse a line of cl.exe output and return true if it looks like 40 static bool FilterInputFilename(std::string line);
|
/third_party/ltp/testcases/realtime/scripts/ |
H A D | parser.py | 42 for line in self.__log_file.read().split("\n"): 43 yield line
|
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/ |
H A D | pure.py | 14 for lno, line in enumerate(lines, 1): 16 data = line
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Assert.cpp | 29 void failedAssert(const char *expression, const char *file, unsigned int line, const char *func) in failedAssert() argument 42 expression, file, line, func); in failedAssert()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ui/ |
H A D | OpenGLFunctions.cpp | 20 void CheckOpenGLError(const char* stmt, const char* fname, int line) in CheckOpenGLError() argument 25 LOGW("OpenGL error %08x, at %s:%i - for %s\n", err, fname, line, stmt); in CheckOpenGLError()
|
/third_party/skia/src/utils/win/ |
H A D | SkHRESULT.cpp | 13 void SkTraceHR(const char* file, unsigned long line, HRESULT hr, const char* msg) { in SkTraceHR() argument 17 SkDebugf("%s(%lu) : error 0x%lx: ", file, line, hr); in SkTraceHR()
|
/third_party/skia/tools/ |
H A D | misc_utils.py | 20 Opens a file for reading and searches line by line for a match to 39 for line in input_stream: 40 match = pattern_object.search(line)
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_ideal_endpoints_and_weights.cpp | 277 line2 line { pms[i].avg, normalize_safe(dir, unit2()) }; 286 float param = dot_s(point - line.a, line.b); 325 vfloat4 lowvalue = line.a + line.b * lowparam; 326 vfloat4 highvalue = line.a + line.b * highparam; 426 line3 line { pms[i].avg, normalize_safe(dir, unit3()) }; 448 vfloat4 sub_v0 = points0 - line.a; 449 vfloat4 sub_v1 = points1 - line [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLDSLParser.cpp | 105 , fPushback(Token::Kind::TK_NONE, /*offset=*/-1, /*length=*/-1, /*line=*/-1) { in DSLParser() 208 PositionInfo DSLParser::position(int line) { in position() argument 209 return PositionInfo("<unknown>", line); in position() 216 void DSLParser::error(int line, String msg) { in error() argument 217 GetErrorReporter().error(msg.c_str(), this->position(line)); in error() 418 bool DSLParser::parseArrayDimensions(int line, DSLType* type) { in parseArrayDimensions() argument 421 this->error(line, "expected array dimension"); in parseArrayDimensions() 423 *type = Array(*type, this->arraySize(), this->position(line)); in parseArrayDimensions() 432 bool DSLParser::parseInitializer(int line, DSLExpression* initializer) { in parseInitializer() argument 448 int line in globalVarDeclarationEnd() local 487 int line = this->peek().fLine; localVarDeclarationEnd() local 1566 swizzle(int line, DSLExpression base, skstd::string_view swizzleMask) swizzle() argument 1614 call(int line, dsl::DSLExpression base, ExpressionArray args) call() argument 1644 int line = this->peek().fLine; suffix() local [all...] |
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 125 "Indicates the file, line number, temporal index of " 312 ", line " + \ 333 ", line " + \ 384 int line, DeathTest** test) { in Create() 386 statement, std::move(matcher), file, line, test); in Create() 656 const char* file, int line) in WindowsDeathTest() 659 line_(line) {} in WindowsDeathTest() 668 // The line number on which the death test is located. 816 const char* file, int line) in FuchsiaDeathTest() 819 line_(line) {} in FuchsiaDeathTest() 382 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 655 WindowsDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) WindowsDeathTest() argument 815 FuchsiaDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) FuchsiaDeathTest() argument 1153 ExecDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) ExecDeathTest() argument 1440 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 1571 int line = -1; ParseInternalRunDeathTestFlag() local [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 129 "Indicates the file, line number, temporal index of " 316 ", line " + \ 337 ", line " + \ 388 int line, DeathTest** test) { in Create() 390 statement, std::move(matcher), file, line, test); in Create() 674 const char* file, int line) in WindowsDeathTest() 677 line_(line) {} in WindowsDeathTest() 686 // The line number on which the death test is located. 834 const char* file, int line) in FuchsiaDeathTest() 837 line_(line) {} in FuchsiaDeathTest() 386 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 673 WindowsDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) WindowsDeathTest() argument 833 FuchsiaDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) FuchsiaDeathTest() argument 1147 ExecDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) ExecDeathTest() argument 1405 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 1536 int line = -1; ParseInternalRunDeathTestFlag() local [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 122 "Indicates the file, line number, temporal index of " 310 ::std::string("CHECK failed: File ") + __FILE__ + ", line " \ 331 ::std::string("CHECK failed: File ") + __FILE__ + ", line " \ 381 int line, DeathTest** test) { in Create() 383 statement, std::move(matcher), file, line, test); in Create() 652 const char* file, int line) in WindowsDeathTest() 655 line_(line) {} in WindowsDeathTest() 664 // The line number on which the death test is located. 816 const char* file, int line) in FuchsiaDeathTest() 819 line_(line) {} in FuchsiaDeathTest() 379 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 651 WindowsDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) WindowsDeathTest() argument 815 FuchsiaDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) FuchsiaDeathTest() argument 1167 ExecDeathTest(const char* a_statement, Matcher<const std::string&> matcher, const char* file, int line) ExecDeathTest() argument 1466 Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) Create() argument 1600 int line = -1; ParseInternalRunDeathTestFlag() local [all...] |
/third_party/python/Lib/ |
H A D | configparser.py | 45 When `empty_lines_in_values` is False (default: True), each empty line 204 message.append(" [line {0:2d}]".format(lineno)) 230 message.append(" [line {0:2d}]".format(lineno)) 336 def append(self, lineno, line): 337 self.errors.append((lineno, line)) 338 self.message += '\n\t[line %2d]: %s' % (lineno, line) 344 def __init__(self, filename, lineno, line): 347 'File contains no section headers.\nfile: %r, line: %d\n%r' % 348 (filename, lineno, line)) [all...] |
/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | _header_parser.py | 70 for line in f: 71 tt = re.match(r".*enum *((\w+) *\*) *\w* *;", line) 73 new_line = line.replace(tt[1], tt[2] + "_ENUM_POINTER ") 76 tt = re.match(r".*(\[\w* *\(.*\) *]) *", line) 78 new_line = line.replace(tt[1], "[]") 82 new_lines += line 163 print("[HeaderParser]: %s[line %d] " % (enm["filename"], enm["line_number"]), errmsg)
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/ |
H A D | cgroup_adjuster.cpp | 77 char *line = strtok(fileContent, flag); in AdjustForkProcessGroup() local 78 while (line != NULL) { in AdjustForkProcessGroup() 79 int32_t forkPid = std::atoi(line); in AdjustForkProcessGroup() 81 CGS_LOGE("%{public}s str to int failed, str = %{public}s", __func__, line); in AdjustForkProcessGroup() 82 line = strtok(NULL, flag); in AdjustForkProcessGroup() 85 line = strtok(NULL, flag); in AdjustForkProcessGroup()
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | custom_utd_store.cpp | 55 std::string line; in GetHapTypeCfgs() local 56 std::getline(fin, line); in GetHapTypeCfgs() 57 jsonStr += line; in GetHapTypeCfgs() 78 std::string line; in GetTypeCfgs() local 79 std::getline(fin, line); in GetTypeCfgs() 80 jsonStr += line; in GetTypeCfgs()
|
/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_report_entity.cpp | 135 const string &line, in DealLine() 138 if (line.empty()) { in DealLine() 142 string currentLine = line; in DealLine() 166 static struct ReportFileInfo StorageDealLine(unordered_map<string, int> &keys, int &num, const string &line) in StorageDealLine() argument 168 if (line.empty()) { in StorageDealLine() 172 string currentLine = line; in StorageDealLine() 133 DealLine(unordered_map<string, int> &keys, int &num, const string &line, unordered_map<string, struct ReportFileInfo> &infos) DealLine() argument
|
/third_party/curl/tests/libtest/ |
H A D | mk-lib1521.pl | 34 my $line = ""; 116 printf("CURLOPT_%s returned %d, \\"%s\\" on line %d\\n", 123 printf("CURLINFO_%s returned %d, \\"%s\\" on line %d\\n", 189 # Remove multi-line comment trail. 197 if($line ne "") { 198 # Unfold line. 199 $_ = "$line $1"; 200 $line = ""; 217 # Folded line. 218 $line [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | vivo.c | 126 unsigned char *line, *line_end, *key, *value; in vivo_read_header() local 156 line = vivo->text; in vivo_read_header() 157 while (*line) { in vivo_read_header() 158 line_end = strstr(line, "\r\n"); in vivo_read_header() 163 key = line; in vivo_read_header() 164 line = line_end + 2; // skip \r\n in vivo_read_header()
|
/third_party/gn/infra/recipes/ |
H A D | gn.py | 46 for line in lines: 47 line = line.strip() 48 if line.startswith(sdk_dir) and 'include/c++/v1' in line: 49 return line
|
/third_party/alsa-utils/iecset/ |
H A D | iecset.c | 132 static char *skipspace(char *line) in skipspace() argument 135 for (p = line; *p && isspace(*p); p++) in skipspace() 145 char line[1024], *cmd, *arg; in parse_file() local 146 while (fgets(line, sizeof(line), fp) != NULL) { in parse_file() 147 cmd = skipspace(line); in parse_file()
|
/third_party/curl/lib/ |
H A D | pingpong.c | 291 that was the final line; now ditch that */ in Curl_pp_readresp() 325 char *line = Curl_dyn_ptr(&pp->recvbuf); in Curl_pp_readresp() local 326 char *nl = memchr(line, '\n', Curl_dyn_len(&pp->recvbuf)); in Curl_pp_readresp() 329 the line isn't really terminated until the LF comes */ in Curl_pp_readresp() 330 size_t length = nl - line + 1; in Curl_pp_readresp() 336 Curl_debug(data, CURLINFO_HEADER_IN, line, length); in Curl_pp_readresp() 342 result = Curl_client_write(data, CLIENTWRITE_INFO, line, length); in Curl_pp_readresp() 346 if(pp->endofresp(data, conn, line, length, code)) { in Curl_pp_readresp() 347 /* When at "end of response", keep the endofresp line first in the in Curl_pp_readresp() 350 data in this buffer after the endofresp line in Curl_pp_readresp() [all...] |