Home
last modified time | relevance | path

Searched refs:newdata (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/
Dparagraph.py62 newdata = reformat_comment(data, limit, comment_header)
64 newdata = reformat_paragraph(data, limit)
67 if newdata != data:
71 text.insert(first, newdata)
160 newdata = reformat_paragraph(data, format_width)
162 newdata = newdata.split("\n")
168 if not newdata[-1]:
170 newdata = newdata[:-1]
171 return '\n'.join(comment_header+line for line in newdata) + block_suffix
/external/python/cpython2/Lib/idlelib/
DFormatParagraph.py61 newdata = reformat_comment(data, limit, comment_header)
63 newdata = reformat_paragraph(data, limit)
66 if newdata != data:
70 text.insert(first, newdata)
159 newdata = reformat_paragraph(data, format_width)
161 newdata = newdata.split("\n")
167 if not newdata[-1]:
169 newdata = newdata[:-1]
170 return '\n'.join(comment_header+line for line in newdata) + block_suffix
/external/python/cpython2/Tools/scripts/
Dcrlf.py15 newdata = data.replace("\r\n", "\n")
16 if newdata != data:
19 f.write(newdata)
Dlfcr.py16 newdata = re.sub("\r?\n", "\r\n", data)
17 if newdata != data:
20 f.write(newdata)
/external/python/cpython3/Tools/scripts/
Dcrlf.py16 newdata = data.replace(b"\r\n", b"\n")
17 if newdata != data:
20 f.write(newdata)
Dlfcr.py17 newdata = re.sub(b"\r?\n", b"\r\n", data)
18 if newdata != data:
21 f.write(newdata)
/external/elfutils/tests/
Delfstrmerge.c486 Elf_Data *newdata = elf_newdata (newscn); in main() local
487 if (newdata == NULL) in main()
490 *newdata = newstrtabdata; in main()
500 *newdata = *data; in main()
512 new_data_buf (newdata); in main()
535 if (gelf_update_sym (newdata, i, &sym) == 0) in main()
543 new_data_buf (newdata); in main()
548 Elf32_Word *newgroup = (Elf32_Word *) newdata->d_buf; in main()
561 new_data_buf (newdata); in main()
567 Elf32_Word *newshndx = (Elf32_Word *) newdata->d_buf; in main()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRReaderStream.java78 char[] newdata = new char[data.length*2]; // resize in load() local
79 System.arraycopy(data, 0, newdata, 0, data.length); in load()
80 data = newdata; in load()
/external/elfutils/libasm/
Dasm_end.c113 Elf_Data *newdata = elf_newdata (scn); in binary_end() local
115 if (newdata == NULL) in binary_end()
121 newdata->d_buf = content->data; in binary_end()
122 newdata->d_type = ELF_T_BYTE; in binary_end()
123 newdata->d_size = content->len; in binary_end()
124 newdata->d_off = offset; in binary_end()
125 newdata->d_align = first ? asmsubscn->max_align : 1; in binary_end()
/external/selinux/libsepol/src/
Dpolicydb_convert.c35 policydb_t * policydb, void **newdata, size_t * newlen) in policydb_to_image() argument
89 *newdata = tmp_data; in policydb_to_image()
Dpolicydb_public.c189 sepol_policydb_t * p, void **newdata, in sepol_policydb_to_image() argument
192 return policydb_to_image(handle, &p->p, newdata, newlen); in sepol_policydb_to_image()
Dgenusers.c294 const char *usersdir, void **newdata, size_t * newlen) argument
311 if (policydb_to_image(NULL, &policydb, newdata, newlen) < 0)
/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h148 … typename SparseMatrixType::Storage newdata(m_matrix.data().allocatedSize() - block_size + nnz);
150 …internal::smart_copy(m_matrix.valuePtr(), m_matrix.valuePtr() + start, newdata.valuePtr…
151 …internal::smart_copy(m_matrix.innerIndexPtr(), m_matrix.innerIndexPtr() + start, newdata.indexPtr…
153 …tmp.valuePtr() + tmp_start, tmp.valuePtr() + tmp_start + nnz, newdata.valuePtr() + star…
154 …tmp.innerIndexPtr() + tmp_start, tmp.innerIndexPtr() + tmp_start + nnz, newdata.indexPtr() + star…
156 …opy(matrix.valuePtr()+end, matrix.valuePtr()+end + tail_size, newdata.valuePtr()+start+…
157 …opy(matrix.innerIndexPtr()+end, matrix.innerIndexPtr()+end + tail_size, newdata.indexPtr()+start+…
159 newdata.resize(m_matrix.outerIndexPtr()[m_matrix.outerSize()] - block_size + nnz);
161 matrix.data().swap(newdata);
/external/boringssl/src/crypto/asn1/
Da_int.c364 uint8_t *const newdata = OPENSSL_malloc(sizeof(uint64_t)); in ASN1_INTEGER_set_uint64() local
365 if (newdata == NULL) { in ASN1_INTEGER_set_uint64()
371 out->data = newdata; in ASN1_INTEGER_set_uint64()
/external/python/cpython3/Tools/i18n/
Dmakelocalealias.py108 newdata = locale.locale_alias
113 return newdata
/external/python/cpython2/Lib/
Dcodecs.py486 newdata = self.stream.read()
488 newdata = self.stream.read(size)
490 data = self.bytebuffer + newdata
506 if not newdata:
Dbinhex.py308 newdata = self.ifp.read(1)
309 if not newdata:
312 data = data + newdata
/external/python/cpython3/Lib/
Dcodecs.py493 newdata = self.stream.read()
495 newdata = self.stream.read(size)
497 data = self.bytebuffer + newdata
516 if not newdata:
Dbinhex.py283 newdata = self.ifp.read(1)
284 if not newdata:
286 data = data + newdata
/external/selinux/libsepol/include/sepol/
Dusers.h21 void **newdata, size_t * newlen);
Dpolicydb.h135 void **newdata, size_t * newlen);
/external/elfutils/src/
Dstrip.c1196 Elf_Data *newdata; in handle_elf() local
1242 newdata = elf_newdata (scn); in handle_elf()
1243 if (newdata == NULL) in handle_elf()
1247 *newdata = *shdr_info[cnt].data; in handle_elf()
1402 shdr_info[cnt].shdr.sh_size = newdata->d_size in handle_elf()
1441 inline void update_section_size (const Elf_Data *newdata) in handle_elf()
1445 shdr->sh_size = newdata->d_size; in handle_elf()
1454 debugdata->d_size = newdata->d_size; in handle_elf()
Delfcompress.c844 Elf_Data *newdata = elf_newdata (newscn); in process_file() local
845 if (newdata == NULL) in process_file()
851 *newdata = *data; in process_file()
/external/elfutils/
D.gitignore134 /tests/newdata
/external/libexif/libexif/
Dexif-entry.c199 unsigned char *newdata; in exif_entry_fix() local
244 newdata = exif_entry_alloc (e, newsize); in exif_entry_fix()
245 if (!newdata) { in exif_entry_fix()
253 newdata + i * in exif_entry_fix()
262 e->data = newdata; in exif_entry_fix()

12