Searched refs:card (Results 1 - 25 of 64) sorted by relevance

123

/external/adhd/scripts/
H A Daudio_diagnostics10 for card in ${@}
12 echo '=== amixer -c' $card scontents '==='
13 amixer -c $card scontents
14 echo '=== amixer -c' $card contents '==='
15 amixer -c $card contents
30 output_cards=$(aplay -l | egrep ^card | sed 's/card \([0-9]\+\).*/\1/' | sort -u)
33 input_cards=$(arecord -l | egrep ^card | sed 's/card \([0-9]\+\).*/\1/' | sort -u)
37 codecs=$(find /proc/asound -mindepth 2 -maxdepth 2 -path '*card*/code
[all...]
/external/python/cpython2/Demo/tkinter/guido/
H A Dsolitaire.py17 I'm not much of a card player, so my terminology in these comments may
42 # work in a "grid" where each card/stack is surrounded by MARGIN
88 # cards. ALLVALUES is a list of all card values.
98 # VALNAMES is a list that maps a card value to string. It contains a
99 # dummy element at index 0 so it can be indexed directly with the card
117 """A playing card.
119 A card doesn't record to which stack it belongs; only the stack
126 moveto(x, y) -- move the card to an absolute position
127 moveby(dx, dy) -- move the card by a relative offset
128 tkraise() -- raise the card t
[all...]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_QUERYCAP.c71 dprintf("\tcap = { .driver = \"%s\", .card = \"%s\", "
77 cap.card,
93 CU_ASSERT(0 < strlen((char *)cap.card));
94 CU_ASSERT(valid_string((char *)cap.card, sizeof(cap.card)));
110 /* Check if the unused bytes of the driver, card and bus_info
118 strncpy((char *)cap2.card, (char *)cap.card, sizeof(cap2.card));
/external/adhd/cras/src/server/
H A Dcras_system_state.c27 struct cras_alsa_card *card; member in struct:card_list
39 * internal_ucm_suffix - The suffix to append to internal card name to
322 struct card_list *card; local
331 DL_FOREACH(state.cards, card) {
332 if (card_index == cras_alsa_card_get_index(card->card))
344 card = calloc(1, sizeof(*card));
345 if (card == NULL)
347 card
354 struct card_list *card; local
370 struct card_list *card; local
[all...]
H A Dcras_udev.c38 * o The card number
50 * B: The card.
62 * string. To alleviate possible issudes, the 'C' (card) and 'D'
68 /* Card regex is similar to above, but only has one field -- the card. The
73 * Where 0 is the card number and the only thing we care about in
77 static const char card_regex_string[] = "^.*/card([0-9]+)";
155 syslog(LOG_INFO, "%s: init card '%u' to factory default",
164 "%s: failed to init card '%d' "
278 syslog(LOG_ERR, "USB card: vendor:%04x, product:%04x, serial num:%s, "
286 unsigned card,
284 device_add_alsa(struct udev_device *dev, const char *sysname, unsigned card, unsigned internal) argument
304 device_remove_alsa(const char *sysname, unsigned card) argument
[all...]
/external/libdrm/tests/planetest/
H A Ddev.h60 void parse_arguments(int argc, char *argv[], int *card, int *crtc);
62 struct sp_dev *create_sp_dev(int card);
H A Dplanetest.c43 int card = 0, crtc = 0; local
47 parse_arguments(argc, argv, &card, &crtc);
49 dev = create_sp_dev(card);
H A Datomictest.c55 int card = 0, crtc = 0; local
59 parse_arguments(argc, argv, &card, &crtc);
61 dev = create_sp_dev(card);
H A Ddev.c21 printf(" -c, --card Index of dri card (ie: /dev/dri/cardN)\n");
26 void parse_arguments(int argc, char *argv[], int *card, int *crtc) argument
29 { "card", required_argument, NULL, 'c' },
36 *card = -1;
49 printf("Invalid card value '%s'!\n", optarg);
53 *card = optarg[0] - '0';
66 if (*card < 0 || *crtc < 0) {
106 struct sp_dev *create_sp_dev(int card) argument
114 snprintf(card_path, sizeof(card_path), "/dev/dri/card
[all...]
/external/python/cpython2/Demo/threads/
H A Dsquasher.py51 card = co.tran(cogetline)
52 for i in range(len(card)):
53 co.tran(cosquasher, card[i])
/external/tinyalsa/
H A Dtinyhostless.c47 int play_sample(unsigned int card, unsigned int p_device,
62 unsigned int card = 0; local
74 fprintf(stderr, "Usage: %s [-D card] [-P playback device]"
126 card = atoi(*argv);
147 return play_sample(card, p_device, c_device, num_channels, sample_rate,
176 static int check_params(unsigned int card, unsigned int device, unsigned int direction, argument
183 params = pcm_params_get(card, device, direction);
216 int play_sample(unsigned int card, unsigned int p_device, argument
247 if (!check_params(card, p_device, PCM_OUT, &config))
249 pcm_play = pcm_open(card, p_devic
[all...]
H A Dtinypcminfo.c103 unsigned int card = 0; local
107 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]);
117 card = atoi(*argv);
128 printf("Info for card %u, device %u:\n", card, device);
138 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN);
H A Dtinyplay.c63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
81 unsigned int card = 0; local
88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]"
149 card = atoi(*argv);
155 play_sample(file, card, device, chunk_fmt.num_channels, chunk_fmt.sample_rate,
187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, argument
194 params = pcm_params_get(card, device, PCM_OUT);
211 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, argument
236 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) {
240 pcm = pcm_open(card, devic
[all...]
H A Dtinycap.c62 unsigned int capture_sample(FILE *file, unsigned int card, unsigned int device,
76 unsigned int card = 0; local
88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device]"
122 card = atoi(*argv);
177 frames = capture_sample(file, card, device, header.num_channels,
193 unsigned int capture_sample(FILE *file, unsigned int card, unsigned int device, argument
217 pcm = pcm_open(card, device, PCM_IN, &config);
H A Dtinymix.c64 " --device|-D <card#> - use the given card # instead of 0.\n"
74 int card = 0; local
88 card = atoi(optarg);
108 mixer = mixer_open(card);
/external/tinycompress/
H A Dcplay.c91 void play_samples(char *name, unsigned int card, unsigned int device,
129 int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec) argument
131 if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) {
157 unsigned int card = 0, device = 0, frag = 0; local
176 card = strtol(optarg, NULL, 10);
193 play_samples(file, card, device, buffer_size, frag);
199 void play_samples(char *name, unsigned int card, unsigned int device, argument
251 compress = compress_open(card, device, COMPRESS_IN, &config);
254 card, device);
284 name, card, devic
[all...]
/external/tinycompress/include/tinycompress/
H A Dtinycompress.h92 * @card: sound card number
97 struct compress *compress_open(unsigned int card, unsigned int device,
242 * @card: sound card number
247 bool is_codec_supported(unsigned int card, unsigned int device,
/external/doclava/res/assets/templates-sdk/assets/css/
H A Ddefault.css4761 .tab-carousel .resource-card-18x12 {
4769 .tab-carousel .resource-card-18x12 .image {
4777 .tab-carousel .resource-card-18x12 .info {
4781 .tab-carousel .resource-card-18x12 .info .title {
4791 .home-new-carousel-1 .resource-card-18x6 .cta {
4806 .home-new-carousel-1 .resource-card-18x6 .cta:after {
4811 .home-new-carousel-1 .resource-card-18x6 .cta:hover {
4816 .home-new-carousel-1 .resource-card-18x6 .cta {
4842 Styling for special top card of full screen layout resource layout.
4843 We need to specifically style the 18x6 card t
[all...]
/external/libese/libese-teq1/include/ese/
H A Dteq1.h125 int card:1; member in struct:Teq1CardState::__anon11389::__anon11390
134 (CARD)->seq.card = 1; \
/external/proguard/src/proguard/gui/
H A DTabbedPane.java221 Component card = cardPanel.getComponent(index);
222 if (card.isShowing())
/external/autotest/frontend/client/src/autotest/moblab/wizard/
H A DConfigEditMode.java23 * Each step show a validation status, a title for current card, a wizard
24 * card widget, and a set of navigation buttons are displayed.
38 // Constants for invalid card index.
49 // Wizard card widget container.
60 // The current card index.
72 lblValidationStatus.setStyleName("card-edit-status");
75 // card title
77 lblCardTitle.setStyleName("card-edit-title");
80 // card content
156 // Update card titl
[all...]
/external/kernel-headers/original/uapi/sound/
H A Dfirewire.h81 unsigned int card; /* same as fw_cdev_get_info.card */ member in struct:snd_firewire_get_info
/external/libpcap/msdos/
H A Dndis2.c673 static int CheckMacFeatures (CardHandle *card) argument
679 DEBUG2 ("checking card features\n"
681 card->common, card->common->moduleId);
688 card->moduleName);
721 static int NdisStartMac (CardHandle *card) argument
730 card->common->moduleDS);
742 * must specify all three flags or the card(s) will not operate correctly.
749 card->common->moduleDS);
762 card
[all...]
/external/ltp/testcases/kernel/device-drivers/v4l/kernel_space/
H A Dvideo_dummy.c35 strcpy(cap->card, "dummy");
/external/tinyalsa/include/tinyalsa/
H A Dasoundlib.h157 struct pcm *pcm_open(unsigned int card, unsigned int device,
163 struct pcm_params *pcm_params_get(unsigned int card, unsigned int device,
276 struct mixer *mixer_open(unsigned int card);

Completed in 772 milliseconds

123