Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 9 of 9) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPostRequestTest.java72 private String preparePostWithMultipartForm(String fileName, String fileContent) { in preparePostWithMultipartForm() argument
77 … + "Content-Type: image/jpeg\r\n" + "\r\n" + fileContent + "\r\n" + "--" + divider + "--\r\n"; in preparePostWithMultipartForm()
89 String fileContent = HttpPostRequestTest.VALUE; in testPostWithMultipartFormUpload() local
90 String input = preparePostWithMultipartForm(filename, fileContent); in testPostWithMultipartFormUpload()
98 fileContent in testPostWithMultipartFormUpload()
105 String fileContent = HttpPostRequestTest.VALUE; in testPostWithMultipartFormUploadFilenameHasSpaces() local
106 String input = preparePostWithMultipartForm(fileNameWithSpace, fileContent); in testPostWithMultipartFormUploadFilenameHasSpaces()
/external/llvm-project/flang/lib/Frontend/
DFrontendActions.cpp30 llvm::ArrayRef<char> fileContent = sf->content(); in ExecuteAction() local
41 (*os) << fileContent.data(); in ExecuteAction()
43 ci.WriteOutputStream(fileContent.data()); in ExecuteAction()
/external/llvm-project/flang/unittests/Frontend/
DCompilerInstanceTest.cpp55 llvm::ArrayRef<char> fileContent = sf->content(); in TEST() local
56 EXPECT_FALSE(fileContent.size() == 0); in TEST()
58 llvm::StringRef(fileContent.data()).startswith("InputSourceFile")); in TEST()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DVideoFileRendererTest.java78 String fileContent = new String(data, Charset.forName("US-ASCII")); in testYuvRenderingToFile() local
84 assertEquals(expected, fileContent); in testYuvRenderingToFile()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootFileFormatter.java51 String fileContent = formatInterfaces(sb.toString(), CLASS_PATERN); in write() local
55 writer.write(fileContent); in write()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DTelephonyLookupTest.java359 private String createFile(String fileContent) throws IOException { in createFile() argument
361 Files.write(filePath, fileContent.getBytes(StandardCharsets.UTF_8)); in createFile()
DTimeZoneFinderTest.java653 private String createFile(String fileContent) throws IOException { in createFile() argument
655 Files.write(filePath, fileContent.getBytes(StandardCharsets.UTF_8)); in createFile()
/external/toolchain-utils/compiler_wrapper/
Dtestutil_test.go158 func (ctx *testContext) writeFile(fullFileName string, fileContent string) {
165 if err := ioutil.WriteFile(fullFileName, []byte(fileContent), 0777); err != nil {
/external/curl/tests/
Druntests.pl3769 my $fileContent = join('', @inputfile);
3770 subVariables(\$fileContent);
3775 chomp($fileContent);
3777 print OUTFILE $fileContent;