/device/linaro/bootloader/edk2/StdLib/LibC/Main/ |
H A D | assert.c | 34 @param[in] line The line number the assert is located on.
45 IN int line,
50 printf("Assertion failed: (%s), file %s, line %d.\n",
51 failedexpr, file, line);
53 printf("Assertion failed: (%s), file %s, function %s, line %d.\n",
54 failedexpr, file, func, line);
42 __assert( IN const char *file, IN const char *func, IN int line, IN const char *failedexpr ) argument
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
H A D | assert.c | 36 void __assert (const char *function, const char *file, unsigned int line, argument 39 tf_printf("ASSERT: %s <%d> : %s\n", function, line, assertion);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
H A D | from.py | 23 line = mail.readline()
variable 24 if not line:
26 if line.startswith('From '):
28 print line[:-1],
30 line = mail.readline()
variable 31 if not line or line == '\n':
33 if line.startswith('Subject: '):
34 print repr(line[9:-1]),
|
H A D | pp.py | 3 # Emulate some Perl command line options.
6 # -a : together with -n or -p, splits each line into list F
9 # -e scriptline : gives one line of the Python script; may be repeated
11 # -n : runs the script for each line of input
12 # -p : prints the line after the script has run
15 # read as input to the script, line by line. If a file is '-'
49 for line in optarg.split('\n'):
50 SCRIPT.append(line)
70 line variable [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | getprotoent.c | 48 static char line[BUFSIZ+1];
variable 82 if ((p = fgets(line, BUFSIZ, protof)) == NULL)
|
H A D | getnetbyht.c | 62 static char line[BUFSIZ+1];
variable 98 p = fgets(line, sizeof line, netf);
|
H A D | getservent.c | 56 static char line[BUFSIZ+1];
variable 68 _getservbyport_yp(line)
69 char *line;
107 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result);
114 _getservbyname_yp(line)
115 char *line;
138 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result);
145 _getservent_yp(line)
146 char *line;
180 snprintf(line, BUFSI [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/net/ |
H A D | servent.h | 43 char *line;
member in struct:servent_data
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
H A D | dlgdef.h | 58 int line;
member in struct:zzdlg_state 72 extern int zzline; /* line current token is on */
73 extern int zzreal_line; /* line of 1st portion of token that is not skipped */
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
H A D | dlgdef.h | 58 int line;
member in struct:zzdlg_state 72 extern int zzline; /* line current token is on */
73 extern int zzreal_line; /* line of 1st portion of token that is not skipped */
|
H A D | AToken_traditional.h | 62 virtual void setLine(int line) = 0;
69 int line) = 0;
146 int line)
168 void setLine(int line) { _line = line; }
argument 174 int line)
177 t->setType(tt); t->setText(txt); t->setLine(line);
198 void setLine(int line) { _line = line; }
argument 204 int line)
144 makeToken(ANTLRTokenType tt, ANTLRChar *txt, int line) argument 172 makeToken(ANTLRTokenType tt, ANTLRChar *txt, int line) argument 202 makeToken(ANTLRTokenType tt, ANTLRChar *txt, int line) argument [all...] |
/device/google/marlin/dataservices/datatop/src/ |
H A D | datatop_meminfo_file_poll.c | 54 * @var dtop_meminfo_vars::line 60 char **line; member in struct:dtop_meminfo_vars 124 /* Assigns each line read from the file, a length */ 128 (dpg->priv))->line[n], 141 (dpg->priv))->line[i], line_len[i], i, &dict); 180 free(((struct dtop_meminfo_vars *)(dpset->priv))->line[i]); 181 free(((struct dtop_meminfo_vars *)(dpset->priv))->line); 228 storage->line = malloc(storage->line_count * sizeof(*storage->line)); 231 storage->line[ [all...] |
H A D | datatop_single_line_poll.c | 32 * @brief Adds ability for data collection from single line files 35 * single line files, meaning a file with multiple lines, but each 36 * line contains the name of the dp, followed by the value. 53 * @var dtop_single_line_vars::line 59 char **line; member in struct:dtop_single_line_vars 85 /* Assigns each line read from the file, a length */ 89 (dpg->priv))->line[n], 103 (dpg->priv))->line[i], line_len[i], i, &dict); 133 free(((struct dtop_single_line_vars *)(dpset->priv))->line[i]); 134 free(((struct dtop_single_line_vars *)(dpset->priv))->line); [all...] |
H A D | datatop_value_only_poll.c | 35 * value_only files, meaning a file with a single line, containing 60 char line[DTOP_SINGLE_LINE]; local 75 line_len = dt_read_line(line, DTOP_SINGLE_LINE, data, 79 dt_single_line_parse(line, line_len, &dict); 90 * @brief Frees dynamically allocated single line dpg. 109 * @brief Creates a dpg for a single line file. 134 * @brief Scans a single line file in order to autodetect dps. 136 * Searches through a file that contains a single line and only 145 char line[DTOP_SINGLE_LINE]; local 158 line_len = dt_read_line(line, [all...] |
H A D | datatop_dev_poll.c | 52 * @var dtop_dev_vars::line 58 char **line; member in struct:dtop_dev_vars 128 /* Assigns each line read from the file, a length */ 132 (dpg->priv))->line[n], 145 (dpg->priv))->line[n], line_len[n], 190 free(((struct dtop_dev_vars *)(dpset->priv))->line[i]); 191 free(((struct dtop_dev_vars *)(dpset->priv))->line); 245 storage->line = malloc(storage->line_count * sizeof(*storage->line)); 248 storage->line[ [all...] |
H A D | datatop_dual_line_poll.c | 32 * @brief Adds ability for data collection from dual line files. 35 * dual line files, meaning the first line contains the dp names 36 * while the second line contains the corresponding values. 53 * @var dtop_dual_line_vars::line 61 char **line; member in struct:dtop_dual_line_vars 98 /* Assigns each line read from the file, a length */ 102 (dpg->priv))->line[n], 121 (dpg->priv))->line[2*i], 124 (dpg->priv))->line[( [all...] |
H A D | datatop_gen_poll.c | 65 char line[DTOP_GEN_LINE]; local 70 line_len = dt_read_line(line, DTOP_GEN_LINE, data, DTOP_GEN_SIZE, 0); 83 if ((line[i] == ' ' || line[i] == ',' 84 || line[i] == ' ') &&line[i+1] != 0) 103 char line[DTOP_GEN_LINE]; local 109 line_len = dt_read_line(line, DTOP_GEN_LINE, data, DTOP_GEN_SIZE, 0); 114 dt_single_line_parse(line, line_len, &dict);
|
H A D | datatop_stat_poll.c | 52 * @var dtop_stat_vars::line 58 char **line; member in struct:dtop_stat_vars 132 /* Assigns each line read from the file, a length */ 136 (dpg->priv))->line[n], 149 (dpg->priv))->line[i], line_len[i], i, dp_count, &dict); 179 free(((struct dtop_stat_vars *)(dpset->priv))->line[i]); 180 free(((struct dtop_stat_vars *)(dpset->priv))->line); 233 storage->line = malloc(storage->line_count * sizeof(*storage->line)); 236 storage->line[ [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/ |
H A D | support.c | 44 void internal_error(char *s, char *file,int line) /* MR9 23-Sep-97 */
argument 46 void internal_error(s,file,line) /* MR9 23-Sep-97 */
48 int line;
51 fprintf(stderr,s,file,line);
56 char *dlg_malloc(int bytes,char *file,int line)
argument 58 char *dlg_malloc(bytes,file,line)
61 int line;
70 file,line);
77 char *dlg_calloc(int n,int bytes,char *file,int line)
argument 79 char *dlg_calloc(n,bytes,file,line)
[all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
H A D | fparseln.c | 100 * Read a line from a file parsing continuations ending in \
234 size_t size, line;
local 236 line = 0;
237 while ((ptr = fparseln(stdin, &size, &line, NULL,
239 printf("line %d (%d) |%s|\n", line, size, ptr);
246 line 1
247 line 2 \
248 line 3 # Comment
249 line [all...] |
/device/google/contexthub/util/nanotool/ |
H A D | log.cpp | 76 char line[32]; local 83 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ", 89 Log::Debug(" %s\t%s", line, line_chars); 93 offset += snprintf(&line[offset], sizeof(line) - offset, " "); 103 Log::Debug(" %s%s%s", line, tabs.c_str(), line_chars);
|
/device/google/contexthub/firmware/os/platform/stm32/ |
H A D | exti.c | 37 void extiEnableIntLine(const enum ExtiLine line, enum ExtiTrigger trigger) argument 40 EXTI->RTSR |= (1UL << line); 41 EXTI->FTSR |= (1UL << line); 43 EXTI->RTSR |= (1UL << line); 44 EXTI->FTSR &= ~(1UL << line); 46 EXTI->RTSR &= ~(1UL << line); 47 EXTI->FTSR |= (1UL << line); 51 extiClearPendingLine(line); 54 EXTI->IMR |= (1UL << line); 57 void extiDisableIntLine(const enum ExtiLine line) argument 62 extiClearPendingLine(const enum ExtiLine line) argument 67 extiIsPendingLine(const enum ExtiLine line) argument [all...] |
/device/google/marlin/thermal/ |
H A D | thermal.c | 182 char *line = NULL; local 199 while ((read = getline(&line, &len, file)) != -1) { 201 if (strnlen(line, read) < 4 || strncmp(line, "cpu", 3) != 0 || !isdigit(line[3])) { 202 free(line); 203 line = NULL; 208 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 211 free(line); 212 line [all...] |
/device/huawei/angler/thermal/ |
H A D | thermal.c | 181 char *line = NULL; local 198 while ((read = getline(&line, &len, file)) != -1) { 200 if (strnlen(line, read) < 4 || strncmp(line, "cpu", 3) != 0 || !isdigit(line[3])) { 201 free(line); 202 line = NULL; 207 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 210 free(line); 211 line [all...] |
/device/lge/bullhead/thermal/ |
H A D | thermal.c | 183 char *line = NULL; local 200 while ((read = getline(&line, &len, file)) != -1) { 202 if (strnlen(line, read) < 4 || strncmp(line, "cpu", 3) != 0 || !isdigit(line[3])) { 203 free(line); 204 line = NULL; 209 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 212 free(line); 213 line [all...] |