| /utopia/UTPA2-700.0.x/projects/build/scripts/ |
| H A D | kallsyms.c | 76 static inline int is_arm_mapping_symbol(const char *str) in is_arm_mapping_symbol() argument 78 return str[0] == '$' && strchr("atd", str[1]) in is_arm_mapping_symbol() 79 && (str[2] == '\0' || str[2] == '.'); in is_arm_mapping_symbol() 104 char str[500]; in read_symbol() local 108 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str); in read_symbol() 110 if (rc != EOF && fgets(str, 500, in) == NULL) in read_symbol() 115 sym = str; in read_symbol() 117 if (symbol_prefix_char && str[0] == symbol_prefix_char) in read_symbol() 139 else if (str[0] == '$') in read_symbol() 147 s->len = strlen(str) + 1; in read_symbol() [all …]
|
| H A D | gen_initramfs_list.sh | 118 local str="${mode} ${uid} ${gid}" 125 str="${ftype} ${name} ${location} ${str}" 135 str="${ftype} ${name} ${str} ${dev} ${maj} ${min}" 139 str="${ftype} ${name} ${target} ${str}" 142 str="${ftype} ${name} ${str}" 146 echo "${str}" >> ${output}
|
| H A D | get_maintainer.pl | 1517 my $str = substr($nr, 1); 1519 $val = $1 if $str =~ /^(\d+)$/; 1540 if (lc($str) eq "m") { 1545 } elsif (lc($str) eq "g") { 1550 } elsif (lc($str) eq "l") { 1555 } elsif (lc($str) eq "s") { 1564 } elsif ($str eq '*' || $str eq '^') { 1566 $toggle = 1 if ($str eq '*'); 1574 } elsif ($str eq '*' || $str eq '^') { 1576 $toggle = 1 if ($str eq '*'); [all …]
|
| H A D | unifdef.c | 805 const char *str; member 927 for (op = ops->op; op->str != NULL; op++) in eval_table() 928 if (strncmp(cp, op->str, strlen(op->str)) == 0) in eval_table() 930 if (op->str == NULL) in eval_table() 932 cp += strlen(op->str); in eval_table() 933 debug("eval%d %s", ops - eval_ops, op->str); in eval_table() 1121 findsym(const char *str) in findsym() argument 1126 cp = skipsym(str); in findsym() 1127 if (cp == str) in findsym() 1135 (int)(cp-str), str, in findsym() [all …]
|
| H A D | markup_oops.pl | 101 my $str = ""; 143 $str = $str . " $reg => $val "; 151 $str = $str . " $reg = $val "; 155 return $str;
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/ |
| H A D | symbol.c | 160 char str[64]; in sym_validate_range() local 183 sprintf(str, "%d", val2); in sym_validate_range() 185 sprintf(str, "0x%x", val2); in sym_validate_range() 186 sym->curr.val = strdup(str); in sym_validate_range() 534 bool sym_string_valid(struct symbol *sym, const char *str) in sym_string_valid() argument 542 ch = *str++; in sym_string_valid() 544 ch = *str++; in sym_string_valid() 547 if (ch == '0' && *str != 0) in sym_string_valid() 549 while ((ch = *str++)) { in sym_string_valid() 555 if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) in sym_string_valid() [all …]
|
| H A D | confdata.c | 422 const char *str, FILE *out) in conf_write_string() argument 431 l = strcspn(str, "\"\\"); in conf_write_string() 433 xfwrite(str, l, 1, out); in conf_write_string() 434 str += l; in conf_write_string() 436 if (!*str) in conf_write_string() 438 fprintf(out, "\\%c", *str++); in conf_write_string() 445 const char *str; in conf_write_symbol() local 469 str = sym_get_string_value(sym); in conf_write_symbol() 470 fprintf(out, "%s%s=%s\n", CONFIG_, sym->name, str); in conf_write_symbol() 561 const char *str; in conf_write() local [all …]
|
| H A D | qconf.cc | 61 static inline QString qgettext(const char* str) in qgettext() argument 63 return QString::fromLocal8Bit(gettext(str)); in qgettext() 66 static inline QString qgettext(const QString& str) in qgettext() argument 68 return QString::fromLocal8Bit(gettext(str.latin1())); in qgettext() 996 QString str; in symbolInfo() local 998 str += "<big>Symbol: <b>"; in symbolInfo() 999 str += print_filter(sym->name); in symbolInfo() 1000 str += "</b></big><br><br>value: "; in symbolInfo() 1001 str += print_filter(sym_get_string_value(sym)); in symbolInfo() 1002 str += "<br>visibility: "; in symbolInfo() [all …]
|
| H A D | zconf.hash.c | 34 static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); 45 kconf_id_hash (register const char *str, register unsigned int len) in kconf_id_hash() argument 81 hval += asso_values[(unsigned char)str[2]]; in kconf_id_hash() 85 hval += asso_values[(unsigned char)str[0]]; in kconf_id_hash() 169 kconf_id_lookup (register const char *str, register unsigned int len) in kconf_id_lookup() argument 229 register int key = kconf_id_hash (str, len); in kconf_id_lookup() 238 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') in kconf_id_lookup()
|
| H A D | nconf.c | 257 char str[256]; member 513 char *str = k_menu_items[index].str; in get_mext_match() local 514 if (strcasestr(str, match_str) != 0) in get_mext_match() 545 vsnprintf(k_menu_items[items_num].str, in item_make() 546 sizeof(k_menu_items[items_num].str), in item_make() 551 memcpy(k_menu_items[items_num].str, "XXX", 3); in item_make() 554 k_menu_items[items_num].str, in item_make() 555 k_menu_items[items_num].str); in item_make() 582 k_menu_items[index].str, new_str); in item_add_str() 583 strncpy(k_menu_items[index].str, in item_add_str() [all …]
|
| H A D | zconf.hash.c_shipped | 34 static struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); 45 kconf_id_hash (register const char *str, register unsigned int len) 81 hval += asso_values[(unsigned char)str[2]]; 85 hval += asso_values[(unsigned char)str[0]]; 169 kconf_id_lookup (register const char *str, register unsigned int len) 229 register int key = kconf_id_hash (str, len); 238 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
|
| H A D | conf.c | 57 static void strip(char *str) in strip() argument 59 char *p = str; in strip() 65 if (p != str) in strip() 66 memmove(str, p, l + 1); in strip() 69 p = str + l - 1; in strip() 647 void xfgets(str, size, in) in xfgets() argument 648 char *str; in xfgets() 652 if (fgets(str, size, in) == NULL)
|
| H A D | zconf.l | 50 static void append_string(const char *str, int size) in append_string() argument 59 memcpy(text + text_size, str, size); in append_string() 64 static void alloc_string(const char *str, int size) in alloc_string() argument 67 memcpy(text, str, size); in alloc_string() 76 int str = 0; 128 str = yytext[0];
|
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvUSBDisk.c | 421 U8 MDrv_USB_MscLookupHostID(char *str) in MDrv_USB_MscLookupHostID() argument 439 if ((p_usb_info->DevId != (-1)) && (strcmp(str, t->name) == 0)) // find the table entry in MDrv_USB_MscLookupHostID() 446 diag_printf("Not found %s on any USB host port\n", str); in MDrv_USB_MscLookupHostID() 450 char *MDrv_USB_MscLookupManufacturerString(char *str) in MDrv_USB_MscLookupManufacturerString() argument 469 if ((p_usb_info->DevId != (-1)) && (strcmp(str, t->name) == 0)) // find the table entry in MDrv_USB_MscLookupManufacturerString() 480 char *MDrv_USB_MscLookupProductString(char *str) in MDrv_USB_MscLookupProductString() argument 499 if ((p_usb_info->DevId != (-1)) && (strcmp(str, t->name) == 0)) // find the table entry in MDrv_USB_MscLookupProductString() 510 char *MDrv_USB_MscLookupSerialNumberString(char *str) in MDrv_USB_MscLookupSerialNumberString() argument 529 if ((p_usb_info->DevId != (-1)) && (strcmp(str, t->name) == 0)) // find the table entry in MDrv_USB_MscLookupSerialNumberString() 540 MS_U32 MDrv_USB_MscLookupVidPid(char *str) in MDrv_USB_MscLookupVidPid() argument [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/dtc/ |
| H A D | flattree.c | 67 static void bin_emit_string(void *e, char *str, int len) in bin_emit_string() argument 72 len = strlen(str); in bin_emit_string() 74 *dtbuf = data_append_data(*dtbuf, str, len); in bin_emit_string() 147 static void asm_emit_string(void *e, char *str, int len) in asm_emit_string() argument 154 c = str[len]; in asm_emit_string() 155 str[len] = '\0'; in asm_emit_string() 158 fprintf(f, "\t.string\t\"%s\"\n", str); in asm_emit_string() 161 str[len] = c; in asm_emit_string() 243 static int stringtable_insert(struct data *d, const char *str) in stringtable_insert() argument 250 if (streq(str, d->val + i)) in stringtable_insert() [all …]
|
| H A D | util.c | 43 char *str; in join_path() local 51 str = xmalloc(len); in join_path() 52 memcpy(str, path, lenp); in join_path() 54 str[lenp] = '/'; in join_path() 57 memcpy(str+lenp, name, lenn+1); in join_path() 58 return str; in join_path()
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/ |
| H A D | keywords.c_shipped | 34 static const struct resword *is_reserved_word(register const char *str, register unsigned int len); 47 is_reserved_hash (register const char *str, register unsigned int len) 78 …turn len + asso_values[(unsigned char)str[2]] + asso_values[(unsigned char)str[0]] + asso_values[(… 88 is_reserved_word (register const char *str, register unsigned int len) 209 register int key = is_reserved_hash (str, len); 215 if (*str == *s && !strcmp (str + 1, s + 1))
|
| /utopia/UTPA2-700.0.x/modules/graphic/utopia_adaption/gfx/ |
| H A D | GFX_adp.c | 703 GFX_GETINFO_ARGS str; in GFX_adp_Ioctl() local 704 if(copy_from_user(&str, pArgs, sizeof(GFX_GETINFO_ARGS))) in GFX_adp_Ioctl() 708 switch(str.eGFX_GetConfig) in GFX_adp_Ioctl() 831 GFX_ABL_ARGS str; in GFX_adp_Ioctl() local 851 if(copy_from_user(&str, pArgs, sizeof(GFX_ABL_ARGS))) in GFX_adp_Ioctl() 856 switch(str.eGFX_SetABL) in GFX_adp_Ioctl() 968 GFX_SETCONFIG_ARGS str; in GFX_adp_Ioctl() local 976 if(copy_from_user(&str, pArgs, sizeof(GFX_SETCONFIG_ARGS))) in GFX_adp_Ioctl() 980 switch(str.eGFX_SetConfig) in GFX_adp_Ioctl() 1120 GFX_MISC_ARGS str; in GFX_adp_Ioctl() local [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/mod/ |
| H A D | modpost.c | 229 const char *str; member 232 { .str = "EXPORT_SYMBOL", .export = export_plain }, 233 { .str = "EXPORT_UNUSED_SYMBOL", .export = export_unused }, 234 { .str = "EXPORT_SYMBOL_GPL", .export = export_gpl }, 235 { .str = "EXPORT_UNUSED_SYMBOL_GPL", .export = export_unused_gpl }, 236 { .str = "EXPORT_SYMBOL_GPL_FUTURE", .export = export_gpl_future }, 237 { .str = "(unknown)", .export = export_unknown }, 243 return export_list[ex].str; in export_str() 253 if (strcmp(export_list[i].str, s) == 0) in export_no() 261 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) argument [all …]
|
| H A D | file2alias.c | 41 #define ADD(str, sep, cond, field) \ argument 43 strcat(str, sep); \ 45 sprintf(str + strlen(str), \ 51 sprintf(str + strlen(str), "*"); \ 55 static inline void add_wildcard(char *str) in add_wildcard() argument 57 int len = strlen(str); in add_wildcard() 59 if (str[len - 1] != '*') in add_wildcard() 60 strcat(str + len, "*"); in add_wildcard()
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/lxdialog/ |
| H A D | util.c | 563 vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); in item_make() 572 avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str); in item_add_str() 575 vsnprintf(item_cur->node.str + strlen(item_cur->node.str), in item_add_str() 577 item_cur->node.str[sizeof(item_cur->node.str) - 1] = '\0'; in item_add_str() 646 return item_cur->node.str; in item_str()
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/dtc/libfdt/ |
| H A D | libfdt.h | 794 #define fdt_property_string(fdt, name, str) \ argument 795 fdt_property(fdt, name, str, strlen(str)+1) 974 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument 975 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
|
| /utopia/UTPA2-700.0.x/projects/tmplib/include/ |
| H A D | drvUSB_eCos.h | 175 MS_U8 MDrv_USB_MscLookupHostID(char *str); 176 char *MDrv_USB_MscLookupManufacturerString(char *str); 177 char *MDrv_USB_MscLookupProductString(char *str); 178 char *MDrv_USB_MscLookupSerialNumberString(char *str); 179 MS_U32 MDrv_USB_MscLookupVidPid(char *str);
|
| /utopia/UTPA2-700.0.x/mxlib/include/ |
| H A D | drvUSB_eCos.h | 176 MS_U8 MDrv_USB_MscLookupHostID(char *str); 177 char *MDrv_USB_MscLookupManufacturerString(char *str); 178 char *MDrv_USB_MscLookupProductString(char *str); 179 char *MDrv_USB_MscLookupSerialNumberString(char *str); 180 MS_U32 MDrv_USB_MscLookupVidPid(char *str);
|
| /utopia/UTPA2-700.0.x/modules/dlc/drv/dlc/ |
| H A D | MsDBC.c | 89 #define DBC_PRINTF(str,val) printf(str,val) argument 90 #define DBC_PUTSTR(str) putstr(str) argument 92 #define DBC_PRINTF(str,val) argument 93 #define DBC_PUTSTR(str) argument
|