Home
last modified time | relevance | path

Searched refs:value_size (Results 1 – 25 of 52) sorted by relevance

123

/third_party/ffmpeg/libavformat/
Dttmlenc.c88 size_t value_size = av_strnlen(value, additional_data_size); in ttml_set_header_values_from_extradata() local
100 if (value_size == additional_data_size || in ttml_set_header_values_from_extradata()
101 value[value_size] != '\0') in ttml_set_header_values_from_extradata()
106 additional_data_size -= value_size + 1; in ttml_set_header_values_from_extradata()
107 value += value_size + 1; in ttml_set_header_values_from_extradata()
111 value_size = av_strnlen(value, additional_data_size); in ttml_set_header_values_from_extradata()
112 if (value_size == additional_data_size || in ttml_set_header_values_from_extradata()
113 value[value_size] != '\0') in ttml_set_header_values_from_extradata()
Daaxdec.c165 int value_size; in aax_read_header() local
176 value_size = 0x01; in aax_read_header()
180 value_size = 0x02; in aax_read_header()
186 value_size = 0x04; in aax_read_header()
189 value_size = 0x08; in aax_read_header()
192 value_size = 0x10; in aax_read_header()
198 a->xcolumns[c].size = value_size; in aax_read_header()
206 avio_skip(pb, value_size); in aax_read_header()
212 column_offset += value_size; in aax_read_header()
Drtpdec.h212 char *value, int value_size);
Drtpdec.c974 int value_size = strlen(p) + 1; in ff_parse_fmtp() local
976 if (!(value = av_malloc(value_size))) { in ff_parse_fmtp()
991 value, value_size)) { in ff_parse_fmtp()
/third_party/libbpf/src/
Dlibbpf_probes.c280 int key_size, value_size, max_entries; in probe_map_create() local
285 value_size = sizeof(__u32); in probe_map_create()
290 value_size = sizeof(__u64); in probe_map_create()
294 value_size = sizeof(__u64); in probe_map_create()
300 value_size = sizeof(__u64); in probe_map_create()
313 value_size = 8; in probe_map_create()
323 value_size = 0; in probe_map_create()
375 fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries, &opts); in probe_map_create()
Dbpf_gen_internal.h60 __u32 key_size, __u32 value_size, __u32 max_entries,
66 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size);
Dskel_internal.h222 __u32 value_size, in skel_map_create() argument
233 attr.value_size = value_size; in skel_map_create()
Dgen_loader.c451 __u32 key_size, __u32 value_size, __u32 max_entries, in bpf_gen__map_create() argument
462 attr.value_size = value_size; in bpf_gen__map_create()
501 attr.map_name, map_idx, map_type, value_size, in bpf_gen__map_create()
1035 __u32 value_size) in bpf_gen__map_update_elem() argument
1045 value = add_data(gen, pvalue, value_size); in bpf_gen__map_update_elem()
1062 emit(gen, BPF_MOV64_IMM(BPF_REG_2, value_size)); in bpf_gen__map_update_elem()
1077 debug_ret(gen, "update_elem idx %d value_size %d", map_idx, value_size); in bpf_gen__map_update_elem()
Dlibbpf.c512 unsigned int value_size; member
1060 map->def.value_size = kern_vtype->size; in bpf_map__init_kern_struct_ops()
1246 map->def.value_size = type->size; in init_struct_ops_maps()
1747 def->value_size = data_sz;
1761 mmap_sz = bpf_map_mmap_sz(map->def.value_size, map->def.max_entries);
2375 if (map_def->value_size && map_def->value_size != sz) {
2377 map_name, map_def->value_size, sz);
2380 map_def->value_size = sz;
2402 if (map_def->value_size && map_def->value_size != sz) {
2404 map_name, map_def->value_size, (ssize_t)sz);
[all …]
Dbpf.h60 __u32 value_size,
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstructures.c463 int32_t value_size; in SPDYF_name_value_to_stream() local
537 value_size = offset - value_offset - 4; in SPDYF_name_value_to_stream()
538 value_size = htonl(value_size); in SPDYF_name_value_to_stream()
539 memcpy(*stream + value_offset, &value_size, 4); in SPDYF_name_value_to_stream()
559 int32_t value_size; in SPDYF_name_value_from_stream() local
594 memcpy(&value_size, stream + offset, 4); in SPDYF_name_value_from_stream()
596 value_size = ntohl(value_size); in SPDYF_name_value_from_stream()
597 value_end_offset = offset + value_size; in SPDYF_name_value_from_stream()
601 if(NULL == (value = strndup(stream + offset, value_size))) in SPDYF_name_value_from_stream()
/third_party/protobuf/python/google/protobuf/internal/
Dencoder.py184 def _FixedSizer(value_size): argument
193 result = len(value) * value_size
197 element_size = value_size + tag_size
202 field_size = value_size + tag_size
514 value_size = struct.calcsize(format)
523 local_EncodeVarint(write, len(value) * value_size, deterministic)
556 value_size = struct.calcsize(format)
557 if value_size == 4:
568 elif value_size == 8:
580 '%d bytes long (only 4 or 8)' % value_size)
[all …]
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c161 int value_size = DEFAULT_VALUE_SIZE; in setup() local
163 if (sscanf(narg, "%i", &value_size) != 1) in setup()
165 if (value_size <= 0) in setup()
170 val.size = value_size; in setup()
171 val.buf = SAFE_MALLOC(NULL, value_size); in setup()
/third_party/gn/src/gn/
Dfunction_rebase_path.cc39 size_t value_size = value.size(); in ValueLooksLikeDir() local
43 while (num_dots < value_size && value[value_size - num_dots - 1] == '.') in ValueLooksLikeDir()
49 if (IsSlash(value[value_size - num_dots - 1])) in ValueLooksLikeDir()
/third_party/mesa3d/src/panfrost/bifrost/
Dgen_disasm.py205 def invert_lut(value_size, forward, derived, mod_map, keys, mod_vals): argument
206 backwards = [None] * (1 << value_size)
250 value_size = sum([width for ((x, width), y) in derived])
251 backwards = [invert_lut(value_size, f, derived, mod_map, keys, mod_vals) for f in forward]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_validator.cpp131 UINT value_size = 0; in get_dll_version() local
133 … if (!VerQueryValueW(version_data, L"\\", reinterpret_cast<void **>(&version_info), &value_size) || in get_dll_version()
134 !value_size || in get_dll_version()
/third_party/vulkan-loader/tests/framework/
Dtest_util.cpp69 DWORD value_size = GetEnvironmentVariableW(name_utf16.c_str(), nullptr, 0); in get_env_var() local
70 if (0 == value_size) { in get_env_var()
74 std::wstring value(value_size, L'\0'); in get_env_var()
75 if (GetEnvironmentVariableW(name_utf16.c_str(), &value[0], value_size) != value_size - 1) { in get_env_var()
/third_party/python/Lib/test/
Dtest_dbm_gnu.py95 value_size = max(size0, 10000)
96 self.g['x'] = 'x' * value_size
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog06.c114 .value_size = 0, in run()
Dbpf_prog07.c122 .value_size = 0, in run()
Dbpf_common.c55 .value_size = 8, in bpf_map_array_create()
Dbpf_map01.c49 attr->value_size = VAL_SZ; in run()
/third_party/vulkan-loader/loader/
Dloader_windows.c400 DWORD value_size = sizeof(value); in windows_get_registry_files() local
426 …egEnumValue(key, idx++, name, &name_size, NULL, NULL, (LPBYTE)&value, &value_size)) == ERROR_SUCCE… in windows_get_registry_files()
427 name_size = sizeof(name), value_size = sizeof(value)) { in windows_get_registry_files()
428 if (value_size == sizeof(value) && value == 0) { in windows_get_registry_files()
/third_party/mindspore/interfaces/kits/c/
Dcontext.h353 …ension(OH_AI_DeviceInfoHandle device_info, const char *name, const char *value, size_t value_size);
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc621 uint32 value_size; in RenderAny() local
622 os->stream_->ReadVarint32(&value_size); in RenderAny()
623 os->stream_->ReadString(&value, value_size); in RenderAny()

123