/third_party/ltp/testcases/kernel/syscalls/nftw/ |
H A 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, in test_long_component_name() [all...] |
H A 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, in test_long_component_name() [all...] |
/third_party/python/Modules/_sqlite/clinic/ |
H A D | connection.c.h | 230 Py_ssize_t name_length; in blobopen() local 231 name = PyUnicode_AsUTF8AndSize(args[4], &name_length); in blobopen() 235 if (strlen(name) != (size_t)name_length) { in blobopen() 342 Py_ssize_t name_length; in pysqlite_connection_create_function() local 343 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_function() 347 if (strlen(name) != (size_t)name_length) { in pysqlite_connection_create_function() 414 Py_ssize_t name_length; in create_window_function() local 415 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in create_window_function() 419 if (strlen(name) != (size_t)name_length) { in create_window_function() 470 Py_ssize_t name_length; in pysqlite_connection_create_aggregate() local 859 Py_ssize_t name_length; pysqlite_connection_backup() local 922 Py_ssize_t name_length; pysqlite_connection_create_collation() local 981 Py_ssize_t name_length; serialize() local 1065 Py_ssize_t name_length; deserialize() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | link_uniforms.cpp | 112 size_t name_length, bool row_major, in recursion() 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() 111 recursion(const glsl_type *t, char **name, size_t name_length, bool row_major, const glsl_type *record_type, const enum glsl_interface_packing packing, bool last_field, unsigned record_array_count, const glsl_struct_field *named_ifc_member) recursion() argument
|
H A D | link_uniform_blocks.cpp | 238 size_t name_length, gl_uniform_block *blocks, in process_block_array() 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() 237 process_block_array(struct uniform_block_array_elements *ub_array, char **name, size_t name_length, gl_uniform_block *blocks, ubo_visitor *parcel, gl_uniform_buffer_variable *variables, const struct link_uniform_block_active *const b, unsigned *block_index, unsigned binding_offset, const struct gl_constants *consts, struct gl_shader_program *prog, unsigned first_index) process_block_array() argument
|
/third_party/node/deps/v8/src/base/ |
H A D | file-utils.cc | 23 size_t name_length = strlen(name); in RelativePath() local 24 auto buffer = std::make_unique<char[]>(basename_start + name_length + 1); in RelativePath() 26 memcpy(buffer.get() + basename_start, name, name_length); in RelativePath()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A 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()
|
H A 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()
|
H A 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...] |
H A D | inode.c | 1152 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/_multiprocessing/clinic/ |
H A 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()
|
H A D | semaphore.c.h | 194 Py_ssize_t name_length; in _multiprocessing_SemLock() local 195 name = PyUnicode_AsUTF8AndSize(fastargs[3], &name_length); in _multiprocessing_SemLock() 199 if (strlen(name) != (size_t)name_length) { in _multiprocessing_SemLock()
|
/third_party/python/Objects/ |
H A 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/ntfs-3g/ntfsprogs/ |
H A D | ntfsinfo.c | 390 * null if no name exists (attr->name_length==0). no memory allocated. 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() [all...] |
H A D | ntfstruncate.c | 567 printf("Name length = %u unicode characters\n", a->name_length); in dump_attr_record() 571 if (a->name_length) { in dump_attr_record() 575 a->name_length + 1)) == -1) { in dump_attr_record()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | checkasm.c | 586 int name_length = strlen(name); in get_func() local 587 f = *root = checkasm_malloc(sizeof(CheckasmFunc) + name_length); in get_func() 588 memcpy(f->name, name, name_length + 1); in get_func() 757 int name_length; in checkasm_check_func() local 761 name_length = vsnprintf(name_buf, sizeof(name_buf), name, arg); in checkasm_check_func() 764 if (!func || name_length <= 0 || name_length >= sizeof(name_buf)) in checkasm_check_func()
|
/third_party/libwebsockets/lib/misc/fts/ |
H A 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/ |
H A D | _tkinter.c.h | 351 Py_ssize_t name_length; in _tkinter_tkapp_createcommand() local 352 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in _tkinter_tkapp_createcommand() 356 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_createcommand() 388 Py_ssize_t name_length; in _tkinter_tkapp_deletecommand() local 389 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _tkinter_tkapp_deletecommand() 393 if (strlen(name) != (size_t)name_length) { in _tkinter_tkapp_deletecommand()
|
H A D | unicodedata.c.h | 545 Py_ssize_t name_length); 552 Py_ssize_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/libbpf/src/ |
H A D | zip.h | 28 __u16 name_length; member
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-post-table.hh | 249 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/skia/third_party/externals/spirv-tools/source/ |
H A D | operand.h | 45 const size_t name_length,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | operand.h | 45 const size_t name_length,
|
/third_party/spirv-tools/source/ |
H A D | operand.h | 45 const size_t name_length,
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | perf-jit.cc | 267 int name_length) { in WriteJitCodeLoadEntry() 270 code_load.size_ = sizeof(code_load) + name_length + 1 + code_size; in WriteJitCodeLoadEntry() 282 LogWriteBytes(name, name_length); in WriteJitCodeLoadEntry() 265 WriteJitCodeLoadEntry(const uint8_t* code_pointer, uint32_t code_size, const char* name, int name_length) WriteJitCodeLoadEntry() argument
|