| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
| H A D | token.go | 4 // you may not use this file except in compliance with the License. 31 // TokenConverter is a Converter backed by a token file set and file. 32 // It uses the file set methods to work out the conversions, which 33 // makes it fast and does not require the file contents. 36 file *token.File 52 return &TokenConverter{fset: fset, file: f} 56 // given file content. 61 return &TokenConverter{fset: fset, file: f} 75 return Span{}, fmt.Errorf("file no [all...] |
| /third_party/spirv-tools/utils/vscode/src/lsp/span/ |
| H A D | token.go | 4 // you may not use this file except in compliance with the License. 31 // TokenConverter is a Converter backed by a token file set and file. 32 // It uses the file set methods to work out the conversions, which 33 // makes it fast and does not require the file contents. 36 file *token.File 52 return &TokenConverter{fset: fset, file: f} 56 // given file content. 61 return &TokenConverter{fset: fset, file: f} 75 return Span{}, fmt.Errorf("file no [all...] |
| /test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/ |
| H A D | HiAppEventCPPTest.cpp | 4 * you may not use this file except in compliance with the License. 77 std::vector<std::string> file; in HWTEST_F() local 78 file = getfileinpath(logPath); in HWTEST_F() 79 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 87 std::cout << "DFX_DFT_HiviewKit_HiAppEvent_Native_0100 file error" << std::endl; in HWTEST_F() 113 std::vector<std::string> file; in HWTEST_F() local 114 file = getfileinpath(logPath); in HWTEST_F() 115 getlogFile = accumulate(file.begin(), file in HWTEST_F() 148 std::vector<std::string> file; HWTEST_F() local 183 std::vector<std::string> file; HWTEST_F() local 220 std::vector<std::string> file; HWTEST_F() local 255 std::vector<std::string> file; HWTEST_F() local 290 std::vector<std::string> file; HWTEST_F() local 325 std::vector<std::string> file; HWTEST_F() local 360 std::vector<std::string> file; HWTEST_F() local 395 std::vector<std::string> file; HWTEST_F() local 430 std::vector<std::string> file; HWTEST_F() local 465 std::vector<std::string> file; HWTEST_F() local 500 std::vector<std::string> file; HWTEST_F() local 535 std::vector<std::string> file; HWTEST_F() local 570 std::vector<std::string> file; HWTEST_F() local 605 std::vector<std::string> file; HWTEST_F() local 640 std::vector<std::string> file; HWTEST_F() local 682 std::vector<std::string> file; HWTEST_F() local 720 std::vector<std::string> file; HWTEST_F() local 821 std::vector<std::string> file; HWTEST_F() local 856 std::vector<std::string> file; HWTEST_F() local 891 std::vector<std::string> file; HWTEST_F() local 926 std::vector<std::string> file; HWTEST_F() local 966 std::vector<std::string> file; HWTEST_F() local 1001 std::vector<std::string> file; HWTEST_F() local 1044 std::vector<std::string> file; HWTEST_F() local 1086 std::vector<std::string> file; HWTEST_F() local 1139 std::vector<std::string> file; HWTEST_F() local 1188 std::vector<std::string> file; HWTEST_F() local 1221 std::vector<std::string> file; HWTEST_F() local [all...] |
| /base/request/request/services/src/task/ |
| H A D | download.rs | 3 // you may not use this file except in compliance with the License. 99 let file = self.files.get_mut(0).unwrap(); 100 file.seek(SeekFrom::End(0)).await?; 101 let downloaded = file.metadata().await?.len() as usize; 118 let _trace = Trace::new("download file"); 157 let file = task.files.get(0).unwrap(); 158 let has_downloaded = file.metadata().await?.len() > 0; 160 error!("task {} file not cleared", task.task_id()); 214 "download file tid:{} size:{}", 223 let file 349 let mut file = File::create(file_path).unwrap(); ut_download_resume() variables 430 let mut file = File::create(file_path).unwrap(); ut_download_not_support_range_resume() variables 499 let mut file = File::create(file_path).unwrap(); ut_download_range_resume_0() variables [all...] |
| /third_party/eudev/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/lame/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/node/deps/cares/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/node/deps/cares/config/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/libevdev/build-aux/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/ltp/testcases/network/nfsv4/acl/ |
| H A D | acl1.c | 4 * Purpose: setting an acl on a file a verifies that the accesses are right 125 * set acl in order the file is only readable for the testuser 129 static void test1(char *file) in test1() argument 133 result = do_file_op(file); in test1() 142 * set acl in order the file is only readable for the testgroup 148 static void test2(char *file) in test2() argument 152 result = do_file_op(file); in test2() 160 * set acl in order the file is only readable for the testuser 165 static void test3(char *file) in test3() argument 169 result = do_file_op(file); in test3() 182 test4(char *file) test4() argument 193 test5(char *file) test5() argument 204 testgrp1(char *file) testgrp1() argument 225 testgrp2(char *file) testgrp2() argument 243 testgrp3(char *file) testgrp3() argument 261 testgrp4(char *file) testgrp4() argument 274 testgrp5(char *file) testgrp5() argument [all...] |
| /third_party/skia/third_party/externals/libpng/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/skia/third_party/externals/microhttpd/ |
| H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_ir_fs.h | 40 fs_reg(enum brw_reg_file file, int nr); 41 fs_reg(enum brw_reg_file file, int nr, enum brw_reg_type type); 60 assert(reg.file != IMM); in negate() 75 switch (reg.file) { in byte_offset() 106 switch (reg.file) { in horiz_offset() 128 unreachable("Invalid register file"); in horiz_offset() 134 switch (reg.file) { in offset() 167 * its own, only the VGRF file is composed of multiple discrete address 173 return r.file << 16 | (r.file in reg_space() [all...] |
| /third_party/musl/libc-test/src/functionalext/supplement/time/ |
| H A D | utime_sup.c | 4 * you may not use this file except in compliance with the License. 27 * @tc.desc : Specify file modification and access times 33 char file[] = "/data/utime1.txt"; in utime_0100() local 37 if ((fd = creat(file, S_IWUSR)) < 0) { in utime_0100() 41 stat(file, &info); in utime_0100() 44 if (utime(file, &ubuf) != 0) { in utime_0100() 47 stat(file, &info); in utime_0100() 49 t_error("%s modify file time failed", __func__); in utime_0100() 53 remove(file); in utime_0100() 66 t_error("%s write create file erro in utime_0200() 97 char file[] = "/data/utime641.txt"; utime64_0100() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/ |
| H A D | update.py | 6 # you may not use this file except in compliance with the License. 279 print(line, file=dst_file, end='') 280 print('', file=dst_file) 282 file=dst_file) 283 print('#define __i386__ 1', file=dst_file) 284 print('#endif', file=dst_file) 285 print('', file=dst_file) 287 '#if !defined(__x86_64__) && (defined(_M_AMD64) || defined (_M_X64))', file=dst_file) 288 print('#define __x86_64__ 1', file=dst_file) 289 print('#endif', file [all...] |
| /base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
| H A D | global_utils.c | 4 * you may not use this file except in compliance with the License.
50 static uint32_t GetDefaultOffsetValue(int32_t file);
51 static uint32_t GetKeyValue(int32_t file);
52 static int32_t GetIdItem(int32_t file, uint32_t offset, IdItem *idItem);
54 static int32_t GetKeyParams(int32_t file, Key *keys, uint32_t resConfigNum);
56 static int32_t GetIdHeaderByOffset(int32_t file, uint32_t offset, IdHeader *idHeader);
294 static int32_t GetKeyParams(int32_t file, Key *keys, uint32_t resConfigNum)
in GetKeyParams() argument 296 if (file < 0 || keys == NULL) {
in GetKeyParams() 301 int seekRet = lseek(file, INDEX_DEFAULT_OFFSET, SEEK_CUR); // skip the "KEYS" header
in GetKeyParams() 306 keys[i].offset = GetDefaultOffsetValue(file);
in GetKeyParams() 362 int32_t file = open(realResourcePath, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); GetOffsetByLocale() local 399 GetDefaultOffsetValue(int32_t file) GetDefaultOffsetValue() argument 412 GetKeyValue(int32_t file) GetKeyValue() argument 425 GetIdItem(int32_t file, uint32_t offset, IdItem *idItem) GetIdItem() argument 496 GetIdHeaderByOffset(int32_t file, uint32_t offset, IdHeader *idHeader) GetIdHeaderByOffset() argument [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_sanity.c | 41 uint file : 28; member 69 unsigned key = reg->file; in scan_register_key() 78 uint file, uint index) in fill_scan_register1d() 80 reg->file = file; in fill_scan_register1d() 88 uint file, uint index1, uint index2) in fill_scan_register2d() 90 reg->file = file; in fill_scan_register2d() 191 uint file ) in check_file_name() 193 if (file < in check_file_name() 77 fill_scan_register1d(scan_register *reg, uint file, uint index) fill_scan_register1d() argument 87 fill_scan_register2d(scan_register *reg, uint file, uint index1, uint index2) fill_scan_register2d() argument 396 uint file; iter_declaration() local [all...] |
| /third_party/pulseaudio/speex/libspeexdsp/ |
| H A D | fixed_debug.h | 3 @file fixed_debug.h 78 static inline short _EXTRACT16(int x, char *file, int line) in _EXTRACT16() argument 83 fprintf (stderr, "EXTRACT16: input is not short: %d in %s: line %d\n", x, file, line); in _EXTRACT16() 91 static inline int _EXTEND32(int x, char *file, int line) in _EXTEND32() argument 96 fprintf (stderr, "EXTEND32: input is not short: %d in %s: line %d\n", x, file, line); in _EXTEND32() 104 static inline short _SHR16(int a, int shift, char *file, int line) in _SHR16() argument 109 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); in _SHR16() 113 fprintf (stderr, "SHR16: output is not short: %d in %s: line %d\n", res, file, line); in _SHR16() 118 static inline short _SHL16(int a, int shift, char *file, int line) in _SHL16() argument 123 fprintf (stderr, "SHL16: inputs are not short: %d %d in %s: line %d\n", a, shift, file, lin in _SHL16() 174 _ADD16(int a, int b, char *file, int line) _ADD16() argument 191 _SUB16(int a, int b, char *file, int line) _SUB16() argument 206 _ADD32(long long a, long long b, char *file, int line) _ADD32() argument 254 _MULT16_16(int a, int b, char *file, int line) _MULT16_16() argument 275 _MULT16_32_QX(int a, long long b, int Q, char *file, int line) _MULT16_32_QX() argument 439 _DIV32_16(long long a, long long b, char *file, int line) _DIV32_16() argument 465 _DIV32(long long a, long long b, char *file, int line) _DIV32() argument [all...] |
| /base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
| H A D | hc_file.c | 4 * you may not use this file except in compliance with the License.
41 int HcFileOpen(const char *path, int mode, FileHandle *file)
in HcFileOpen() argument 43 if (path == NULL || file == NULL) {
in HcFileOpen() 46 if (strcpy_s(file->filePath, MAX_FILE_PATH_SIZE, path) != EOK) {
in HcFileOpen() 51 file->fileHandle.fd = HcFileOpenRead(path);
in HcFileOpen() 53 file->fileHandle.fd = HcFileOpenWrite(path);
in HcFileOpen() 55 if (file->fileHandle.fd == HAL_FAILED) {
in HcFileOpen() 61 int HcFileSize(FileHandle file)
in HcFileSize() argument 64 int ret = UtilsFileStat(file.filePath, (unsigned int *)&fileSize);
in HcFileSize() 72 int HcFileRead(FileHandle file, voi argument 83 HcFileWrite(FileHandle file, const void *src, int srcSize) HcFileWrite() argument 94 HcFileClose(FileHandle file) HcFileClose() argument [all...] |
| /third_party/ltp/lib/ |
| H A D | tst_uid.c | 16 gid_t tst_get_free_gid_(const char *file, const int lineno, gid_t skip) in tst_get_free_gid_() argument 27 tst_res_(file, lineno, TINFO | TERRNO, in tst_get_free_gid_() 32 tst_brk_(file, lineno, TBROK|TERRNO, "Group ID lookup failed"); in tst_get_free_gid_() 36 tst_brk_(file, lineno, TBROK, "No free group ID found"); in tst_get_free_gid_() 72 int tst_check_resuid_(const char *file, const int lineno, const char *callstr, in tst_check_resuid_() argument 83 tst_res_(file, lineno, TFAIL, "Unexpected process UID after %s", in tst_check_resuid_() 86 tst_res_(file, lineno, TFAIL, "Unexpected process UID"); in tst_check_resuid_() 89 tst_res_(file, lineno, TINFO, "Got: ruid = %d, euid = %d, suid = %d", in tst_check_resuid_() 91 tst_res_(file, lineno, TINFO, in tst_check_resuid_() 97 int tst_check_resgid_(const char *file, cons argument [all...] |
| /third_party/ltp/testcases/kernel/controllers/cpuset/ |
| H A D | cpuset_regression_test.sh | 58 # Create backup of the values of a specific file (<what>) 74 while read -r file; do 75 [ "$(cat "${file}")" = "" ] && continue 77 mkdir -p "$(dirname "${backup_dir}/${file}")" 78 cat "${file}" > "${backup_dir}/${file}" 79 echo "0-$cpu_max" > "${file}" || exit 1 87 while read -r file; do 88 [ "$(cat "${file}")" = "" ] && continue 89 echo "1" > "${file}" [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | typeGuardOfFormThisMemberErrors.js | 29 let file: FileSystemObject = new File("foo/bar.txt", "foo"); 30 file.isNetworked = file.isFile; 31 file.isFSO = file.isNetworked; 32 file.isFile = file.isFSO; 96 var file = new File("foo/bar.txt", "foo");
97 file.isNetworked = file [all...] |
| /third_party/selinux/secilc/ |
| H A D | secil2conf.c | 49 printf(" -o, --output=<file> write policy.conf to <file>\n"); in usage() 66 FILE *file = NULL; in main() local 141 file = fopen(argv[i], "r"); in main() 142 if (!file) { in main() 143 fprintf(stderr, "Could not open file: %s\n", argv[i]); in main() 149 fprintf(stderr, "Could not stat file: %s\n", argv[i]); in main() 155 rc = fread(buffer, file_size, 1, file); in main() 157 fprintf(stderr, "Failure reading file: %s\n", argv[i]); in main() 160 fclose(file); in main() [all...] |
| /third_party/vk-gl-cts/framework/delibs/deimage/ |
| H A D | deTarga.c | 8 * you may not use this file except in compliance with the License. 20 * \file 21 * \brief Targa file operations. 33 FILE* file; in deImage_loadTarga() local 35 file = fopen(fileName, "rb"); in deImage_loadTarga() 37 if (file != DE_NULL) in deImage_loadTarga() 51 bytesRead = (int)fread(&tgaHeader, 1, 18, file); in deImage_loadTarga() 87 fread(buffer, 1, bufSize, file); in deImage_loadTarga() 113 fclose(file); in deImage_loadTarga() 125 FILE* file; in deImage_saveTarga() local [all...] |
| /third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/ |
| H A D | TestUtils.java | 5 * you may not use this file except in compliance with the License. 61 public static FileChannel createFileChannelForWriting(File file) throws IOException { in createFileChannelForWriting() argument 62 createNewFile(file); in createFileChannelForWriting() 64 RandomAccessFile raf = new RandomAccessFile(file, "rw"); in createFileChannelForWriting() 69 * Creates a new file including deleting an already existing file with the same path 72 * @param file the file to create 75 public static void createNewFile(File file) throws IOException { in createNewFile() argument 76 if (file in createNewFile() 83 createOutputStream(File file) createOutputStream() argument 169 extension(File file) extension() argument 184 readFile(File file) readFile() argument [all...] |