Home
last modified time | relevance | path

Searched refs:binstr (Results 1 – 25 of 268) sorted by relevance

1234567891011

/dports/security/oath-toolkit/oath-toolkit-2.6.2/liboath/
H A Dcoding.c102 oath_hex2bin (const char *hexstr, char *binstr, size_t * binlen) in oath_hex2bin() argument
117 if (binstr && save_binlen > 0) in oath_hex2bin()
120 *binstr = (*binstr & 0x0F) | (val << 4); in oath_hex2bin()
122 *binstr = (*binstr & 0xF0) | val; in oath_hex2bin()
128 binstr++, (*binlen)++; in oath_hex2bin()
160 oath_bin2hex (const char *binstr, size_t binlen, char *hexstr) in oath_bin2hex() argument
166 *hexstr++ = trans[(*binstr >> 4) & 0xf]; in oath_bin2hex()
167 *hexstr++ = trans[*binstr++ & 0xf]; in oath_bin2hex()
/dports/devel/icestorm/icestorm-710470f9/icepll/
H A Dicepll.cc28 const char *binstr(int v, int n) in binstr() function
230 printf("DIVR: %2d (4'b%s)\n", best_divr, binstr(best_divr, 4)); in main()
231 printf("DIVF: %2d (7'b%s)\n", best_divf, binstr(best_divf, 7)); in main()
232 printf("DIVQ: %2d (3'b%s)\n", best_divq, binstr(best_divq, 3)); in main()
236 printf("FILTER_RANGE: %d (3'b%s)\n", filter_range, binstr(filter_range, 3)); in main()
281 fprintf(f, "\t\t.DIVR(4'b%s),\t\t" "// DIVR = %2d\n", binstr(best_divr, 4), best_divr); in main()
282 fprintf(f, "\t\t.DIVF(7'b%s),\t" "// DIVF = %2d\n", binstr(best_divf, 7), best_divf); in main()
283 fprintf(f, "\t\t.DIVQ(3'b%s),\t\t" "// DIVQ = %2d\n", binstr(best_divq, 3), best_divq); in main()
316 fprintf(f, ".DIVR(4'b%s),\t\t" "// DIVR = %2d\n", binstr(best_divr, 4), best_divr); in main()
317 fprintf(f, ".DIVF(7'b%s),\t" "// DIVF = %2d\n", binstr(best_divf, 7), best_divf); in main()
[all …]
/dports/devel/erlang-gen_smtp/gen_smtp-0.13/src/
H A Dmimemail.erl119 EncodedBody = binstr:join(
175 Type = binstr:to_lower(binstr:substr(Value, TypeStart+1, 1)),
297 binstr:to_lower(Header) =:= binstr:to_lower(Needle)
360 {binstr:to_lower(Type), binstr:to_lower(SubType), Parameters}
375 Y = binstr:strip(binstr:strip(X), both, $\t),
406 TrimmedBody = binstr:substr(Body, binstr:strpos(Body, "\r\n") + 2),
457 FValue = binstr:strip(binstr:substr(Line, Index+1)),
606 case binstr:strpos(binstr:to_lower(References), binstr:to_lower(ReplyID)) of
1041 {binstr:strip(binstr:to_lower(Name)), Hdr}
1053 LowStripName = binstr:to_lower(binstr:strip(Name)),
[all …]
H A Dgen_smtp_server_session.erl271 …Request = binstr:strip(binstr:strip(binstr:strip(binstr:strip(Packet, right, $\n), right, $\r), ri…
275 case binstr:to_upper(Request) of
283 Parameters = binstr:strip(binstr:substr(Request, Index + 1), left, $\s),
348 case binstr:strchr(Args, $\s) of
354 Parameters = binstr:strip(binstr:substr(Args, Index + 1), left, $\s)
444 case binstr:strpos(binstr:to_upper(Args), "FROM:") of
446 Address = binstr:strip(binstr:substr(Args, 6), left, $\s),
463 Options = [binstr:to_upper(X) || X <- binstr:split(ExtraInfo, <<" ">>)],
523 case binstr:strpos(binstr:to_upper(Args), "TO:") of
525 Address = binstr:strip(binstr:substr(Args, 4), left, $\s),
[all …]
/dports/security/py-m2crypto/M2Crypto-0.38.0/src/M2Crypto/SSL/
H A Dtimeout.py26 binstr = struct.pack('l', millisec)
28 binstr = struct.pack('ll', self.sec, self.microsec)
29 return binstr
32 def struct_to_timeout(binstr): argument
35 millisec = struct.unpack('l', binstr)[0]
41 (sec, microsec) = struct.unpack('ll', binstr)
/dports/editors/fpc-ide/fpc-3.2.2/compiler/systems/
H A Dt_aix.pas244 binstr,
264 SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
266 Replace(binstr,'$LDBIN','gld')
268 Replace(binstr,'$LDBIN','ld');
269 binstr:=FindUtil(utilsprefix+BinStr);
337 binstr,
358 SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
360 Replace(binstr,'$LDBIN','gld')
362 Replace(binstr,'$LDBIN','ld');
363 binstr:=FindUtil(utilsprefix+BinStr);
[all …]
H A Dt_palmos.pas178 binstr,
199 SplitBinCmd(Info.ExeCmd[i],binstr,cmdstr);
200 binstr:=FindUtil(utilsprefix+BinStr);
201 if binstr<>'' then
211 success:=DoExec(binstr,cmdstr,(i=1),false);
H A Dt_android.pas384 binstr, cmdstr: TCmdStr;
432 SplitBinCmd(s, binstr, cmdstr);
439 binstr:=FindUtil(utilsprefix+BinStr);
441 if binstr <> '' then begin
443 s:=ChangeFileExt(binstr, '.bfd' + source_info.exeext);
445 binstr:=s;
448 success:=DoExec(binstr,CmdStr,true,false);
455 SplitBinCmd(Info.ExtDbgCmd[i],binstr,cmdstr);
/dports/lang/fpc/fpc-3.2.2/compiler/systems/
H A Dt_aix.pas244 binstr,
264 SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
266 Replace(binstr,'$LDBIN','gld')
268 Replace(binstr,'$LDBIN','ld');
269 binstr:=FindUtil(utilsprefix+BinStr);
337 binstr,
358 SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
360 Replace(binstr,'$LDBIN','gld')
362 Replace(binstr,'$LDBIN','ld');
363 binstr:=FindUtil(utilsprefix+BinStr);
[all …]
H A Dt_palmos.pas178 binstr,
199 SplitBinCmd(Info.ExeCmd[i],binstr,cmdstr);
200 binstr:=FindUtil(utilsprefix+BinStr);
201 if binstr<>'' then
211 success:=DoExec(binstr,cmdstr,(i=1),false);
H A Dt_android.pas384 binstr, cmdstr: TCmdStr;
432 SplitBinCmd(s, binstr, cmdstr);
439 binstr:=FindUtil(utilsprefix+BinStr);
441 if binstr <> '' then begin
443 s:=ChangeFileExt(binstr, '.bfd' + source_info.exeext);
445 binstr:=s;
448 success:=DoExec(binstr,CmdStr,true,false);
455 SplitBinCmd(Info.ExtDbgCmd[i],binstr,cmdstr);
/dports/lang/fpc-source/fpc-3.2.2/compiler/systems/
H A Dt_aix.pas244 binstr,
264 SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
266 Replace(binstr,'$LDBIN','gld')
268 Replace(binstr,'$LDBIN','ld');
269 binstr:=FindUtil(utilsprefix+BinStr);
337 binstr,
358 SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
360 Replace(binstr,'$LDBIN','gld')
362 Replace(binstr,'$LDBIN','ld');
363 binstr:=FindUtil(utilsprefix+BinStr);
[all …]
H A Dt_palmos.pas178 binstr,
199 SplitBinCmd(Info.ExeCmd[i],binstr,cmdstr);
200 binstr:=FindUtil(utilsprefix+BinStr);
201 if binstr<>'' then
211 success:=DoExec(binstr,cmdstr,(i=1),false);
H A Dt_android.pas384 binstr, cmdstr: TCmdStr;
432 SplitBinCmd(s, binstr, cmdstr);
439 binstr:=FindUtil(utilsprefix+BinStr);
441 if binstr <> '' then begin
443 s:=ChangeFileExt(binstr, '.bfd' + source_info.exeext);
445 binstr:=s;
448 success:=DoExec(binstr,CmdStr,true,false);
455 SplitBinCmd(Info.ExtDbgCmd[i],binstr,cmdstr);
/dports/net-im/tkabber/tkabber-1.1.2/plugins/general/
H A Dcaps.tcl82 set binstr [join [concat [lsort -ascii $binidentities] \
86 debugmsg caps "$binstr"
88 if {[string equal $binstr ""]} {
92 append binstr "<"
96 if {[catch {::md5::md5 -hex $binstr} hex]} {
98 set hex [::md5::md5 $binstr]
103 set binhash [binary format H40 [::sha1::sha1 $binstr]]
/dports/databases/p5-DBIx-Class/DBIx-Class-0.082842/t/
H A D746sybase.t364 $binstr{'large'} = $binstr{'small'} x 1024;
366 my $maxloblen = length $binstr{'large'};
407 my $new_str = $binstr{large} . 'mtfnpy';
425 $new_str = $binstr{large} . 'hlagh';
432 $new_str = $binstr{large} . 'foo';
443 $new_str = $binstr{large} . 'bar';
447 blob => $binstr{large},
451 blob => $binstr{large},
470 $new_str = $binstr{large} . 'bar';
476 blob => $binstr{large},
[all …]
H A D747mssql_ado.t24 my %binstr = ( 'small' => join('', map { chr($_) } ( 1 .. 127 )) );
25 $binstr{'large'} = $binstr{'small'} x 1024;
27 my $maxloblen = length $binstr{'large'};
228 my $str = $binstr{$size};
280 diag 'Expected Size: ', length($binstr{$size});
282 substr($hexdump->($binstr{$size}), 0, 255),
283 "...", substr($hexdump->($binstr{$size}),-255);
289 $rs->search({ id => 0 })->update({ blob => $binstr{small} });
290 } 'updated IMAGE to small binstr without dying';
293 $rs->search({ id => 0 })->update({ blob => $binstr{large} });
[all …]
H A D751msaccess.t54 my %binstr = ( 'small' => join('', map { chr($_) } ( 1 .. 127 )) );
55 $binstr{'large'} = $binstr{'small'} x 1024;
57 my $maxloblen = length $binstr{'large'};
312 ok($from_db eq $binstr{$size}, "verified inserted $size $type" )
320 diag 'Expected Size: ', length($binstr{$size});
322 substr($hexdump->($binstr{$size}), 0, 255),
323 "...", substr($hexdump->($binstr{$size}),-255);
330 $rs->search({ id => 0 })->update({ blob => $binstr{small} });
331 } 'updated IMAGE to small binstr without dying';
334 $rs->search({ id => 0 })->update({ blob => $binstr{large} });
[all …]
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/embed/
H A Dembedding_generator.py186 binstr = fin.read()[headsize:]
189 compile(binstr, fin.name, "exec")
203 marshal.loads(binstr)
219 for i in range(0, len(binstr), 16):
220 for c in bytes(binstr[i : i + 16]):
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/embed/
H A Dembedding_generator.py186 binstr = fin.read()[headsize:]
189 compile(binstr, fin.name, "exec")
203 marshal.loads(binstr)
219 for i in range(0, len(binstr), 16):
220 for c in bytes(binstr[i : i + 16]):
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/embed/
H A Dembedding_generator.py186 binstr = fin.read()[headsize:]
189 compile(binstr, fin.name, "exec")
203 marshal.loads(binstr)
219 for i in range(0, len(binstr), 16):
220 for c in bytes(binstr[i : i + 16]):
/dports/editors/lazarus/lazarus/components/wiki/lazwiki/
H A Dwikiformat.pas553 …n('UTF8ToWikiFileCode sequence 6bitA Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
560 …n('UTF8ToWikiFileCode sequence 6bitB Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
567 …n('UTF8ToWikiFileCode sequence <6bit Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
575 …n('UTF8ToWikiFileCode sequence Paddi Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
634 writeln('WikiFileCodeToUTF8 SrcBits=',binstr(SrcBits,6));
640 … writeln('WikiFileCodeToUTF8 new byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
645 writeln('WikiFileCodeToUTF8 byte complete BufBits=',binstr(BufBits,8),' BufBitLen=',8);
651 … writeln('WikiFileCodeToUTF8 rest byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
658 writeln('WikiFileCodeToUTF8 D BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/wiki/lazwiki/
H A Dwikiformat.pas551 …n('UTF8ToWikiFileCode sequence 6bitA Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
558 …n('UTF8ToWikiFileCode sequence 6bitB Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
565 …n('UTF8ToWikiFileCode sequence <6bit Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
573 …n('UTF8ToWikiFileCode sequence Paddi Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
632 writeln('WikiFileCodeToUTF8 SrcBits=',binstr(SrcBits,6));
638 … writeln('WikiFileCodeToUTF8 new byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
643 writeln('WikiFileCodeToUTF8 byte complete BufBits=',binstr(BufBits,8),' BufBitLen=',8);
649 … writeln('WikiFileCodeToUTF8 rest byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
656 writeln('WikiFileCodeToUTF8 D BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
/dports/editors/lazarus-qt5/lazarus/components/wiki/lazwiki/
H A Dwikiformat.pas553 …n('UTF8ToWikiFileCode sequence 6bitA Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
560 …n('UTF8ToWikiFileCode sequence 6bitB Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
567 …n('UTF8ToWikiFileCode sequence <6bit Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
575 …n('UTF8ToWikiFileCode sequence Paddi Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
634 writeln('WikiFileCodeToUTF8 SrcBits=',binstr(SrcBits,6));
640 … writeln('WikiFileCodeToUTF8 new byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
645 writeln('WikiFileCodeToUTF8 byte complete BufBits=',binstr(BufBits,8),' BufBitLen=',8);
651 … writeln('WikiFileCodeToUTF8 rest byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
658 writeln('WikiFileCodeToUTF8 D BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/wiki/lazwiki/
H A Dwikiformat.pas551 …n('UTF8ToWikiFileCode sequence 6bitA Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
558 …n('UTF8ToWikiFileCode sequence 6bitB Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
565 …n('UTF8ToWikiFileCode sequence <6bit Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
573 …n('UTF8ToWikiFileCode sequence Paddi Byte=',i,' SrcBits=',binstr(SrcBits,8),' BufBits=',binstr(Buf…
632 writeln('WikiFileCodeToUTF8 SrcBits=',binstr(SrcBits,6));
638 … writeln('WikiFileCodeToUTF8 new byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
643 writeln('WikiFileCodeToUTF8 byte complete BufBits=',binstr(BufBits,8),' BufBitLen=',8);
649 … writeln('WikiFileCodeToUTF8 rest byte BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);
656 writeln('WikiFileCodeToUTF8 D BufBits=',binstr(BufBits,8),' BufBitLen=',BufBitLen);

1234567891011