Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dgpt.c191 struct disk_part *newpart; in allocate_disk_part() local
192 newpart = calloc(1, sizeof(struct disk_part)); in allocate_disk_part()
193 if (!newpart) in allocate_disk_part()
196 newpart->gpt_part_info.start = info->start; in allocate_disk_part()
197 newpart->gpt_part_info.size = info->size; in allocate_disk_part()
198 newpart->gpt_part_info.blksz = info->blksz; in allocate_disk_part()
199 strncpy((char *)newpart->gpt_part_info.name, (const char *)info->name, in allocate_disk_part()
201 newpart->gpt_part_info.name[PART_NAME_LEN - 1] = '\0'; in allocate_disk_part()
202 strncpy((char *)newpart->gpt_part_info.type, (const char *)info->type, in allocate_disk_part()
204 newpart->gpt_part_info.type[PART_TYPE_LEN - 1] = '\0'; in allocate_disk_part()
[all …]
/external/python/cpython3/Doc/c-api/
Dbytes.rst178 .. c:function:: void PyBytes_Concat(PyObject **bytes, PyObject *newpart)
180 Create a new bytes object in *\*bytes* containing the contents of *newpart*
187 .. c:function:: void PyBytes_ConcatAndDel(PyObject **bytes, PyObject *newpart)
189 Create a new bytes object in *\*bytes* containing the contents of *newpart*
191 *newpart*.
/external/python/cpython2/Doc/c-api/
Dstring.rst210 .. c:function:: void PyString_Concat(PyObject **string, PyObject *newpart)
212 Create a new string object in *\*string* containing the contents of *newpart*
219 .. c:function:: void PyString_ConcatAndDel(PyObject **string, PyObject *newpart)
221 Create a new string object in *\*string* containing the contents of *newpart*
222 appended to *string*. This version decrements the reference count of *newpart*.
/external/python/cpython2/Doc/data/
Drefcounts.dat1263 PyString_Concat:PyObject*:newpart:0:
1267 PyString_ConcatAndDel:PyObject*:newpart:-1:
/external/python/cpython3/Doc/data/
Drefcounts.dat126 PyBytes_Concat:PyObject*:newpart:0:
130 PyBytes_ConcatAndDel:PyObject*:newpart:-1: