Home
last modified time | relevance | path

Searched refs:name_bytes (Results 1 – 5 of 5) sorted by relevance

/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc81 const std::vector<uint8_t>& name_bytes) { in NameEntry() argument
86 &name_bytes); in NameEntry()
93 const std::vector<uint8_t>& name_bytes) { in NameEntry() argument
94 Init(platform_id, encoding_id, language_id, name_id, &name_bytes); in NameEntry()
122 const std::vector<uint8_t>* name_bytes) { in Init() argument
124 if (name_bytes) { in Init()
125 name_bytes_ = *name_bytes; in Init()
139 const std::vector<uint8_t>& name_bytes) { in NameEntryBuilder() argument
144 &name_bytes); in NameEntryBuilder()
177 void NameTable::NameEntryBuilder::SetName(const std::vector<uint8_t>& name_bytes) { in SetName() argument
[all …]
Dname_table.h449 NameEntry(const NameEntryId& name_entry_id, const std::vector<uint8_t>& name_bytes);
454 const std::vector<uint8_t>& name_bytes);
480 int32_t name_id, const std::vector<uint8_t>* name_bytes);
495 const std::vector<uint8_t>& name_bytes);
501 virtual void SetName(const std::vector<uint8_t>& name_bytes);
502 virtual void SetName(const std::vector<uint8_t>& name_bytes,
513 int32_t name_id, const std::vector<uint8_t>* name_bytes);
733 static UChar* ConvertFromNameBytes(std::vector<uint8_t>* name_bytes,
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Drendernode.rs65 let mut name_bytes: Vec<u8> = vec![0; (version.name_len + 1) as usize]; in get_drm_device_name() localVariable
70 name_len: name_bytes.len() as __kernel_size_t, in get_drm_device_name()
71 name: name_bytes.as_mut_ptr() as *mut c_char, in get_drm_device_name()
83 Ok(CString::new(&name_bytes[..(version.name_len as usize)]) in get_drm_device_name()
/external/python/cpython2/Modules/
D_ssl.c3182 char *name_bytes; in set_ecdh_curve() local
3186 name_bytes = PyBytes_AsString(name); in set_ecdh_curve()
3187 if (!name_bytes) { in set_ecdh_curve()
3190 nid = OBJ_sn2nid(name_bytes); in set_ecdh_curve()
/external/python/cpython3/Modules/
D_ssl.c4466 PyObject *name_bytes; in _ssl__SSLContext_set_ecdh_curve() local
4470 if (!PyUnicode_FSConverter(name, &name_bytes)) in _ssl__SSLContext_set_ecdh_curve()
4472 assert(PyBytes_Check(name_bytes)); in _ssl__SSLContext_set_ecdh_curve()
4473 nid = OBJ_sn2nid(PyBytes_AS_STRING(name_bytes)); in _ssl__SSLContext_set_ecdh_curve()
4474 Py_DECREF(name_bytes); in _ssl__SSLContext_set_ecdh_curve()