Searched refs:loc (Results 1 - 25 of 45) sorted by relevance

12

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v1.c119 int i, loc; local
203 for (i = 0, loc = AR_EEPROM_ATHEROS_TP_SETTINGS; i < AR_CHANNELS_MAX; i++, loc += AR_TP_SETTINGS_SIZE) {
207 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F;
208 chan->gainF[0] = (athvals[loc] >> 4) & 0x3F;
209 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C)
210 | ((athvals[loc+1] >> 14) & 0x03);
211 chan->gainF[1] = (athvals[loc+1] >> 8) & 0x3F;
212 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F;
213 chan->gainF[2] = ((athvals[loc
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dvcache.h19 status_t add_to_vcache(nspace *vol, ino_t vnid, ino_t loc);
21 status_t vcache_vnid_to_loc(nspace *vol, ino_t vnid, ino_t *loc);
22 status_t vcache_loc_to_vnid(nspace *vol, ino_t loc, ino_t *vnid);
24 status_t vcache_set_entry(nspace *vol, ino_t vnid, ino_t loc);
27 #define find_loc_in_vcache(vol,loc) vcache_loc_to_vnid(vol,loc,NULL)
H A Dvcache.cpp67 ino_t loc; /* where the file is now */ member in struct:vcache_entry
79 "vnid loc\n", vol->vcache.cache_size, vol->vcache.cur_vnid);
82 kprintf("%16" B_PRIdINO " %16" B_PRIdINO "\n", c->vnid, c->loc);
167 _add_to_vcache_(nspace *vol, ino_t vnid, ino_t loc) argument
169 int hash1 = hash(vnid), hash2 = hash(loc);
172 DPRINTF(0, ("add_to_vcache %" B_PRIdINO "/%" B_PRIdINO "\n", vnid, loc));
174 ASSERT(vnid != loc);
180 e->vnid = vnid; e->loc = loc; e->next_vnid = NULL; e->next_loc = NULL;
186 ASSERT(vnid != c->vnid); ASSERT(loc !
286 _find_loc_in_vcache_(nspace *vol, ino_t loc) argument
304 add_to_vcache(nspace *vol, ino_t vnid, ino_t loc) argument
319 _update_loc_in_vcache_(nspace *vol, ino_t vnid, ino_t loc) argument
346 vcache_vnid_to_loc(nspace *vol, ino_t vnid, ino_t *loc) argument
364 vcache_loc_to_vnid(nspace *vol, ino_t loc, ino_t *vnid) argument
382 vcache_set_entry(nspace *vol, ino_t vnid, ino_t loc) argument
464 ino_t loc = strtoull(argv[i], NULL, 0); local
[all...]
H A Ddlist.cpp147 ino_t loc; local
149 if (vcache_vnid_to_loc(vol, vol->dlist.vnid_list[i], &loc) < B_OK)
150 loc = vol->dlist.vnid_list[i];
151 ASSERT(IS_DIR_CLUSTER_VNID(loc));
152 if (CLUSTER_OF_DIR_CLUSTER_VNID(loc) == cluster)
H A Ddir.cpp218 ino_t loc = (IS_DATA_CLUSTER(info.cluster)) local
223 /* if it matches a loc in the lookup table, we are done. */
224 result = vcache_loc_to_vnid(vol, loc, vnid);
227 if (find_vnid_in_vcache(vol, loc) == B_OK) {
232 if ((result = add_to_vcache(vol, *vnid, loc)) < 0)
237 *vnid = loc;
917 ino_t loc, dir_vnid; local
938 if (vcache_vnid_to_loc(vol, vnid, &loc) != B_OK)
939 loc = vnid;
941 if (IS_ARTIFICIAL_VNID(loc) || IS_INVALID_VNI
[all...]
/haiku/src/tests/kits/locale/
H A DICUTest.cpp20 void TestLocale(const Locale& loc) argument
23 assert(!loc.isBogus());
26 "Country: %s\nName: %s\nBaseName: %s\n", loc.getLanguage(),
27 loc.getScript(), loc.getVariant(),
28 loc.getCountry(), loc.getName(),
29 loc.getBaseName());
33 StringEnumeration* keywords = loc.createKeywords(err);
44 loc
[all...]
/haiku/src/apps/processcontroller/
H A DIconMenuItem.cpp57 BPoint loc = ContentLocation(); local
58 loc.x += ceilf(be_control_look->DefaultLabelSpacing() * 3.3f);
59 Menu()->MovePenTo(loc);
79 BPoint loc = ContentLocation();
82 loc.y = frame.top + (frame.bottom - frame.top - fIcon->Bounds().Height()) / 2;
92 menu->DrawBitmap(fIcon, loc);
H A DKernelMemoryBarMenuItem.cpp143 BPoint loc(cadre.left, cadre.bottom + 1);
144 loc.x -= kMargin + gMemoryTextWidth / 2 + menu->StringWidth(infos);
145 menu->DrawString(infos, loc);
147 loc.x = cadre.left - kMargin - menu->StringWidth(infos);
148 menu->DrawString(infos, loc);
H A DMemoryBarMenuItem.cpp57 BPoint loc = ContentLocation(); local
58 loc.x += ceilf(be_control_look->DefaultLabelSpacing() * 3.3f);
59 Menu()->MovePenTo(loc);
181 BPoint loc(rect.left - kMargin - gMemoryTextWidth / 2 - menu->StringWidth(infos),
183 menu->DrawString(infos, loc);
186 loc.x = rect.left - kMargin - menu->StringWidth(infos);
187 menu->DrawString(infos, loc);
H A DTeamBarMenuItem.cpp61 BPoint loc; local
69 loc = ContentLocation();
70 loc.x += ceilf(be_control_look->DefaultLabelSpacing() * 3.3f);
71 Menu()->MovePenTo(loc);
/haiku/src/system/libroot/posix/musl/time/
H A Dtime_impl.h12 hidden size_t __strftime_l(char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t loc);
H A Dwcsftime.c8 size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc) argument
39 t_mb = __strftime_fmt_1(&buf, &k, *f, tm, loc, pad);
H A Dstrftime.c47 const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc, int pad) argument
205 fmt = __nl_langinfo_l(item, loc);
210 fmt = __nl_langinfo_l(item, loc);
212 *l = __strftime_l(*s, sizeof *s, fmt, tm, loc);
217 size_t __strftime_l(char *restrict s, size_t n, const char *restrict f, const struct tm *restrict tm, locale_t loc) argument
246 t = __strftime_fmt_1(&buf, &k, *f, tm, loc, pad);
/haiku/headers/private/interface/
H A DTextViewSupportBuffer.h77 T* loc = fBuffer + inAtIndex; local
78 memmove((void*)(loc + inNumItems), (void*)loc,
80 memcpy((void*)loc, (void*)inItem, delta);
97 T* loc = fBuffer + inAtIndex; local
98 memmove(loc, loc + inNumItems,
/haiku/src/tests/system/libroot/posix/
H A Dtst-swscanf.c6 static int do_test(const char *loc);
42 do_test(const char *loc) argument
47 if (setlocale(LC_ALL, loc) == NULL) {
48 printf("cannot set locale \"%s\": %m\n", loc);
52 printf("\nnew locale: \"%s\"\n", loc);
58 if (tests[n].only_C_locale && strcmp(loc, "C") != 0)
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.c207 * @loc: append the new runlist @src after this element in @dst
209 * Append the runlist @src after element @loc in @dst. Merge the right end of
222 runlist_element *src, int ssize, int loc)
235 if ((loc + 1) < dsize)
236 right = ntfs_rl_are_mergeable(src + ssize - 1, dst + loc + 1);
249 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1);
252 marker = loc + ssize + 1;
255 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - loc - 1 - right);
256 ntfs_rl_mc(dst, loc
221 ntfs_rl_append(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) argument
288 ntfs_rl_insert(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) argument
384 ntfs_rl_replace(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) argument
472 ntfs_rl_split(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) argument
[all...]
/haiku/headers/os/drivers/pcmcia/
H A Ddriver_ops.h62 dev_node_t *(*attach) (dev_locator_t *loc);
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dmonetary.h48 __locale_t loc,
H A Dstrtol.c158 # define LOCALE_PARAM , loc
159 # define LOCALE_PARAM_DECL __locale_t loc;
175 # define ISSPACE(Ch) __iswspace_l ((Ch), loc)
176 # define ISALPHA(Ch) __iswalpha_l ((Ch), loc)
177 # define TOUPPER(Ch) __towupper_l ((Ch), loc)
193 # define ISSPACE(Ch) __isspace_l ((Ch), loc)
194 # define ISALPHA(Ch) __isalpha_l ((Ch), loc)
195 # define TOUPPER(Ch) __toupper_l ((Ch), loc)
247 struct locale_data *current = loc->__locales[LC_NUMERIC];
/haiku/headers/private/fs_shell/
H A Dfssh_dirent.h39 void fssh_seekdir(fssh_DIR *dir, long int loc);
/haiku/src/apps/deskbar/
H A DBarMenuBar.cpp284 BPoint loc; local
286 GetMouse(&loc, &buttons);
290 MouseDown(loc);
319 BPoint loc; local
321 GetMouse(&loc, &buttons);
325 if (fDeskbarMenuItem->Frame().Contains(loc) || both)
328 if (fAppListMenuItem && (fAppListMenuItem->Frame().Contains(loc) || both))
H A DStatusView.cpp1168 BPoint loc = LocationForReplicant(ReplicantCount(), local
1170 message->AddPoint("_pjp_loc", loc);
1184 BPoint loc(fTrayPadding, 0);
1187 loc.x += gDragWidth; // move past dragger on left
1189 loc.y = floorf((fBarView->TabHeight() - fMaxReplicantHeight) / 2) - 1;
1191 loc.x -= 2; // keeps everything lined up nicely
1198 loc.y = yOffset;
1201 loc.y = (fBarView->TeamMenuItemHeight() + 1)
1208 loc.y + floorf((fMaxReplicantHeight - fTime->fHeight) / 2));
1212 for (int32 row = 0; ; loc
1318 BPoint loc = LocationForReplicant(index, replicantWidth); local
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dufs2.h600 #define blkmap(fs, map, loc) \
601 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag)))
608 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \
609 ((loc) & (fs)->fs_qbmask)
610 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \
611 ((loc) & (fs)->fs_qfmask)
619 #define lblkno(fs, loc) /* calculate
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_api.c713 int loc = 0; local
726 loc += 2;
728 out_storage[loc++] = (u_char) key->dk_proto;
729 out_storage[loc++] = (u_char) key->dk_alg;
733 dst_s_put_int16(&out_storage[loc], val);
734 loc += 2;
737 return (loc);
740 (u_char *) &out_storage[loc],
741 out_len - loc);
743 return (enc_len + loc);
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistListView.h69 uint32 _ShowDropContextMenu(BPoint loc);

Completed in 143 milliseconds

12