/third_party/ltp/testcases/kernel/syscalls/nftw/ |
D | lib.c | 62 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 …]
|
D | lib64.c | 62 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/ |
D | gstavisubtitle.c | 186 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/ntfs-3g/libntfs-3g/ |
D | ea.c | 270 && 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()
|
D | attrlist.c | 139 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()
|
D | attrib.c | 454 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 …]
|
/third_party/boost/boost/interprocess/detail/ |
D | segment_manager_helper.hpp | 137 unsigned short name_length() const in name_length() function 302 unsigned short name_length() const in name_length() function 303 { return get_block_header()->name_length(); } in name_length() 385 void name_length(size_type len) in name_length() function 391 size_type name_length() const in name_length() function 443 unsigned short name_length() const in name_length() function in boost::interprocess::ipcdetail::segment_manager_iterator_value_adaptor 444 { return m_val->name_length(); } in name_length() 470 size_type name_length() const in name_length() function in boost::interprocess::ipcdetail::segment_manager_iterator_value_adaptor 471 { return m_val->first.name_length(); } in name_length()
|
/third_party/boost/libs/compute/example/ |
D | opencl_test.cpp | 135 size_t name_length = 0; in main() local 136 ret = clGetDeviceInfo(device, CL_DEVICE_NAME, 0, NULL, &name_length); in main() 143 char *name = new char[name_length]; in main() 144 ret = clGetDeviceInfo(device, CL_DEVICE_NAME, name_length, name, NULL); in main()
|
/third_party/boost/boost/interprocess/indexes/ |
D | iunordered_set_index.hpp | 71 return (i.m_len == b.name_length()) && in operator ()() 78 return (i.m_len == b.name_length()) && in operator ()() 85 return (b1.name_length() == b2.name_length()) && in operator ()() 87 (b1.name(), b2.name(), b1.name_length()) == 0); in operator ()() 99 *end = beg + val.name_length(); in operator ()()
|
D | iset_index.hpp | 94 std::size_t blen = b.name_length(); in operator ()() 103 std::size_t blen = b.name_length(); in operator ()()
|
/third_party/python/Modules/_sqlite/clinic/ |
D | connection.c.h | 131 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/ |
D | multiprocessing.c.h | 125 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()
|
D | semaphore.c.h | 192 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/node/deps/cares/src/lib/ |
D | ares_expand_name.c | 32 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/vk-gl-cts/doc/testspecs/GLES31/ |
D | functional.program_interface_query.txt | 55 "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/glib/gio/gvdb/ |
D | gvdb-reader.c | 407 gsize name_length; in gvdb_table_get_names() local 419 name = gvdb_table_item_get_key (table, item, &name_length); in gvdb_table_get_names() 423 names[i] = g_strndup (name, name_length); in gvdb_table_get_names() 435 name = gvdb_table_item_get_key (table, item, &name_length); in gvdb_table_get_names() 444 fullname = g_malloc (parent_length + name_length + 1); in gvdb_table_get_names() 446 memcpy (fullname + parent_length, name, name_length); in gvdb_table_get_names() 447 fullname[parent_length + name_length] = '\0'; in gvdb_table_get_names()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsinfo.c | 403 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/python/Objects/ |
D | capsule.c | 200 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/ |
D | checkasm.c | 579 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/ |
D | trie-fd.c | 42 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.h | 359 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()
|
D | unicodedata.c.h | 545 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/mindspore/third_party/patch/c-ares/ |
D | CVE-2021-3672.patch | 5 static int name_length(const unsigned char *encoded, const unsigned char *abuf, 74 @@ -171,15 +210,29 @@ static int name_length(const unsigned ch
|
/third_party/mesa3d/src/compiler/glsl/ |
D | link_uniform_blocks.cpp | 237 size_t name_length, gl_uniform_block *blocks, in process_block_array() argument 245 size_t new_length = name_length; in process_block_array() 377 size_t name_length = strlen(name); in create_buffer_blocks() local 380 process_block_array(b->array, &name, name_length, blocks, &parcel, in create_buffer_blocks()
|
D | link_uniforms.cpp | 107 int name_length = strlen(interface_name) + 1 + strlen(field_name) + 1; in is_top_level_shader_storage_block_member() local 108 char *full_instanced_name = (char *) calloc(name_length, sizeof(char)); in is_top_level_shader_storage_block_member() 114 snprintf(full_instanced_name, name_length, "%s.%s", in is_top_level_shader_storage_block_member() 329 size_t name_length, bool row_major, in recursion() argument 343 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s", in recursion() 345 recursion(named_ifc_member->type, name, name_length, row_major, NULL, in recursion() 356 size_t new_length = name_length; in recursion() 362 if (name_length == 0) { in recursion() 396 (*name)[name_length] = '\0'; in recursion() 416 size_t new_length = name_length; in recursion()
|