| /third_party/ltp/lib/ |
| H A D | tst_lockdown.c | 31 tst_res(TINFO, "SecureBoot sysfs file not available"); in tst_secureboot_enabled() 39 "Cannot open SecureBoot file"); in tst_secureboot_enabled() 54 FILE *file; in tst_lockdown_enabled() local 76 file = SAFE_FOPEN(PATH_LOCKDOWN, "r"); in tst_lockdown_enabled() 77 if (!fgets(line, sizeof(line), file)) in tst_lockdown_enabled() 79 SAFE_FCLOSE(file); in tst_lockdown_enabled()
|
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_fs_validate.cpp | 24 /** @file brw_fs_validate.cpp 48 unsigned(inst->src[URB_LOGICAL_SRC_PER_SLOT_OFFSETS].file != BAD_FILE) + in validate() 49 unsigned(inst->src[URB_LOGICAL_SRC_CHANNEL_MASK].file != BAD_FILE); in validate() 60 if (inst->dst.file == VGRF) { in validate() 66 if (inst->src[i].file == VGRF) { in validate()
|
| /third_party/mesa3d/src/intel/tools/ |
| H A D | intel_dump_gpu.in | 8 Run COMMAND with ARGUMENTS and dump an AUB file that captures buffer 13 -o, --output=FILE Name of AUB file. Defaults to COMMAND.aub 20 the output aub file. This helps reducing output file 21 size greatly but won't produce a file replayable 38 file="" 59 file=$2 60 add_arg "file=${file:-$(basename ${file}) [all...] |
| /third_party/node/deps/ngtcp2/ngtcp2/lib/ |
| H A D | ngtcp2_mem.h | 47 const char *func, const char *file, size_t line); 53 const char *file, size_t line); 59 const char *func, const char *file, size_t line); 66 const char *func, const char *file, size_t line);
|
| /third_party/ltp/testcases/network/nfs/nfslock01/ |
| H A D | nfslock01.sh | 8 # Two processes open FLOCK_IDATA file simultaneously 9 # each one locks odd and even lines of the file simultaneously 21 local file="$1" 28 ROD nfs_flock_dgen $file $nchars $nlines $val 30 size="$(wc -c $file | awk '{print $1}')" 32 tst_brk TBROK "could not create '$file' (size: $size, expected: $exp_size)" 60 tst_res TINFO "locking 'flock_idata' file and writing data"
|
| /third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
| H A D | ima_measurements.sh | 55 ROD echo "$(cat /proc/uptime) this is a test file" \> $TEST_FILE 64 ROD echo "$(cat /proc/uptime) modified file" \> $TEST_FILE 72 local file="$dir/test.txt" 86 # need to read file to get updated $ASCII_MEASUREMENTS 87 sudo -n -u $user sh -c "echo $(cat /proc/uptime) user file > $file; cat $file > /dev/null" 90 EXPECT_FAIL "grep $file $ASCII_MEASUREMENTS"
|
| /third_party/lzma/C/ |
| H A D | 7zFile.h | 16 // note: USE_FOPEN mode is limited to 32-bit file size
32 FILE *file;
49 /* reads max(*size, remain file's size) bytes */
64 CSzFile file;
member 74 CSzFile file;
member 84 CSzFile file;
member
|
| /third_party/python/Tools/freeze/ |
| H A D | winmakemakefile.py | 83 # the file extension and additional linker flags. 105 for file in moddefn.sourceFiles: 106 base = os.path.basename(file) 109 print(r'$(temp_dir)\%s.obj: "%s"' % (base, file)) 116 print('\t\t"%s"' % file)
|
| /third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
| H A D | EnumValueDescriptor.cs | 39 /// Descriptor for a single enum value within an enum in a .proto file. 46 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() argument 48 : base(file, parent.FullName + "." + proto.Name, index) in EnumValueDescriptor() 52 file.DescriptorPool.AddSymbol(this); in EnumValueDescriptor() 53 file.DescriptorPool.AddEnumValueByNumber(this); in EnumValueDescriptor()
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| H A D | linkcheck.py | 5 # linkcheck - check internal links of the specified HTML file against 8 # Usage: linkcheck file.html 17 def checkLinks(file, args): 19 tree = et.parse(file, parser) 69 # Patterns used to recognize interesting lines in an asciidoc source file. 83 for file in args.files: 84 checkLinks(file, args)
|
| /third_party/vk-gl-cts/external/amber/src/tools/ |
| H A D | update_build_version.py | 6 # you may not use this file except in compliance with the License. 72 file = outdir + "/" + OUTFILE 73 if os.path.isfile(file): 74 with open(file, 'r') as f: 77 with open(file, 'w') as f:
|
| /third_party/openssl/test/helpers/ |
| H A D | cmp_testlib.c | 7 * this file except in compliance with the License. You can obtain a copy 8 * in the file LICENSE in the source distribution or at 15 OSSL_CMP_MSG *load_pkimsg(const char *file, OSSL_LIB_CTX *libctx) in load_pkimsg() argument 19 (void)TEST_ptr((msg = OSSL_CMP_MSG_read(file, libctx, NULL))); in load_pkimsg() 77 int print_to_bio_out(const char *func, const char *file, int line, in print_to_bio_out() argument 80 return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg); in print_to_bio_out()
|
| /third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
| H A D | err.rs | 14 pub fn ERR_set_debug(file: *const c_char, line: c_int, func: *const c_char); in ERR_set_debug() 19 pub fn ERR_put_error(lib: c_int, func: c_int, reason: c_int, file: *const c_char, line: c_int); in ERR_put_error() 30 file: *mut *const c_char, in ERR_get_error_all() 37 file: *mut *const c_char, in ERR_get_error_line_data()
|
| /third_party/selinux/libselinux/utils/ |
| H A D | selabel_partial_match.c | 13 "usage: %s [-v] -p <path> [-f file]\n\n" in usage() 17 " against a regex entry in the file_contexts file.\n\t" in usage() 18 "-f Optional file_contexts file (defaults to current policy).\n\n" in usage() 31 char *validate = NULL, *path = NULL, *file = NULL; in main() local 35 { SELABEL_OPT_PATH, file }, in main() 45 file = optarg; in main() 58 selabel_option[0].value = file; in main()
|
| /third_party/vk-gl-cts/framework/opengl/ |
| H A D | gluDefs.hpp | 10 * you may not use this file except in compliance with the License. 22 * \file 56 Error (int error, const char* message, const char* expr, const char* file, int line); 69 OutOfMemoryError (const char* message, const char* expr, const char* file, int line); 74 void checkError (deUint32 err, const char* msg, const char* file, int line); 75 void checkError (const RenderContext& context, const char* msg, const char* file, int line);
|
| /third_party/alsa-lib/src/ucm/ |
| H A D | parser.c | 17 * command line tool and file parser was kindly sponsored by 49 const char *dir, const char *file) in ucm_filename() 53 if (file[0] == '/') in ucm_filename() 54 file++; in ucm_filename() 58 dir ?: "", dir ? "/" : "", file); in ucm_filename() 61 env, dir ?: "", dir ? "/" : "", file); in ucm_filename() 68 const char *file, snd_config_t **cfg) in uc_mgr_config_load_file() 74 file[0] == '/' ? NULL : uc_mgr->conf_dir_name, in uc_mgr_config_load_file() 75 file); in uc_mgr_config_load_file() 78 uc_error("error: failed to open file in uc_mgr_config_load_file() 48 ucm_filename(char *fn, size_t fn_len, long version, const char *dir, const char *file) ucm_filename() argument 67 uc_mgr_config_load_file(snd_use_case_mgr_t *uc_mgr, const char *file, snd_config_t **cfg) uc_mgr_config_load_file() argument 689 const char *id, *file = NULL; parse_libconfig1() local 1954 parse_verb_file(snd_use_case_mgr_t *uc_mgr, const char *use_case_name, const char *comment, const char *file) parse_verb_file() argument 2106 char *file = NULL, *comment = NULL; parse_variant() local 2166 char *use_case_name, *file = NULL, *comment = NULL; parse_master_section() local 2575 char *dir = NULL, *file = NULL, fn[PATH_MAX]; parse_toplevel_path() local [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | vf_dnn_classify.c | 2 * This file is part of FFmpeg. 20 * @file 57 { "labels", "path to labels file", OFFSET2(labels_filename), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, 131 FILE *file; in read_classify_label_file() local 134 file = avpriv_fopen_utf8(ctx->labels_filename, "r"); in read_classify_label_file() 135 if (!file){ in read_classify_label_file() 136 av_log(context, AV_LOG_ERROR, "failed to open file %s\n", ctx->labels_filename); in read_classify_label_file() 140 while (!feof(file)) { in read_classify_label_file() 143 if (!fgets(buf, 256, file)) { in read_classify_label_file() 163 fclose(file); in read_classify_label_file() [all...] |
| /third_party/alsa-utils/alsactl/ |
| H A D | utils.c | 180 void error_handler(const char *file, int line, const char *function, int err, const char *fmt, ...) in error_handler() argument 189 syslog(LOG_ERR, "alsa-lib %s:%i:(%s) %s%s%s\n", file, line, function, in error_handler() 192 fprintf(stderr, "alsa-lib %s:%i:(%s) %s%s%s\n", file, line, function, in error_handler() 196 int load_configuration(const char *file, snd_config_t **top, int *open_failed) in load_configuration() argument 210 stdio_flag = !strcmp(file, "-"); in load_configuration() 214 lock_fd = state_lock(file, LOCK_TIMEOUT); in load_configuration() 215 err = lock_fd >= 0 ? snd_input_stdio_open(&in, file, "r") : lock_fd; in load_configuration() 228 state_unlock(lock_fd, file); in load_configuration() 234 state_unlock(lock_fd, file); in load_configuration() 328 error("Unable to remove file ' in snd_card_clean_cfgdir() [all...] |
| /third_party/backends/backend/ |
| H A D | kvs20xx_cmd.c | 38 st = sanei_usb_write_bulk (s->file, (const SANE_Byte *) h, &sz); in usb_send_command() 46 st = sanei_usb_read_bulk (s->file, (SANE_Byte *) h, &sz); in usb_send_command() 52 st = sanei_usb_release_interface (s->file, 0); in usb_send_command() 55 st = sanei_usb_claim_interface (s->file, 0); in usb_send_command() 71 st = sanei_usb_write_bulk (s->file, (const SANE_Byte *) h, &sz); in usb_send_command() 76 st = sanei_usb_read_bulk (s->file, resp, &sz); in usb_send_command() 143 st = sanei_scsi_cmd (s->file, s->buffer, c->cmd_size + c->data_size, in send_command() 149 st = sanei_scsi_cmd (s->file, c->cmd, c->cmd_size, in send_command() 154 st = sanei_scsi_cmd (s->file, c->cmd, c->cmd_size, NULL, NULL); in send_command()
|
| /third_party/libuv/src/unix/ |
| H A D | tty.c | 53 static int isreallyatty(int file) { in isreallyatty() argument 56 rc = !ioctl(file, TXISATTY + 0x81, NULL); in isreallyatty() 115 /* Lookup stat structure behind the file descriptor. */ in uv__tty_is_slave() 166 /* Reopen the file descriptor when it refers to a tty. This lets us put the in uv_tty_init() 171 * affects fd 1 of `cat` because both file descriptors refer to the same in uv_tty_init() 172 * struct file in the kernel. When we reopen our fd 0, it points to a in uv_tty_init() 173 * different struct file, hence changing its properties doesn't affect in uv_tty_init() 356 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() argument 362 if (file < 0) in uv_guess_handle() 365 if (isatty(file)) in uv_guess_handle() [all...] |
| /third_party/ltp/tools/sparse/sparse-src/ |
| H A D | c2xml.c | 82 newProp(node, "file", stream_name(sym->pos.stream)); in new_sym_node() 91 newProp(node, "end-file", stream_name(sym->endpos.stream)); in new_sym_node() 288 static inline void examine_symbol_list(const char *file, struct symbol_list *list) in examine_symbol_list() argument 291 int stream_id = get_stream_id (file); in examine_symbol_list() 305 char *file; in main() local 321 FOR_EACH_PTR(filelist, file) { in main() 322 examine_symbol_list(file, symlist); in main() 323 sparse_keep_tokens(file); in main() 324 examine_symbol_list(file, file_scope->symbols); in main() 325 examine_symbol_list(file, global_scop in main() [all...] |
| /third_party/node/deps/uv/src/unix/ |
| H A D | tty.c | 53 static int isreallyatty(int file) { in isreallyatty() argument 56 rc = !ioctl(file, TXISATTY + 0x81, NULL); in isreallyatty() 115 /* Lookup stat structure behind the file descriptor. */ in uv__tty_is_slave() 166 /* Reopen the file descriptor when it refers to a tty. This lets us put the in uv_tty_init() 171 * affects fd 1 of `cat` because both file descriptors refer to the same in uv_tty_init() 172 * struct file in the kernel. When we reopen our fd 0, it points to a in uv_tty_init() 173 * different struct file, hence changing its properties doesn't affect in uv_tty_init() 351 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() argument 357 if (file < 0) in uv_guess_handle() 360 if (isatty(file)) in uv_guess_handle() [all...] |
| /third_party/skia/third_party/externals/libpng/contrib/examples/ |
| H A D | simpleover.c | 42 * file is linked against a sufficiently recent libpng (1.6+) it is ok to 51 FILE *file; member 211 /* The argument has to be a file name */ in create_sprite() 278 sprite->file = tmpfile(); in create_sprite() 280 if (sprite->file != NULL) in create_sprite() 293 if (png_image_write_to_stdio(&save, sprite->file, 1/*convert_to_8_bit*/, in create_sprite() 356 rewind(sprite->file); in add_sprite() 358 if (png_image_begin_read_from_stdio(&in, sprite->file)) in add_sprite() 448 sprites[nsprites].file = NULL; in simpleover_process() 522 if (sprites[nsprites].file ! in simpleover_process() [all...] |
| /third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/ |
| H A D | main.cc | 4 // you may not use this file except in compliance with the License. 45 %s [-p port-number] [server-address] shader-file-path in ShowUsage() 273 bool RunClient(std::string address, std::string port, std::string file); 321 std::string file; in main() local 327 file = args[0]; in main() 331 file = args[1]; in main() 334 if (address.empty() || file.empty()) { in main() 337 success = RunClient(address, port, file); in main() 403 bool RunClient(std::string address, std::string port, std::string file) { in RunClient() argument 404 // Read the file in RunClient() [all...] |
| /third_party/typescript/tests/baselines/reference/tsc/declarationEmit/ |
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js | 94 Loading module 'plugin-two' from 'node_modules' folder, target file type 'TypeScript'. 106 Loading module as file / folder, candidate module location '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js', target file type 'TypeScript'. 120 Loading module 'typescript-fsa' from 'node_modules' folder, target file type 'TypeScript'. 138 Loading module 'typescript-fsa' from 'node_modules' folder, target file type 'TypeScript'. 159 Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' 161 Imported via "plugin-two" from file 'plugin-one/index.ts' with packageId 'plugin-two/dist/commonjs/index.d.ts@0.1.3' 163 Imported via "typescript-fsa" from file 'plugin-one/index.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' 164 File redirects to file 'plugin-two/node_modules/typescript-fsa/index.d.ts'
|