Home
last modified time | relevance | path

Searched refs:f_name (Results 1 – 19 of 19) 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/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference_test.py46 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
90 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
109 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
125 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
146 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
147 if f_name == 'test_fn':
151 elif f_name == 'foo':
158 test_self.fail('unexpected argument {} for {}'.format(name, f_name))
160 test_self.fail('unexpected function name {}'.format(f_name))
460 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
[all …]
Dtype_inference.py81 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
362 f_name = qual_names.QN(node.name)
381 self.new_symbols[f_name] = f_types
407 f_name = anno.Basic.QN.of(node.func)
411 if f_name in self.scope.bound:
413 f_type = self.types_in.types.get(f_name, None)
Dactivity.py328 def _enter_scope(self, isolated, f_name=None): argument
329 self.scope = Scope(self.scope, isolated=isolated, function_name=f_name)
/external/wayland/doc/doxygen/
Dmeson.build72 foreach f_name, sections: formats
74 t_name = '@0@-@1@-doc'.format(f_name, s_name)
86 '--output-format=@0@'.format(f_name),
/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/tensorflow/tensorflow/tools/tensorflow_builder/config_detector/data/
Dcuda_compute_capability.py166 f_name = six.ensure_str(filename) + ".csv"
167 write_csv_from_dict(f_name, gpu_capa)
/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/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/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/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py233 def lookup(self, f_name, func_def=None, optional=False): argument
234 if f_name in self._op_defs.keys():
235 return self._op_defs[f_name]
243 raise KeyError('OpDef does not exist: ' + f_name)
246 op_name = f_name
263 raise KeyError('OpDef does not exist: ' + f_name)
273 self._op_defs[f_name] = (op_def, derived_attrs)
469 def res_arg(self, ns, types_ns, f_name, name, type_anno, f_is_local): argument
471 f_name_str = str(f_name)
482 func = ns[f_name]
[all …]
/external/python/cpython2/Include/
Dfileobject.h13 PyObject *f_name; member
/external/mesa3d/src/compiler/glsl/tests/
Dlower_jump_cases.py26 def make_test_case(f_name, ret_type, body): argument
58 [['function', f_name, ['signature', ret_type, ['parameters'], body]]]
/external/python/cpython3/Lib/
Dinspect.py1329 def _missing_arguments(f_name, argnames, pos, values): argument
1341 (f_name, missing,
1345 def _too_many(f_name, args, kwonly, varargs, defcount, given, values): argument
1363 (f_name, sig, "s" if plural else "", given, kwonly_sig,
1374 f_name = func.__name__
1397 (f_name, kw))
1402 (f_name, kw))
1405 _too_many(f_name, args, kwonlyargs, varargs, num_defaults,
1411 _missing_arguments(f_name, req, True, arg2value)
1423 _missing_arguments(f_name, kwonlyargs, False, arg2value)
/external/curl/lib/vtls/
Dmbedtls.c126 static void mbed_debug(void *context, int level, const char *f_name, in mbed_debug() argument