Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 25 of 57) sorted by relevance

123

/aosp12/build/make/common/
H A Djson.mk21 …ntents := $$(_json_contents)$$(_json_indent)"$$(strip $$(1))": $$(strip $$(2))$$(comma)$$(newline))
26 …son_contents := $$(_json_contents)$$(_json_indent)"$$(strip $$(1))": {$$(newline))$(json_increase_…
27 add_json_map_anon =$= $(eval _json_contents := $$(_json_contents)$$(_json_indent){$$(newline))$(jso…
28 …$$(if $$(filter %$$(comma),$$(lastword $$(_json_contents))),__SV_END)$$(_json_indent)},$$(newline))
29 …son_contents := $$(_json_contents)$$(_json_indent)"$$(strip $$(1))": [$$(newline))$(json_increase_…
30 …$$(if $$(filter %$$(comma),$$(lastword $$(_json_contents))),__SV_END)$$(_json_indent)],$$(newline))
33 json_start =$= $(eval _json_contents := {$$(newline))$(eval _json_indent := $$(4space))
36 …val _json_contents := $$(subst $$(comma)$$(newline)__SV_END,$$(newline),$$(_json_contents)__SV_END…
H A Dcore.mk33 define newline
49 .KATI_READONLY := SHELL empty space comma newline pound backslash
/aosp12/system/libbase/
H A Dlogging_splitters.h33 const char* newline = strchr(msg, '\n'); in SplitByLines() local
34 while (newline != nullptr) { in SplitByLines()
35 log_function(msg, newline - msg, args...); in SplitByLines()
36 msg = newline + 1; in SplitByLines()
37 newline = strchr(msg, '\n'); in SplitByLines()
97 const char* newline = strchr(msg, '\n'); in SplitByLogdChunks() local
98 while (newline != nullptr) { in SplitByLogdChunks()
100 if (chunk_position != 0 && chunk_position + (newline - msg) + 1 + file_header_size > max_size) { in SplitByLogdChunks()
106 write_to_logd_chunk(msg, newline - msg); in SplitByLogdChunks()
108 msg = newline + 1; in SplitByLogdChunks()
[all …]
/aosp12/system/extras/memory_replay/
H A DNativeInfo.cpp67 char* newline = reinterpret_cast<char*>(memchr(&buf[buf_start], '\n', buf_bytes)); in NativeGetInfo() local
68 if (newline == nullptr) { in NativeGetInfo()
71 *newline = '\0'; in NativeGetInfo()
89 buf_bytes -= newline - &buf[buf_start] + 1; in NativeGetInfo()
90 buf_start = newline - buf + 1; in NativeGetInfo()
/aosp12/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.cpp164 bool newline = false; in DumpFileFromFdToFd() local
171 newline = true; in DumpFileFromFdToFd()
176 newline = true; in DumpFileFromFdToFd()
183 newline = (buffer[bytes_read - 1] == '\n'); in DumpFileFromFdToFd()
187 newline = true; in DumpFileFromFdToFd()
194 if (!newline) dprintf(out_fd, "\n"); in DumpFileFromFdToFd()
/aosp12/frameworks/base/core/java/android/util/
H A DJsonWriter.java258 newline(); in close()
461 private void newline() throws IOException { in newline() method in JsonWriter
483 newline(); in beforeName()
507 newline(); in beforeValue()
512 newline(); in beforeValue()
/aosp12/system/libprocinfo/include/procinfo/
H A Dprocess_map.h288 char* newline = reinterpret_cast<char*>(memchr(&char_buffer[start], '\n', read_bytes)); in ReadMapFileAsyncSafe() local
289 if (newline == nullptr) { in ReadMapFileAsyncSafe()
292 *newline = '\0'; in ReadMapFileAsyncSafe()
294 start = newline - char_buffer + 1; in ReadMapFileAsyncSafe()
295 read_bytes -= newline - line + 1; in ReadMapFileAsyncSafe()
/aosp12/frameworks/av/media/codecs/m4v_h263/
H A DTEST_MAPPING8 // the decoder reports something bad about an unexpected newline in the *config file
12 // finish with a newline.
/aosp12/build/make/core/
H A Dcleanbuild.mk140 …_VERSION := $(INTERNAL_CLEAN_BUILD_VERSION)$(newline)CURRENT_CLEAN_STEPS := $(INTERNAL_CLEAN_STEPS…
H A Ddumpvar.mk34 printf " %s" '$(part)'$(newline))\
H A Ddistdir.mk61 $(newline)DIST_SRC_DST_PAIRS := $(sort $(_all_dist_src_dst_pairs))) \
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCredentialHelper.java262 String newline = "<br>"; in getDescription() local
264 sb.append(context.getString(R.string.one_userkey)).append(newline); in getDescription()
266 .append(newline); in getDescription()
269 sb.append(context.getString(R.string.one_usercrt)).append(newline); in getDescription()
/aosp12/system/logging/logd/
H A DLogAudit.cpp223 static const char newline[] = "\n"; in logPrint() local
232 iov[3].iov_base = const_cast<char*>(newline); in logPrint()
233 iov[3].iov_len = strlen(newline); in logPrint()
/aosp12/build/make/core/tasks/
H A Downers.mk22 $(owners_zip) : PRIVATE_owners := $(subst $(newline),\n,$(owners))
H A Dtest_mapping.mk25 $(test_mappings_zip) : PRIVATE_test_mappings := $(subst $(newline),\n,$(test_mappings))
/aosp12/system/core/toolbox/
H A Dgetevent.c521 char *newline = "\n"; in getevent_main() local
546 newline = ""; in getevent_main()
649 printf("%04x%s", sw, newline); in getevent_main()
683 printf("%s", newline); in getevent_main()
/aosp12/frameworks/base/startop/scripts/iorap/
H A Dcollector148 local newline=n
152 newline=y
/aosp12/build/make/tools/product_config/
H A Dinherit_tree.py29 with open(argv[1], newline='') as csvfile:
/aosp12/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py512 def newline(self): member in COutputGenerator
524 self.newline()
528 self.newline()
551 self.newline()
556 self.newline()
575 self.newline()
/aosp12/build/soong/bloaty/
H A Dbloaty_merger.py43 with open(path, newline='') as csv_file:
/aosp12/system/sepolicy/
H A DREADME11 final line terminated by a newline character (0x0A). This
14 Adding the newline will also make the intermediate text files
17 newline inserted between each file as these are common failure
/aosp12/hardware/qcom/display/msm8996/sdm/libs/core/
H A Ddisplay_base.cpp571 …const char *newline = "\n|-----|-------------|--------|----|-------|-------------|----------------… in AppendDump() local
575 DumpImpl::AppendString(buffer, length, newline); in AppendDump()
577 DumpImpl::AppendString(buffer, length, newline); in AppendDump()
585 DumpImpl::AppendString(buffer, length, newline); in AppendDump()
658 DumpImpl::AppendString(buffer, length, newline); in AppendDump()
/aosp12/bionic/libc/kernel/tools/
H A Dcpp.py1028 newline = True
1041 newline = True
1045 if not newline:
1054 newline = False
1058 newline = True
1062 newline = True
1067 newline = True
1069 if newline:
1073 newline = False
/aosp12/build/blueprint/parser/
H A Dprinter.go216 newline := p.pendingNewline != 0
222 if newline {
/aosp12/hardware/libhardware/modules/soundtrigger/
H A Dsound_trigger_hw.c519 char* newline = strchr(command, '\n'); in get_command() local
520 if (newline != NULL) { in get_command()
521 *newline = '\0'; in get_command()

123