Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/nftw/
Dlib.c62 size_t path_length, name_length; in get_long_name_buffer() local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer()
82 name_length, path_length); in get_long_name_buffer()
93 *length = name_length; in get_long_name_buffer()
136 size_t name_length; in test_long_file_name() local
138 buffer = get_long_name_buffer(&name_length, 1); in test_long_file_name()
142 ptr_end = ptr + name_length + 1; in test_long_file_name()
158 size_t name_length; in test_long_component_name() local
160 buffer = get_long_name_buffer(&name_length, 3); in test_long_component_name()
[all …]
Dlib64.c62 size_t path_length, name_length; in get_long_name_buffer() local
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer()
82 name_length, path_length); in get_long_name_buffer()
93 *length = name_length; in get_long_name_buffer()
136 size_t name_length; in test_long_file_name() local
138 buffer = get_long_name_buffer(&name_length, 1); in test_long_file_name()
142 ptr_end = ptr + name_length + 1; in test_long_file_name()
158 size_t name_length; in test_long_component_name() local
160 buffer = get_long_name_buffer(&name_length, 3); in test_long_component_name()
[all …]
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavisubtitle.c186 guint name_length; in gst_avi_subtitle_parse_gab2_chunk() local
197 name_length = GST_READ_UINT32_LE (map.data + 5 + 2); in gst_avi_subtitle_parse_gab2_chunk()
198 GST_LOG_OBJECT (sub, "length of name: %u", name_length); in gst_avi_subtitle_parse_gab2_chunk()
199 if (map.size <= 17 + name_length) in gst_avi_subtitle_parse_gab2_chunk()
203 g_convert ((gchar *) map.data + 11, name_length, "UTF-8", "UTF-16LE", in gst_avi_subtitle_parse_gab2_chunk()
213 if (GST_READ_UINT16_LE (map.data + 11 + name_length) != 0x4) in gst_avi_subtitle_parse_gab2_chunk()
216 file_length = GST_READ_UINT32_LE (map.data + 13 + name_length); in gst_avi_subtitle_parse_gab2_chunk()
219 if (map.size < (17 + name_length + file_length)) in gst_avi_subtitle_parse_gab2_chunk()
226 gst_avi_subtitle_extract_file (sub, buf, 17 + name_length, file_length); in gst_avi_subtitle_parse_gab2_chunk()
246 17 + name_length)); in gst_avi_subtitle_parse_gab2_chunk()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp112 size_t name_length, bool row_major, in recursion() argument
126 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s", in recursion()
128 recursion(named_ifc_member->type, name, name_length, row_major, NULL, in recursion()
139 size_t new_length = name_length; in recursion()
145 if (name_length == 0) { in recursion()
179 (*name)[name_length] = '\0'; in recursion()
199 size_t new_length = name_length; in recursion()
Dlink_uniform_blocks.cpp238 size_t name_length, gl_uniform_block *blocks, in process_block_array() argument
247 size_t new_length = name_length; in process_block_array()
381 size_t name_length = strlen(name); in create_buffer_blocks() local
384 process_block_array(b->array, &name, name_length, blocks, &parcel, in create_buffer_blocks()
/third_party/ntfs-3g/libntfs-3g/
Dea.c270 && p_ea->name_length in ntfs_set_ntfs_ea()
273 + p_ea->name_length + 1 in ntfs_set_ntfs_ea()
277 + p_ea->name_length + 1 in ntfs_set_ntfs_ea()
280 && !p_ea->name[p_ea->name_length]; in ntfs_set_ntfs_ea()
291 ea_packed += 5 + p_ea->name_length in ntfs_set_ntfs_ea()
450 && (p_ea->name_length == (sizeof(lxdev) - 1)) in ntfs_ea_check_wsldev()
459 memcpy(&device, &p_ea->name[p_ea->name_length + 1], in ntfs_ea_check_wsldev()
499 attr.mod.base.name_length = sizeof(lxmod) - 1; in ntfs_ea_set_wsl_not_symlink()
511 attr.dev.base.name_length = sizeof(lxdev) - 1; in ntfs_ea_set_wsl_not_symlink()
Dattrlist.c139 attr->name_length + 7) & ~7; in ntfs_attrlist_entry_add()
150 if (!ntfs_attr_lookup(attr->type, (attr->name_length) ? (ntfschar*) in ntfs_attrlist_entry_add()
152 AT_UNNAMED, attr->name_length, CASE_SENSITIVE, in ntfs_attrlist_entry_add()
191 ale->name_length = attr->name_length; in ntfs_attrlist_entry_add()
200 attr->name_length * sizeof(ntfschar)); in ntfs_attrlist_entry_add()
Dattrib.c454 if (a->name_length) { in ntfs_attr_open()
460 if (ntfs_ucsnlen(attr_name, a->name_length) in ntfs_attr_open()
461 != a->name_length) { in ntfs_attr_open()
467 name = ntfs_ucsndup(attr_name, a->name_length); in ntfs_attr_open()
471 name_len = a->name_length; in ntfs_attr_open()
2896 if (a->name_length) {
2903 if (a->name_length
2905 + a->name_length * sizeof(ntfschar))
2915 a->name_length, ic,
3199 < offsetof(ATTR_LIST_ENTRY, name_length))
[all …]
Dinode.c1152 ctx->attr->name_length + 7) & ~7; in ntfs_inode_add_attrlist()
1169 sizeof(ntfschar) * ctx->attr->name_length + 7) & ~7); in ntfs_inode_add_attrlist()
1170 ale->name_length = ctx->attr->name_length; in ntfs_inode_add_attrlist()
1181 ctx->attr->name_length * sizeof(ntfschar)); in ntfs_inode_add_attrlist()
1263 ale->name_length, in ntfs_inode_add_attrlist()
1445 attr->name_length, 0, NULL, 0)) in ntfs_inode_badclus_bad()
/third_party/python/Modules/_sqlite/clinic/
Dconnection.c.h131 Py_ssize_t name_length; in pysqlite_connection_create_function() local
132 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_function()
136 if (strlen(name) != (size_t)name_length) { in pysqlite_connection_create_function()
192 Py_ssize_t name_length; in pysqlite_connection_create_aggregate() local
193 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_aggregate()
197 if (strlen(name) != (size_t)name_length) { in pysqlite_connection_create_aggregate()
583 Py_ssize_t name_length; in pysqlite_connection_backup() local
584 name = PyUnicode_AsUTF8AndSize(args[3], &name_length); in pysqlite_connection_backup()
588 if (strlen(name) != (size_t)name_length) { in pysqlite_connection_backup()
/third_party/python/Modules/_multiprocessing/clinic/
Dmultiprocessing.c.h125 Py_ssize_t name_length; in _multiprocessing_sem_unlink() local
126 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _multiprocessing_sem_unlink()
130 if (strlen(name) != (size_t)name_length) { in _multiprocessing_sem_unlink()
Dsemaphore.c.h192 Py_ssize_t name_length; in _multiprocessing_SemLock() local
193 name = PyUnicode_AsUTF8AndSize(fastargs[3], &name_length); in _multiprocessing_SemLock()
197 if (strlen(name) != (size_t)name_length) { in _multiprocessing_SemLock()
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.program_interface_query.txt55 "uniform.name_length.default_block.var_struct" would mean a NAME_LENGTH
66 location, matrix_row_major, matrix_stride, name_length, offset,
76 groups active_variables, buffer_binding, buffer_data_size, name_length,
89 location, name_length, referenced_by, and type test ARRAY_SIZE,
96 program interface. Test groups array_size, name_length, and type test
/third_party/ntfs-3g/ntfsprogs/
Dntfsinfo.c403 mbs_attr_name_size = ntfs_ucstombs(ucs_attr_name, attr->name_length, in ntfs_attr_get_name_mbs()
787 (unsigned)entry->name_length, in ntfs_dump_attr_list()
788 (unsigned)entry->name_length); in ntfs_dump_attr_list()
805 if (entry->name_length) { in ntfs_dump_attr_list()
810 entry->name_length, &name, 0); in ntfs_dump_attr_list()
821 sizeof(ntfschar) * entry->name_length, in ntfs_dump_attr_list()
1262 name_len = attr->name_length; in ntfs_dump_sds()
1354 (unsigned)a->name_length, (unsigned)a->name_length); in ntfs_dump_attribute_header()
1360 if (a->name_length) { in ntfs_dump_attribute_header()
1745 (attr)->name_length, CASE_SENSITIVE, NULL, 0)
[all …]
/third_party/node/deps/cares/src/lib/
Dares_expand_name.c32 static int name_length(const unsigned char *encoded, const unsigned char *abuf,
129 nlen.sig = name_length(encoded, abuf, alen, is_hostname); in ares__expand_name_validated()
221 static int name_length(const unsigned char *encoded, const unsigned char *abuf, in name_length() function
/third_party/python/Objects/
Dcapsule.c200 size_t name_length = (strlen(name) + 1) * sizeof(char); in PyCapsule_Import() local
201 char *name_dup = (char *)PyMem_Malloc(name_length); in PyCapsule_Import()
207 memcpy(name_dup, name, name_length); in PyCapsule_Import()
/third_party/ffmpeg/tests/checkasm/
Dcheckasm.c579 int name_length = strlen(name); in get_func() local
580 f = *root = checkasm_malloc(sizeof(CheckasmFunc) + name_length); in get_func()
581 memcpy(f->name, name, name_length + 1); in get_func()
744 int name_length; in checkasm_check_func() local
748 name_length = vsnprintf(name_buf, sizeof(name_buf), name, arg); in checkasm_check_func()
751 if (!func || name_length <= 0 || name_length >= sizeof(name_buf)) in checkasm_check_func()
/third_party/libwebsockets/lib/misc/fts/
Dtrie-fd.c42 int name_length; member
348 m += s[n].ch[s[n].child - 1].name_length; in ac_record()
371 memcpy(p, s[n].ch[w].name, (size_t)s[n].ch[w].name_length); in ac_record()
372 p += s[n].ch[w].name_length; in ac_record()
852 tch->effpos + tch->name_length >= nl && in lws_fts_search()
891 ch->name_length = (int)max; in lws_fts_search()
908 if (m > ch->name_length) in lws_fts_search()
909 m = ch->name_length; in lws_fts_search()
/third_party/python/Modules/clinic/
D_tkinter.c.h359 Py_ssize_t name_length; in _tkinter_tkapp_createcommand() local
360 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in _tkinter_tkapp_createcommand()
364 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_createcommand()
396 Py_ssize_t name_length; in _tkinter_tkapp_deletecommand() local
397 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _tkinter_tkapp_deletecommand()
401 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_deletecommand()
Dunicodedata.c.h545 Py_ssize_clean_t name_length);
552 Py_ssize_clean_t name_length; in unicodedata_UCD_lookup() local
554 if (!PyArg_Parse(arg, "s#:lookup", &name, &name_length)) { in unicodedata_UCD_lookup()
557 return_value = unicodedata_UCD_lookup_impl(self, name, name_length); in unicodedata_UCD_lookup()
/third_party/harfbuzz/src/
Dhb-ot-post-table.hh231 unsigned int name_length = *data; in find_glyph_name() local
234 return hb_bytes_t ((const char *) data, name_length); in find_glyph_name()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-post-table.hh233 unsigned int name_length = *data; in find_glyph_name() local
236 return hb_bytes_t ((const char *) data, name_length); in find_glyph_name()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-post-table.hh249 unsigned int name_length = *data; in find_glyph_name() local
252 return hb_bytes_t ((const char *) data, name_length); in find_glyph_name()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Doperand.h43 const size_t name_length,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Doperand.h45 const size_t name_length,

1234