Home
last modified time | relevance | path

Searched refs:f_name (Results 1 – 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/syscalls/writev/
Dwritev05.c74 char name[K_1], f_name[K_1]; variable
126 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) { in main()
128 "errno = %d", f_name, errno); in main()
143 if ((fd[0] = open(f_name, O_RDWR, 0666)) < 0) { in main()
145 f_name, errno); in main()
225 sprintf(f_name, "%s.%d", name, getpid()); in setup()
244 if (unlink(f_name) < 0) { in cleanup()
246 f_name, errno); in cleanup()
270 if ((unlink(f_name) < 0) && (errno != ENOENT)) { in sighandler()
272 f_name, errno); in sighandler()
Dwritev06.c67 char name[K_1], f_name[K_1]; variable
108 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) { in main()
110 "errno = %d", f_name, errno); in main()
172 sprintf(f_name, "%s.%d", name, getpid()); in setup()
217 if (unlink(f_name) < 0) { in cleanup()
219 f_name, errno); in cleanup()
243 if ((unlink(f_name) < 0) && (errno != ENOENT)) { in sighandler()
245 f_name, errno); in sighandler()
Dwritev02.c78 char name[K_1], f_name[K_1]; variable
122 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) in main()
135 if ((fd[0] = open(f_name, O_RDWR, 0666)) < 0) in main()
165 "over wrote %s", f_name); in main()
185 sprintf(f_name, "%s.%d", name, getpid()); in setup()
202 if (unlink(f_name) == -1) in cleanup()
222 if (unlink(f_name) == -1 && errno != ENOENT) in sighandler()
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c85 char f_name[K_1]; variable
204 sprintf(f_name, "%s.%d", DATA_FILE, getpid()); in setup()
206 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) { in setup()
208 "errno = %d", f_name, errno); in setup()
218 if ((fd[0] = open(f_name, O_RDONLY, 0666)) < 0) { in setup()
220 "errno = %d", f_name, errno); in setup()
239 SAFE_UNLINK(NULL, f_name); in cleanup()
/external/protobuf/python/google/protobuf/
Dproto_builder.py94 for f_name, f_type in field_items:
95 fields_hash.update(f_name.encode('utf-8'))
124 for f_number, (f_name, f_type) in enumerate(field_items, 1):
126 field_proto.name = f_name
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py335 for f_name, f in get_selection_funcs(selections).iteritems():
375 self.report_stats('ms', swap_target, f_name, 'rtime', wall_times)
376 self.report_stats('ms', swap_target, f_name, 'utime', user_times)
377 self.report_stats('ms', swap_target, f_name, 'stime', sys_times)
378 self.report_stats('faults', swap_target, f_name, 'faults',
380 self.report_stats('us_fault', swap_target, f_name, 'fault_time',
/external/autotest/client/common_lib/test_utils/
Dmock.py257 f_name = "%s.%s" % (self.__name, symbol)
258 func = mock_function(f_name, default_ret_val,
334 f_name = ("%s.%s" %
336 func = mock_function(f_name,
383 f_name = "%s.%s" % (name, symbol)
384 func = mask_function(f_name, orig_symbol,
/external/python/cpython2/Objects/
Dfileobject.c99 return ((PyFileObject *)f)->f_name; in PyFile_Name()
135 EISDIR, msg, f->f_name); in dircheck()
154 Py_DECREF(f->f_name); in fill_file_fields()
160 f->f_name = name; in fill_file_fields()
331 assert(f->f_name != NULL); in open_the_file()
363 if (PyUnicode_Check(f->f_name)) { in open_the_file()
366 if (f->f_name && wmode) { in open_the_file()
370 f->f_fp = _wfopen(PyUnicode_AS_UNICODE(f->f_name), in open_the_file()
406 v = Py_BuildValue("(isO)", errno, message, f->f_name); in open_the_file()
413 PyErr_SetFromErrnoWithFilenameObject(PyExc_IOError, f->f_name); in open_the_file()
[all …]
/external/python/cpython2/Lib/
Dinspect.py911 f_name = func.__name__
955 f_name, 'at most' if defaults else 'exactly', num_args,
962 '(%d given)' % (f_name, num_total))
965 (f_name, num_total))
970 "argument '%s'" % (f_name, arg))
989 (f_name, unexpected))
994 f_name, 'at least' if defaults else 'exactly', num_required,
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/
Denterprise_longevity_helper.py175 def copy_aggregated_to_resultsdir(resultsdir, aggregated_fpath, f_name): argument
185 results_fpath = os.path.join(resultsdir, f_name)
/external/u-boot/drivers/usb/gadget/
Df_thor.c50 DEFINE_CACHE_ALIGN_BUFFER(char, f_name, F_NAME_BUF_SIZE + 1);
282 memcpy(f_name, rqt->str_data[0], F_NAME_BUF_SIZE); in process_rqt_download()
283 f_name[F_NAME_BUF_SIZE] = '\0'; in process_rqt_download()
286 f_name, 0, thor_file_size, file_type); in process_rqt_download()
290 alt_setting_num = dfu_get_alt(f_name); in process_rqt_download()
/external/python/cpython2/Include/
Dfileobject.h13 PyObject *f_name; member
/external/python/cpython3/Lib/
Dinspect.py1288 def _missing_arguments(f_name, argnames, pos, values): argument
1300 (f_name, missing,
1304 def _too_many(f_name, args, kwonly, varargs, defcount, given, values): argument
1322 (f_name, sig, "s" if plural else "", given, kwonly_sig,
1335 f_name = func.__name__
1358 (f_name, kw))
1363 (f_name, kw))
1366 _too_many(f_name, args, kwonlyargs, varargs, num_defaults,
1372 _missing_arguments(f_name, req, True, arg2value)
1384 _missing_arguments(f_name, kwonlyargs, False, arg2value)
/external/mesa3d/src/compiler/glsl/tests/lower_jumps/
Dcreate_test_cases.py36 def make_test_case(f_name, ret_type, body): argument
68 [['function', f_name, ['signature', ret_type, ['parameters'], body]]]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc2071 const string f_name = f_attr != nullptr ? f_attr->func().name() : ""; in RunFunctionOptimizerPass() local
2072 const FunctionDef* func = ctx.function_library().Find(f_name); in RunFunctionOptimizerPass()
2078 VLOG(2) << "Skip SymbolicGradient inlining: function=" << f_name; in RunFunctionOptimizerPass()
/external/curl/lib/vtls/
Dmbedtls.c121 static void mbed_debug(void *context, int level, const char *f_name, in mbed_debug() argument