Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/builtin_commands/
Dcat.py9 newdata = StringIO()
15 newdata.write(chr(intval))
19 newdata.write("M-")
21 newdata.write("^")
22 newdata.write(chr(intval+64))
24 newdata.write("^?")
26 newdata.write(chr(intval))
28 return newdata.getvalue().encode()
/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/cpython3/Lib/idlelib/
Dparagraph.py57 newdata = reformat_comment(data, limit, comment_header)
59 newdata = reformat_paragraph(data, limit)
62 if newdata != data:
66 text.insert(first, newdata)
158 newdata = reformat_paragraph(data, format_width)
160 newdata = newdata.split("\n")
166 if not newdata[-1]:
168 newdata = newdata[:-1]
169 return '\n'.join(comment_header+line for line in newdata) + block_suffix
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DAttributes.java204 private Map<Key<?>, Object> newdata; field in Attributes.Builder
212 if (newdata == null) { in data()
213 newdata = new IdentityHashMap<Key<?>, Object>(size); in data()
215 return newdata; in data()
232 if (newdata != null) { in build()
234 if (!newdata.containsKey(entry.getKey())) { in build()
235 newdata.put(entry.getKey(), entry.getValue()); in build()
238 base = new Attributes(newdata); in build()
239 newdata = null; in build()
/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.c487 Elf_Data *newdata = elf_newdata (newscn); in main() local
488 if (newdata == NULL) in main()
491 *newdata = newstrtabdata; in main()
501 *newdata = *data; in main()
513 new_data_buf (newdata); in main()
536 if (gelf_update_sym (newdata, i, &sym) == 0) in main()
544 new_data_buf (newdata); in main()
549 Elf32_Word *newgroup = (Elf32_Word *) newdata->d_buf; in main()
562 new_data_buf (newdata); in main()
568 Elf32_Word *newshndx = (Elf32_Word *) newdata->d_buf; in main()
[all …]
/external/antlr/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.c112 Elf_Data *newdata = elf_newdata (scn); in binary_end() local
114 if (newdata == NULL) in binary_end()
120 newdata->d_buf = content->data; in binary_end()
121 newdata->d_type = ELF_T_BYTE; in binary_end()
122 newdata->d_size = content->len; in binary_end()
123 newdata->d_off = offset; in binary_end()
124 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.c305 uint8_t *const newdata = OPENSSL_malloc(sizeof(uint64_t)); in ASN1_INTEGER_set_uint64() local
306 if (newdata == NULL) { in ASN1_INTEGER_set_uint64()
312 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.py488 newdata = self.stream.read()
490 newdata = self.stream.read(size)
492 data = self.bytebuffer + newdata
508 if not newdata:
Dbinhex.py308 newdata = self.ifp.read(1)
309 if not newdata:
312 data = data + newdata
/external/python/cpython3/Lib/
Dcodecs.py496 newdata = self.stream.read()
498 newdata = self.stream.read(size)
500 data = self.bytebuffer + newdata
519 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.c1826 Elf_Data *newdata; in handle_elf() local
1877 newdata = elf_newdata (scn); in handle_elf()
1878 if (newdata == NULL) in handle_elf()
1882 *newdata = *shdr_info[cnt].data; in handle_elf()
2056 shdr_info[cnt].shdr.sh_size = newdata->d_size in handle_elf()
2129 inline void update_section_size (const Elf_Data *newdata) in handle_elf()
2133 shdr->sh_size = newdata->d_size; in handle_elf()
2142 debugdata->d_size = newdata->d_size; in handle_elf()
Delfcompress.c880 Elf_Data *newdata = elf_newdata (newscn); in process_file() local
881 if (newdata == NULL) in process_file()
887 *newdata = *data; in process_file()

12