Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 25 of 68) sorted by relevance

123

/device/generic/opengl-transport/host/commands/emugen/
DApiGen.cpp65 fprintf(fp, "// Generated Code - DO NOT EDIT !!\n"); in printHeader()
66 fprintf(fp, "// generated by 'emugen'\n"); in printHeader()
80 fprintf(fp, "#ifndef __%s_%s_proc_t_h\n", basename, sideString(side)); in genProcTypes()
81 fprintf(fp, "#define __%s_%s_proc_t_h\n", basename, sideString(side)); in genProcTypes()
82 fprintf(fp, "\n\n"); in genProcTypes()
83 fprintf(fp, "\n#include \"%s_types.h\"\n",basename); in genProcTypes()
84 fprintf(fp, "#ifndef %s_APIENTRY\n",basename); in genProcTypes()
85 fprintf(fp, "#define %s_APIENTRY \n",basename); in genProcTypes()
86 fprintf(fp, "#endif\n"); in genProcTypes()
92 fprintf(fp, "typedef "); in genProcTypes()
[all …]
Dmain.cpp32 fprintf(stderr, "Usage: %s [options] <base name>\n", filename); in usage()
33 fprintf(stderr, "\t-h: This message\n"); in usage()
34 fprintf(stderr, "\t-E <dir>: generate encoder into dir\n"); in usage()
35 fprintf(stderr, "\t-D <dir>: generate decoder into dir\n"); in usage()
36 fprintf(stderr, "\t-i: input dir, local directory by default\n"); in usage()
37fprintf(stderr, "\t-T : generate attribute template into the input directory\n\t\tno other files a… in usage()
38 fprintf(stderr, "\t-W : generate wrapper into dir\n"); in usage()
72 fprintf(stderr, "Missing argument !!\n"); in main()
81 fprintf(stderr, "Usage: %s [options] <base name> \n", argv[0]); in main()
89 fprintf(stderr, "No output specified - aborting\n"); in main()
[all …]
DEntryPoint.cpp66 fprintf(stderr, in parse()
76 fprintf(stderr, "UNKNOWN retval: %s\n", linestr.c_str()); in parse()
102 fprintf(stderr, in parse()
112 fprintf(stderr, "%d: Unknown type: %s\n", lc, vartype.c_str()); in parse()
133 fprintf(fp, "%s %s%s%s(", in print()
139 if (ctx_param != "") fprintf(fp, "%s ", ctx_param.c_str()); in print()
143 if (i != 0 || ctx_param != "") fprintf(fp, ", "); in print()
144 fprintf(fp, "%s %s", m_vars[i].type()->name().c_str(), in print()
147 fprintf(fp, ")%s", newline? "\n" : ""); in print()
191 fprintf(stderr, "ERROR: %u: Missing variable name in attribute\n", (unsigned int)lc); in validateVarAttr()
[all …]
DTypeFactory.cpp75 fprintf(stderr, "Error: %d : missing type name\n", lc); in initFromFile()
82 fprintf(stderr, "Error: %d : missing type width\n", lc); in initFromFile()
89 fprintf(stderr, "Error: %d : missing print-string\n", lc); in initFromFile()
105fprintf(stderr, "Error: %d: invalid isPointer definition: 'true' but name does not end with '*'!\n… in initFromFile()
110fprintf(stderr, "Error: %d: invalid isPointer definition: 'false' but name does end with '*'!\n", … in initFromFile()
114fprintf(stderr, "Error: %d : invalid isPointer definition, must be either \"true\" or \"false\"\n"… in initFromFile()
123 fprintf(stderr, in initFromFile()
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-utils-test.c38fprintf(stdout, "******************************************************************************\n"… in print_banner()
39 fprintf(stdout, "Cadence Audio Framework (Hosted) : %s \n",app_name); in print_banner()
40 fprintf(stdout, "Copyright (c) 2018 Cadence Design Systems, Inc.\n"); in print_banner()
44fprintf(stdout, "******************************************************************************\n"… in print_banner()
62 fprintf(stdout,"Shared Memory between AP and DSP for IPC: %8d \n", XF_CFG_REMOTE_IPC_POOL_SIZE); in print_mem_mcps_info()
63 fprintf(stdout,"Memory allocated on AP for Device : %8d \n", tot_dev_mem_size); in print_mem_mcps_info()
64 fprintf(stdout,"Memory allocated on AP for Components : %8d \n", tot_comp_mem_size); in print_mem_mcps_info()
65 fprintf(stdout,"Memory allocated on DSP for Components : %8d \n", XF_CFG_LOCAL_POOL_SIZE); in print_mem_mcps_info()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c92 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); in rand32_no_zero_bytes()
100 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n"); in rand32_no_zero_bytes()
147 fprintf(stderr, "Padding header is invalid\n"); in validateSignature()
153 fprintf(stderr, "Padding bytes 0..1 are invalid\n"); in validateSignature()
159 fprintf(stderr, "Padding last bytes & terminator invalid\n"); in validateSignature()
166 fprintf(stderr, "Padding word %d invalid\n", i); in validateSignature()
178 fprintf(stderr, "hash mismatch\n"); in validateSignature()
207 fprintf(stderr, "Invalid text RSA input data\n"); in handleConvertKey()
221 fprintf(stderr, "Conversion status: %d\n", ret); in handleConvertKey()
243 fprintf(stderr, "Invalid signature header: file is too short\n"); in handleVerify()
[all …]
/device/generic/goldfish/tnc/
Dmain.cpp16 fprintf(stderr, "Usage: %s [-s|-c|-b] <ip> <port>\n", program); in usage()
33 fprintf(stderr, "ERROR: Unable to resolve '%s' and port '%s': %s\n", in resolve()
54 fprintf(stderr, "Unable to connect to server\n"); in runClient()
59 fprintf(stderr, "Failed to send message to server\n"); in runClient()
80 fprintf(stderr, "Unable to bind to address\n"); in runServer()
94 fprintf(stderr, "Error receiving on socket: %s\n", strerror(errno)); in runServer()
98 fprintf(stderr, "Socket unexpectedly closed\n"); in runServer()
112 fprintf(stderr, "ERROR: Could not open bridge socket: %s\n", in configureBridge()
119 fprintf(stderr, "ERROR: cannot create bridge: %s\n", strerror(errno)); in configureBridge()
129 fprintf(stderr, "ERROR: Unable to get interface index for %s\n", in configureBridge()
[all …]
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c42 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); in rand_bytes()
51 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n"); in rand_bytes()
78 fprintf(stderr, "Using Key ID: %016" PRIX64 "\n", encr.keyID); in handleEncrypt()
83 fprintf(stderr, "Input file is too small\n"); in handleEncrypt()
96 fprintf(stderr, "Padded to %" PRIu32 " bytes\n", bufUsed); in handleEncrypt()
104 fprintf(stderr, "Found AOSP header\n"); in handleEncrypt()
106 fprintf(stderr, "Unknown binary format\n"); in handleEncrypt()
111 fprintf(stderr, "data is marked as signed; encryption is not possible for signed data\n"); in handleEncrypt()
115fprintf(stderr, "data is marked as encrypted; encryption is not possible for encrypted data\n"); in handleEncrypt()
122 fprintf(stderr, "orig len: %" PRIu32 " bytes\n", encr.dataLen); in handleEncrypt()
[all …]
/device/linaro/dragonboard/qcom/rmtfs/
Dsharedmem.c68 fprintf(stderr, "failed to open %s: %s\n", path, strerror(errno)); in rmtfs_mem_open_rfsa()
76 fprintf(stderr, "failed to stat %s: %s\n", path, strerror(errno)); in rmtfs_mem_open_rfsa()
84 fprintf(stderr, "failed to create udev context\n"); in rmtfs_mem_open_rfsa()
91 fprintf(stderr, "unable to find udev device\n"); in rmtfs_mem_open_rfsa()
97 fprintf(stderr, "failed to parse phys_addr of %s\n", path); in rmtfs_mem_open_rfsa()
104 fprintf(stderr, "failed to parse size of %s\n", path); in rmtfs_mem_open_rfsa()
138 fprintf(stderr, "failed to open %s: %s\n", path, strerror(errno)); in rmtfs_mem_open_uio()
146 fprintf(stderr, "failed to stat %s: %s\n", path, strerror(errno)); in rmtfs_mem_open_uio()
154 fprintf(stderr, "failed to create udev context\n"); in rmtfs_mem_open_uio()
161 fprintf(stderr, "unable to find udev device\n"); in rmtfs_mem_open_uio()
[all …]
Drmtfs.c90 fprintf(stderr, "[RMTFS] failed to encode open-response: %s\n", in rmtfs_open()
98 fprintf(stderr, "[RMTFS] failed to send open-response: %s\n", in rmtfs_open()
136 fprintf(stderr, "[RMTFS] failed to encode close-response: %s\n", in rmtfs_close()
144 fprintf(stderr, "[RMTFS] failed to send close-response: %s\n", in rmtfs_close()
185 fprintf(stderr, "[RMTFS] iovec request for non-existing caller\n"); in rmtfs_iovec()
210 fprintf(stderr, "[RMTFS] failed to %s sector %d\n", in rmtfs_iovec()
234 fprintf(stderr, "[RMTFS] failed to encode iovec-response: %s\n", in rmtfs_iovec()
242 fprintf(stderr, "[RMTFS] failed to send iovec-response: %s\n", in rmtfs_iovec()
283 fprintf(stderr, "[RMTFS] failed to encode alloc-buf-response: %s\n", in rmtfs_alloc_buf()
291 fprintf(stderr, "[RMTFS] failed to send alloc-buf-response: %s\n", in rmtfs_alloc_buf()
[all …]
Drproc.c42 fprintf(stderr, "failed to open mss driver path\n"); in rproc_init()
74 fprintf(stderr, in rproc_init()
107 fprintf(stderr, "failed to update start state\n"); in do_rproc_start()
123 fprintf(stderr, "failed to update stop state\n"); in do_rproc_stop()
127 fprintf(stderr, "failed to signal event loop about exit\n"); in do_rproc_stop()
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp150 fprintf(stderr, "block dev lseek64 %" PRIi64 " failed: %s\n", offset, in blk_rw()
161 fprintf(stderr, "block dev %s failed: %s\n", rw ? "write" : "read", in blk_rw()
253 fprintf(stderr, "'%s' partition not backup - skip safe update\n", in gpt_boot_chain_swap()
297 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt2_set_boot_chain()
304 fprintf(stderr, "Failed to allocate memory to hold GPT block\n"); in gpt2_set_boot_chain()
310 fprintf(stderr, "Getting secondary GPT header offset failed: %s\n", in gpt2_set_boot_chain()
320 fprintf(stderr, "Failed to read primary GPT header from blk dev\n"); in gpt2_set_boot_chain()
331 fprintf(stderr, in gpt2_set_boot_chain()
343 fprintf(stderr, "Primary GPT partition entries array CRC invalid\n"); in gpt2_set_boot_chain()
411 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt_get_state()
[all …]
/device/google/coral/gpt-utils/
Dgpt-utils.cpp150 fprintf(stderr, "block dev lseek64 %" PRIi64 " failed: %s\n", offset, in blk_rw()
161 fprintf(stderr, "block dev %s failed: %s\n", rw ? "write" : "read", in blk_rw()
253 fprintf(stderr, "'%s' partition not backup - skip safe update\n", in gpt_boot_chain_swap()
297 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt2_set_boot_chain()
304 fprintf(stderr, "Failed to allocate memory to hold GPT block\n"); in gpt2_set_boot_chain()
310 fprintf(stderr, "Getting secondary GPT header offset failed: %s\n", in gpt2_set_boot_chain()
320 fprintf(stderr, "Failed to read primary GPT header from blk dev\n"); in gpt2_set_boot_chain()
331 fprintf(stderr, in gpt2_set_boot_chain()
343 fprintf(stderr, "Primary GPT partition entries array CRC invalid\n"); in gpt2_set_boot_chain()
411 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt_get_state()
[all …]
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp150 fprintf(stderr, "block dev lseek64 %" PRIi64 " failed: %s\n", offset, in blk_rw()
161 fprintf(stderr, "block dev %s failed: %s\n", rw ? "write" : "read", in blk_rw()
253 fprintf(stderr, "'%s' partition not backup - skip safe update\n", in gpt_boot_chain_swap()
297 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt2_set_boot_chain()
304 fprintf(stderr, "Failed to allocate memory to hold GPT block\n"); in gpt2_set_boot_chain()
310 fprintf(stderr, "Getting secondary GPT header offset failed: %s\n", in gpt2_set_boot_chain()
320 fprintf(stderr, "Failed to read primary GPT header from blk dev\n"); in gpt2_set_boot_chain()
331 fprintf(stderr, in gpt2_set_boot_chain()
343 fprintf(stderr, "Primary GPT partition entries array CRC invalid\n"); in gpt2_set_boot_chain()
411 fprintf(stderr, "Failed to get GPT device block size: %s\n", in gpt_get_state()
[all …]
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess_elf.c80 #define ERR(fmt, ...) fprintf(stderr, fmt "\n", ##__VA_ARGS__)
103 fprintf(stderr, "Error: %s: %s\n\n", msg, arg); in fatalUsage()
105 fprintf(stderr, "Error: %s\n\n", msg); in fatalUsage()
107fprintf(stderr, "USAGE: %s [-v] [-k <key id>] [-a <app id>] [-r] [-n <layout name>] [-i <layout id… in fatalUsage()
145fprintf(stderr, "SortedReloc[%3" PRIu32 "] = {0x%08" PRIX32 ",0x%02" PRIX8 "}\n", i, nanoRelocs[i]… in packNanoRelocs()
158 fprintf(stderr, "Out: RelocTC (1) // to 0x%02" PRIX8 "\n", nanoRelocs[i].type); in packNanoRelocs()
164fprintf(stderr, "Out: RelocTC (0x%02" PRIX8 ") // to 0x%02" PRIX8 "\n", (uint8_t)(nanoRelocs[i].t… in packNanoRelocs()
172 fprintf(stderr, "Unaligned relocs are not possible!\n"); in packNanoRelocs()
182 fprintf(stderr, "Out: Reloc0 x%" PRIX32 "\n", j); in packNanoRelocs()
194 fprintf(stderr, "Out: Reloc8 0x%02" PRIX32 "\n", displacement); in packNanoRelocs()
[all …]
/device/google/contexthub/lib/nanohub/
Dnanoapp.c31 fprintf(stderr, "Failed to allocate %zu bytes\n", bufSz); in reallocOrDie()
41fprintf(stderr, "Buffer size %zu is not big enough to complete operation; we need %zu bytes\n", to… in assertMem()
76 fprintf(stderr, "couldn't open %s: %s\n", fileName, strerror(errno)); in loadFile()
89 fprintf(stderr, "Failed to read entire file %s: %s\n", in loadFile()
105 fprintf(out, "%s: ", pfx); in doPrintHash()
107 fprintf(out, "%08" PRIx32, hash[pos]); in doPrintHash()
108 fprintf(out, "\n"); in doPrintHash()
/device/generic/goldfish/network/netmgr/
Dlog.h30 fprintf(stderr, __VA_ARGS__); \
31 fprintf(stderr, "\n"); \
39 fprintf(stderr, __VA_ARGS__); \
40 fprintf(stderr, "\n"); \
/device/google/contexthub/util/nanotool/
Dnanotool.cpp145 fprintf(stderr, "%s %s\n\n", name, NANOTOOL_VERSION_STR); in PrintUsage()
146 fprintf(stderr, "Usage: %s [options]\n\n%s\n", name, help_text); in PrintUsage()
147 fprintf(stderr, "Supported sensors: %s\n\n", in PrintUsage()
149 fprintf(stderr, "Examples:\n" in PrintUsage()
168 fprintf(stderr, "%s: At least 1 sensor must be specified for this " in ValidateArgs()
176 fprintf(stderr, "%s: A filename must be specified for this command " in ValidateArgs()
186 fprintf(stderr, "%s: Sample rate must be specified for sensor " in ValidateArgs()
201 fprintf(stderr, "%s: Calibration reference required for sensor " in ValidateArgs()
256 fprintf(stderr, "%s: Only one calibration reference may be " in ParseSensorArg()
269 fprintf(stderr, "%s: Invalid sensor name '%s'\n", in ParseSensorArg()
[all …]
/device/generic/goldfish-opengl/system/vulkan_enc/
Dvulkan_enc_unittests.cpp38 fprintf(stderr, "do something\n"); in TEST()
51 [] { fprintf(stderr, "do something 1\n"); }, in TEST()
52 [] { fprintf(stderr, "do something 2\n"); }, in TEST()
63 [] { fprintf(stderr, "do something 1\n"); }, in TEST()
64 [] { fprintf(stderr, "do something 2\n"); }, in TEST()
65 [] { fprintf(stderr, "do something 3\n"); }, in TEST()
66 [] { fprintf(stderr, "do something 4\n"); }, in TEST()
67 [] { fprintf(stderr, "do something 5\n"); }, in TEST()
68 [] { fprintf(stderr, "do something 6\n"); }, in TEST()
69 [] { fprintf(stderr, "do something 7\n"); }, in TEST()
[all …]
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp134 fprintf(out.get(), "\n\n"); in writeConfig()
137 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig()
138 fprintf(out.get(), "ssid=%s\n", ap.second.ssid.c_str()); in writeConfig()
140 fprintf(out.get(), "wpa=2\n"); in writeConfig()
141 fprintf(out.get(), "wpa_key_mgmt=WPA-PSK\n"); in writeConfig()
142 fprintf(out.get(), "rsn_pairwise=CCMP\n"); in writeConfig()
143 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig()
145 fprintf(out.get(), "\n"); in writeConfig()
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c106 fprintf(stderr, in handle_get_domain_list()
115 fprintf(stderr, in handle_get_domain_list()
152 fprintf(stderr, "failed to parse sr_domain\n"); in pd_load_map()
171 fprintf(stderr, in pd_load_map()
323 fprintf(stderr, "no pd maps available\n"); in main()
329 fprintf(stderr, "failed to open qrtr socket\n"); in main()
336 fprintf(stderr, "failed to publish service registry service\n"); in main()
346 fprintf(stderr, "qrtr_poll failed\n"); in main()
356 fprintf(stderr, "[PD-MAPPER] recvfrom failed: %d\n", ret); in main()
362 fprintf(stderr, "[PD-MAPPER] unable to decode qrtr packet\n"); in main()
/device/google/cuttlefish/guest/commands/rename_netiface/
Dmain.cpp28 fprintf(stderr, "usage: %s [ethA] [ethB]\n", argv[0]); in main()
34 fprintf(stderr, "%s: invalid interface name '%s'\n", argv[0], name); in main()
49 fprintf(stderr, "%s: renaming interface '%s' failed\n", argv[0], name); in main()
/device/google/bonito/json-c/
Drandom_seed.c156 fprintf(stderr, "error opening %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
163 fprintf(stderr, "error short read %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
194 fprintf(stderr, "error CryptAcquireContextW"); in get_cryptgenrandom_seed()
199 fprintf(stderr, "error CryptGenRandom"); in get_cryptgenrandom_seed()
/device/google/crosshatch/json-c/
Drandom_seed.c156 fprintf(stderr, "error opening %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
163 fprintf(stderr, "error short read %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
194 fprintf(stderr, "error CryptAcquireContextW"); in get_cryptgenrandom_seed()
199 fprintf(stderr, "error CryptGenRandom"); in get_cryptgenrandom_seed()
/device/google/coral/json-c/
Drandom_seed.c156 fprintf(stderr, "error opening %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
163 fprintf(stderr, "error short read %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()
194 fprintf(stderr, "error CryptAcquireContextW"); in get_cryptgenrandom_seed()
199 fprintf(stderr, "error CryptGenRandom"); in get_cryptgenrandom_seed()

123